Advertisement
cooper549

step-2.asp

Mar 21st, 2013
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 7.91 KB | None | 0 0
  1. <%@LANGUAGE="VBSCRIPT"%>
  2. <!--#include file="form-functions.asp" -->
  3. <%
  4. ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  5.  
  6.     FormAction = "step-3.asp"
  7.  
  8.     FormButton1 = "Back"
  9.     FormButton2 = "Next"
  10.  
  11.     StepNum = "2"  
  12.  
  13. ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  14. ' PROCESS
  15.  
  16.     %>
  17.     <!--#include file="process-1.asp" -->
  18.     <%
  19.  
  20. ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  21. ' USER DETAILS
  22.  
  23.     SQL = "SELECT * FROM teachapp2 WHERE UsersRef = '" & UsersRef & "'"
  24.     Set RS = Conn.execute(SQL)
  25.    
  26.     if RS.EOF then
  27.         Response.Redirect("default.asp")
  28.     else
  29.    
  30.             UserExists = True
  31.     end if
  32.  
  33. ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  34. %>
  35. <!--#include file="form-header.asp" -->
  36.  
  37. <div class="FormHeader"><strong>EDUCATION AND QUALIFICATIONS</strong></div>
  38.  
  39.  
  40. <p class="BodyText">Successful applicants will be required to provide original documentary evidence of all qualifications stated below</p>
  41. <table width="1150" border="0" align="center" cellpadding="5" cellspacing="2" bgcolor="#CCCCCC">
  42.   <tr bgcolor="#F4F4F4">
  43.     <td class="style1"><strong>Schools/Colleges/Universities and Professional Education</strong><br /><small></small></td>
  44.     <td width="220"><strong>Qualifications obtained</strong><br /><small></small></td>
  45. </table>
  46. <table width="1150" border="0" align="center" cellpadding="5" cellspacing="2" bgcolor="#CCCCCC">
  47.  
  48.   <tr bgcolor="#F4F4F4">
  49.     <td width="220"><strong>Schools/Colleges/Universities and Professional Education</strong><br /><small></small></td>
  50.     <td width="110"><strong>Start Date</strong><br /><small>DD-MM-YYYY</small></td>
  51.     <td width="110"><strong>End Date</strong><br /><small>DD-MM-YYYY</small></td>
  52.     <td width="220"><strong>Subject</strong><br /></td>
  53.     <td width="120"><strong>Grade</strong></td>
  54.     <td width="120"><strong>Date Obtained</strong><br /><small>DD-MM-YYYY</small></td>
  55.   </tr>
  56.   <%for r = 1 to 20
  57.   SQL = "SELECT * FROM teachapp3 WHERE UsersRef = '" & UsersRef & "'"
  58.  
  59.   qualtype = ""
  60.   qualstart = ""
  61.   qualend1 = ""
  62.   qualsubject1 = ""
  63.   qualgrade1 = ""
  64.  qualobtained1 = ""
  65.  
  66.   qualtype = RS("sTWOqualtype" & r & "")
  67.   qualstart = RS("sTWOqualstart" & r & "")
  68.   qualend = RS("sTWOqualend" & r & "")
  69.   qualsubject = RS("sTWOqualsubject" & r & "")
  70.   qualgrade = RS("sTWOqualgrade" & r & "")
  71.   qualobtained = RS("sTWOqualobtained" & r & "")
  72.  
  73.   %>
  74.   <tr bgcolor="#F4F4F4">
  75.     <td align="center"><input name="qualtype<%=r%>" type="text" class="FieldLonger" id="qualType"/></td>
  76.     <td align="center"><input name="qualstart<%=r%>" type="text" class="FieldLong" id="qualSubject"/></td>
  77.     <td align="center"><input name="qualend<%=r%>" type="text" class="FieldLong" id="qualGrade"/></td>
  78.     <td align="center"><input name="qualsubject<%=r%>" type="text" class="FieldLonger" id="qualPredicted"/></td>
  79.     <td align="center"><input name="qualgrade<%=r%>" type="text" class="FieldMedium" id="qualgrade"/></td>
  80.     <td align="center"><input name="qualobtained<%=r%>" type="text" class="FieldMedium" id="qualobtained"/></td>
  81.   </tr>
  82.   <%next%>     
  83. </table>
  84. <p class="BodyText">If you require more space to add qualifications, please send an email to <a href="mailto:vacancies@moorpark.lancs.sch.uk">vacancies@moorpark.lancs.sch.uk</a> stating your unique reference number: <%=UsersRef%> and name in the subject line</p>
  85. <p class="BodyText"><strong>In-service education in the last five years appropriate to your application</strong></p>
  86. <table width="1150" border="0" align="center" cellpadding="5" cellspacing="2" bgcolor="#CCCCCC">
  87.   <tr bgcolor="#F4F4F4">
  88.     <td width="100"><strong>Date Of Course From</strong><br /><small>DD-MM-YYYY</small></td>
  89.     <td width="100"><strong>Date Of Course To</strong><br /><small>DD-MM-YYYY</small></td>
  90.     <td width="100"><strong>Length Of Course</strong><br /><small></small></td>
  91.     <td width="300"><strong>Details Of Course</strong><br /></td>
  92.     <td width="100"><strong>Qualifications Obtained</strong></td>
  93.     <td width="100"><strong>Date Of Award</strong><br /><small>DD-MM-YYYY</small></td>
  94.     <td width="100"><strong>Course Provider</strong><br /><small></small></td>
  95.   </tr>
  96.  
  97.   <%
  98.  
  99.      
  100.   for b = 1 to 10
  101.  
  102.   servicestart = ""
  103.   serviceend = ""
  104.   servicelength = ""
  105.   servicedetails = ""
  106.   servicequal = ""
  107.   serviceaward = ""
  108.   serviceprovider = ""
  109.  
  110.   servicestart      = RS("sTWOservicestart" & b & "")
  111.   serviceend        = RS("sTWOserviceend" & b & "")
  112.   servicelength     = RS("sTWOservicelength" & b & "")
  113.   servicedetails    = RS("sTWOservicedetails" & b & "")
  114.   servicequal       = RS("sTWOservicequal" & b & "")
  115.   serviceaward      = RS("sTWOserviceaward" & b & "")
  116.   serviceprovider   = RS("sTWOserviceprovider" & b & "")
  117.   %>
  118.   <tr bgcolor="#F4F4F4">
  119.     <td align="center"><input name="servicestart<%=b%>" type="text" class="FieldLong" id="servicestart"/></td>
  120.     <td align="center"><input name="serviceend<%=b%>" type="text" class="FieldLong" id="serviceend"/></td>
  121.     <td align="center"><input name="servicelength<%=b%>" type="text" class="FieldLong" id="servicelength"/></td>
  122.     <td align="center"><input name="servicedetails<%=b%>" type="text" class="FieldLonger" id="servicedetails"/></td>
  123.     <td align="center"><input name="servicequal<%=b%>" type="text" class="FieldLong" id="servicequal"/></td>
  124.     <td align="center"><input name="serviceaward<%=b%>" type="text" class="FieldLong" id="serviceaward"/></td>
  125.     <td align="center"><input name="serviceprovider<%=b%>" type="text" class="FieldLong" id="serviceprovider"/></td>
  126.   </tr>
  127.   <%next%>     
  128. </table>
  129. <p class="BodyText">If you require more space to add qualifications, please send an email to <a href="mailto:vacancies@moorpark.lancs.sch.uk">vacancies@moorpark.lancs.sch.uk</a> stating your unique reference number: <%=UsersRef%> and name in the subject line</p>
  130.  
  131. <p class="BodyText"><strong>Details of any other specialised training or qualifications not covered in previous sections</strong></p>
  132.  
  133. <table width="1150" border="0" align="center" cellpadding="5" cellspacing="2" bgcolor="#CCCCCC">
  134.   <tr valign="top" bgcolor="#F4F4F4">
  135.     <td width="630"><strong>Name of course/job training</strong><small></small></td>
  136.     <td width="270"><strong>Date</strong><br /><small>DD-MM-YYYY</small></td>
  137.   </tr>
  138.  
  139.   <%for c = 1 to 8
  140.  
  141.   trainingcourse = ""
  142.   trainingdate = ""
  143.  
  144.   trainingcourse = RS("sTWOtrainingcourse" & c & "")
  145.   trainingdate = RS("sTWOtrainingdate" & c & "")
  146.  
  147.  
  148.   %>
  149.   <tr bgcolor="#F4F4F4">
  150.     <td align="center"><input name="trainingcourse<%=c%>" type="text" class="FieldLonger" id="trainingcourse"/></td>
  151.     <td align="center"><input name="trainingdate<%=c%>" type="text" class="FieldLonger" id="trainingdate"/></td>
  152.   </tr>
  153.   <%next%>     
  154. </table>
  155.  
  156. <br />
  157.  
  158. <table width="1150" border="0" align="center" cellpadding="5" cellspacing="2" bgcolor="#CCCCCC">
  159.   <tr valign="top" bgcolor="#F4F4F4">
  160.     <td width="900"><strong>Membership of professional bodies</strong><small></small></td>
  161.     <td width="900"><strong></strong><small></small></td>
  162.  
  163.   </tr>
  164.   <%for d = 1 to 5
  165.  
  166.   profbodiesl = ""
  167.   profbodiesr = ""
  168.  
  169.   profbodiesl = RS("sTWOprofbodiesl" & d & "")
  170.   profbodiesr = RS("sTWOprofbodiesr" & d & "")
  171.  
  172.   %>
  173.   <tr bgcolor="#F4F4F4">
  174.     <td width="50%" align="center"><input name="profbodiesl<%=d%>" type="text" class="FieldLonger" id="profbodiesl"/></td>
  175.     <td width="50%" align="center"><input name="profbodiesr<%=d%>" type="text" class="FieldLonger" id="profbodiesr"/></td>
  176.  
  177.   </tr>
  178.   <%next%>     
  179. </table>
  180.  
  181.  
  182.  
  183. <!--#include file="form-footer.asp" -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement