rc_bh.asp
上传用户:xxtaishan
上传日期:2022-01-02
资源大小:4063k
文件大小:11k
源码类别:

IP电话/视频会议

开发平台:

ASP/ASPX

  1. <%
  2. if trim(request("zw"))="" and trim(request("job"))="" then
  3. Dim sql
  4. sql=" select * from job order by id desc "
  5. Dim rs
  6. Set rs=Server.CreateObject("ADODB.RecordSet")
  7. rs.open sql,conn,1,1
  8. if rs.eof then
  9. response.write "系统中还没有录入任何信息!"
  10. else
  11. Do while not rs.eof and i<rs.pagesize
  12. %>
  13. <style type="text/css">
  14. <!--
  15. -->
  16. </style>
  17. <link href="css/css.css" rel="stylesheet" type="text/css" />
  18. <table width="500" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#666666" class="style1">
  19.                           <tr>
  20.                             <td width="70" height="28" rowspan="2" bgcolor="#FCFCFC" class="style1"><div align="center"><strong>岗  位:</strong></div></td>
  21.                             <td width="181" bgcolor="#FCFCFC" class="style1"><%=rs("job")%>&nbsp;</td>
  22.                             <td width="78" rowspan="2" bgcolor="#FCFCFC" class="style1"><div align="center"><strong>人  数:</strong></div></td>
  23.                             <td width="171" bgcolor="#FCFCFC" class="style1"><%=rs("num")%>&nbsp;</td>
  24.                           </tr>
  25.                           <tr>
  26.                             <td height="1" background="images/x1.gif" bgcolor="#FCFCFC" class="style1"></td>
  27.                             <td width="171" height="1" background="images/x1.gif" bgcolor="#FCFCFC" class="style1"></td>
  28.                           </tr>
  29.                           <tr>
  30.                             <td height="28" rowspan="2" bgcolor="#FCFCFC" class="style1"><div align="center"><strong>应聘要求:</strong></div></td>
  31.                             <td colspan="3" bgcolor="#FCFCFC" class="style1"><div align="left"><%=rs("recall")%>&nbsp;</div></td>
  32.                           </tr>
  33.                           <tr>
  34.                             <td height="1" colspan="3" background="images/x1.gif" bgcolor="#FCFCFC" class="style1"></td>
  35.                           </tr>
  36.                           <tr>
  37.                             <td height="28" rowspan="2" bgcolor="#FCFCFC" class="style1"><div align="center"><strong>待  遇:</strong></div></td>
  38.                             <td colspan="3" bgcolor="#FCFCFC" class="style1"><div align="left"><%=rs("payment")%>&nbsp;</div></td>
  39.                           </tr>
  40.                           <tr>
  41.                             <td height="1" colspan="3" background="images/x1.gif" bgcolor="#FCFCFC" class="style1"></td>
  42.                           </tr>
  43.                           <tr>
  44.                             <td height="28" rowspan="2" bgcolor="#FCFCFC" class="style1"><div align="center"><strong>报名手续:</strong></div></td>
  45.                             <td colspan="3" bgcolor="#FCFCFC" class="style1"><div align="left"><%=rs("reg")%>&nbsp;</div></td>
  46.                           </tr>
  47.                           <tr>
  48.                             <td height="1" colspan="3" background="images/x1.gif" bgcolor="#FCFCFC" class="style1"></td>
  49.                           </tr>
  50.                           <tr>
  51.                             <td height="28" rowspan="2" bgcolor="#FCFCFC" class="style1"><div align="center"><strong>报名时间:</strong></div></td>
  52.                             <td colspan="3" bgcolor="#FCFCFC" class="style1"><div align="left"><%=rs("regtime")%>&nbsp;</div></td>
  53.                           </tr>
  54.                           <tr>
  55.                             <td height="1" colspan="3" background="images/x1.gif" bgcolor="#FCFCFC" class="style1"></td>
  56.                           </tr>
  57.                           <tr>
  58.                             <td height="28" colspan="4" bgcolor="#FCFCFC" class="style1"><div align="right"><img src="images/xn3.gif" width="34" height="10" /><a href="hr.asp?zw=<%=rs("job")%>" class="main4">我要应聘</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></td>
  59.                           </tr>
  60. </table>
  61. <br />
  62. <br />
  63. <%
  64. rs.MoveNext
  65. i=i+1
  66. Loop
  67. end if
  68. rs.close
  69. set rs=nothing
  70. else
  71. %>
  72. <br />
  73. <script>
  74. function sub_form(the)
  75. {
  76. if(the.name.value=="")
  77. {
  78. alert("请输入姓名!");
  79. the.name.focus();
  80. return false;
  81. }
  82. if(the.xl.value=="")
  83. {
  84. alert("请输入学历!");
  85. the.xl.focus();
  86. return false;
  87. }
  88. if(the.tel.value=="")
  89. {
  90. alert("请输入电话!");
  91. the.tel.focus();
  92. return false;
  93. }
  94. }
  95. </script>
  96. <form action="?job=ok" method="post" name="form1" onSubmit="return sub_form(this);">
  97.   <table width="90%" align="center" cellpadding="0" cellspacing="0" class="style1">
  98.  <tr>
  99.       <td height="25" align="right" class="style1">申请职位: </td>
  100.       <td height="25"><div align="left"><strong> <%=trim(request("zw"))%>
  101.    <input type="hidden" name="job" value="<%=trim(request("zw"))%>">
  102.       <span class="red">*</span> </strong></div></td>
  103.     </tr>
  104.     <tr>
  105.       <td width="23%" height="25" align="right" class="style1"><strong>
  106.         <%
  107. if request("job")<>"" then
  108. response.write request("bysj")
  109. 'response.end
  110. set rs=server.createobject("adodb.recordset")
  111. rs.open "jobs",conn,1,3
  112. rs.addnew
  113. rs("name")=request.form("name")
  114. rs("sex")=request.form("sex")
  115. rs("idc")=request.form("idc")
  116. rs("nation")=request.form("nation")
  117. rs("college")=request.form("college")
  118. rs("xl")=request.form("xl")
  119. rs("zy")=request.form("zy")
  120. rs("bysj")=request.form("bysj")
  121. rs("tel")=request.form("tel")
  122. rs("email")=request.form("email")
  123. rs("city")=request.form("city")
  124. rs("address")=request.form("address")
  125. rs("job")=request.form("job")
  126. rs("gzsj")=request.form("gzsj")
  127. rs("pay")=request.form("pay")
  128. rs("info")=request.form("info")
  129. rs("atime")=now()
  130. rs.update
  131. response.write "<script>alert('应聘信息提交成功!');location.href='?';</script>"
  132. response.end
  133. end if
  134. %>
  135.       </strong>姓 名: </td>
  136.       <td width="77%" height="25"><div align="left">
  137.         <input name="name" type="text" class="gwd_text" id="name" />
  138.       <strong><span class="red">*</span></strong></div></td>
  139.     </tr>
  140.     <tr>
  141.       <td height="12" align="right" class="style1">性 别: </td>
  142.       <td width="77%" height="12"><div align="left">
  143.         <select name="sex" class="gwd_text" id="sex">
  144.           <option value="男" selected="selected">男</option>
  145.           <option value="女">女</option>
  146.         </select>
  147.       </div></td>
  148.     </tr>
  149.     <tr>
  150.       <td height="13" align="right" class="style1">民 族:</td>
  151.       <td width="77%" height="13"><div align="left">
  152.         <input name="nation" type="text" class="gwd_text" id="nation" />
  153.       </div></td>
  154.     </tr>
  155.     <tr>
  156.       <td height="25" align="right" class="style1">身份证号: </td>
  157.       <td width="77%" height="25"><div align="left">
  158.         <input name="idc" type="text" class="gwd_text" id="idc" />
  159.       </div></td>
  160.     </tr>
  161.     <tr>
  162.       <td height="25" align="right" class="style1">婚姻状况: </td>
  163.       <td width="77%" height="25"><div align="left">
  164.         <select name="marry" class="gwd_text" id="marry">
  165.           <option value="已婚">已婚</option>
  166.           <option value="未婚" selected="selected">未婚</option>
  167.         </select>
  168.       </div></td>
  169.     </tr>
  170.     <tr>
  171.       <td height="25" align="right" class="style1">毕业院校: </td>
  172.       <td width="77%" height="25"><div align="left">
  173.         <input name="college" type="text" class="gwd_text" id="college" size="30" />
  174.       </div></td>
  175.     </tr>
  176.     <tr>
  177.       <td width="23%" height="25" align="right" class="style1">最高学历: </td>
  178.       <td width="77%" height="25"><div align="left">
  179.         <input name="xl" type="text" class="gwd_text" id="xl" />
  180.       <strong><span class="red">*</span></strong></div></td>
  181.     </tr>
  182.     <tr>
  183.       <td height="25" align="right" class="style1">专 业: </td>
  184.       <td width="77%" height="25"><div align="left">
  185.         <input name="zy" type="text" class="gwd_text" id="zy" />
  186.       </div></td>
  187.     </tr>
  188.     <tr>
  189.       <td height="25" align="right" class="style1">毕业时间: </td>
  190.       <td width="77%" height="25"><div align="left"><IFRAME frameBorder=0 id=popFrame name=popFrame scrolling=no src="calendar.htm" style="BORDER-BOTTOM: 2px ridge; BORDER-LEFT: 2px ridge; BORDER-RIGHT: 2px ridge; BORDER-TOP: 2px ridge; POSITION: absolute; VISIBILITY: hidden; Z-INDEX: 65535"> 
  191.           </IFRAME> <INPUT id=dc1 name=bysj readOnly size=9 value=<%=date()%>> 
  192.                                 <A onClick="popFrame.fPopCalendar('dc1','dc1',event);"> 
  193.                                 <IMG src="Images/calendar.gif" width="16" height="15" border=0 >
  194.       </div></td>
  195.     </tr>
  196.     <tr>
  197.       <td height="25" align="right" class="style1">电 话: </td>
  198.       <td width="77%" height="25"><div align="left">
  199.         <input name="tel" type="text" class="gwd_text" id="tel" />
  200.       <strong><span class="red">*</span></strong> </div></td>
  201.     </tr>
  202.     <tr>
  203.       <td height="25" align="right" class="style1">E-mail: </td>
  204.       <td width="77%" height="25"><div align="left">
  205.         <input name="email" type="text" class="gwd_text" id="email" />
  206.       </div></td>
  207.     </tr>
  208.     <tr>
  209.       <td height="12" align="right" class="style1">现居城市:</td>
  210.       <td width="77%" height="12"><div align="left">
  211.         <input name="city" type="text" class="gwd_text" id="city" />
  212.       </div></td>
  213.     </tr>
  214.     <tr>
  215.       <td height="6" align="right" class="style1">户口地址:</td>
  216.       <td width="77%" height="6"><div align="left">
  217.         <input name="address" type="text" class="gwd_text" id="address" size="40" />
  218.       </div></td>
  219.     </tr>
  220.     <tr>
  221.       <td height="12" align="right" class="style1">工作时间: </td>
  222.       <td width="77%" height="12"><div align="left">
  223.         <input name="gzsj" type="text" class="gwd_text" id="gzsj" size="40" />
  224.       </div></td>
  225.     </tr>
  226.     <tr>
  227.       <td height="13" align="right" class="style1">期盼月薪:</td>
  228.       <td width="77%" height="13"><div align="left">
  229.         <input name="pay" type="text" class="gwd_text" id="pay" size="40" />
  230.       </div></td>
  231.     </tr>
  232.     <tr>
  233.       <td height="12" align="right" valign="top" class="style1">个人简历:<br />
  234.         (最近工作经历)</td>
  235.       <td width="77%" height="12"><div align="left">
  236.         <textarea name="info" cols="38" rows="10" class="gwd_text" id="textarea"></textarea>
  237.       </div></td>
  238.     </tr>
  239.     <tr align="center" valign="middle">
  240.       <td height="13" colspan="2"><input type="submit" name="Submit" value="提交" />
  241.         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  242.         <input type="reset" name="Submit22" value="重置" />      </td>
  243.     </tr>
  244.     <tr>
  245.       <td valign="top" width="23%"></td>
  246.       <td valign="top" width="77%"></td>
  247.     </tr>
  248.   </table>
  249. </form>
  250. <%end if%>