<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>我要应聘</title>
<LINK href=imagess/shop.css type=text/css rel=stylesheet>
<style type="text/css">
<!--
.style3 {
	color: #000000;
	font-weight: bold;
	font-size: 12px;
}
.gogo {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
}
.style4 {
	color: #FF0000;
	font-weight: bold;
}
.style5 {color: #FF0000}
.style6 {color: #FFFFFF}
.style7 {
	color: #CCCCCC;
	font-weight: bold;
}
-->
</style>
</head>

<body>   <%
      id=request("jobid")
      set rs=server.createobject("adodb.recordset")
			rs.open "select * from job where jobid="&id,conn,1,1
		%><%
  set rs_shjia=server.createobject("adodb.recordset")
rs_shjia.open "select * from shjia where username='"&rs("shjianame")&"'",conn,1,1
%>
<table border="0" width="100%" bgcolor="#F75700" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%" class="style6" align="center" height="26"><font color="#FFFFFF"><b>我&nbsp;                                                              
      要&nbsp; 应&nbsp; 聘</b></font></td>                                                             
  </tr>
  <tr>
    <td width="100%" class="style6" align="center" height="3" bgcolor="#CCCCCC"></td>   
  </tr>
</table>
<form method="POST" name="myform" action="ypjob.asp?action=job" onsubmit="return job()">
 <input type="hidden" name="shjiaid" size="20" value="<%=rs_shjia("shjiaid")%>">
<table border="1" width="100%" bordercolor="#F4F4F4" cellspacing="1" height="259">
  <tr>
    <td width="31%" height="19" align="right"><b>应聘职位：</b></td>
    <td width="69%" height="19">
   
      <input type="text" name="zhiwei" id="zhiwei" size="20" value="<%=rs("zhiwei")%>">
      </td>
  </tr>
  <tr>
    <td width="31%" height="19" align="right"><b>姓名：</b></td>
    <td width="69%" height="19">
      
      <input type="text" name="name" size="20" id="name"></td>
  </tr>
  <tr>
    <td width="31%" height="19" align="right"><b>年龄：</b></td>
    <td width="69%" height="19">
      
      <input type="text" name="age" size="20" id="age"></td>
  </tr>
  <tr>
    <td width="31%" height="17" align="right"><b>性别：</b></td>
    <td width="69%" height="17">
      
      <input type="text" name="sex" size="20" id=sex></td>
  </tr>
  <tr>
    <td width="31%" height="19" align="right"><b>联系电话：</b></td>
    <td width="69%" height="19">
      
      <input type="text" name="tel" size="20" id=tel></td>
  </tr>
  <tr>
    <td width="31%" height="19" align="right"><b>详细地址：</b></td>
    <td width="69%" height="19">
      
      <input type="text" name="dizhi" size="38" id=dizhi></td>
  </tr>
  <tr>
    <td width="31%" height="19" align="right"><b>学历：</b></td>
    <td width="69%" height="19">
      
      <input type="text" name="xueli" size="20" id=xueli></td>
  </tr>
  <tr>
    <td width="31%" height="19" align="right"><b>专业：</b></td>
    <td width="69%" height="19">
      
      <input type="text" name="zhuanye" size="20" id=zhuanye></td>
  </tr>
  <tr>
    <td width="31%" height="19" align="right"><b>工作经验：</b></td>
    <td width="69%" height="19"><textarea rows="4" name="jingyan" cols="36" id=jingyan></textarea></td>
  </tr>
  <tr>
    <td width="31%" height="12" align="right" ><b>电子邮件：</b></td>
    <td width="69%" height="12">
      
      <input type="text" name="mail" size="20" id=mail></td>
  </tr>
  <tr>
    <td width="100%" height="12" colspan="2" align="center"><input type="submit" value="提交" name="B1">&nbsp;&nbsp;&nbsp;   
      <input type="reset" value="全部重写" name="B2"></td>
  </tr>
</table>
</form>

<p>　</p>
<table border="0" width="100%">
  <tr>
    <td width="100%" align="center">版权所有 &copy; 2005-2008 咕噜噜电子商务网　 <A   
href="http://www.miibeian.gov.cn">闽ICP备05021701号</A> </td>
  </tr>
</table>

</body>

</html>
<script language="vbscript">
sub job()
if myform.zhiwei.value="" then
alert("对不起，你应聘的职位没有填写！")
return false
end if
if myform.name.value="" then
alert("对不起，你的名字没有填写！")
return false
end if
if myform.age.value="" then
alert("对不起，你的年龄没有填写！")
return false
end if
if myform.sex.value="" then
alert("对不起，你的性别没有填写！")
return false
end if
if myform.tel.value="" then
alert("对不起，你的电话号码没有填写！")
return false
end if
if myform.dizhi.value="" then
alert("对不起，你的详细地址没有填写！")
return false
end if
if myform.xueli.value="" then
alert("对不起，你的学历没有填写！")
return false
end if
if myform.jingyan.value="" then
alert("对不起，你的工作经验没有填写！")
return false
end if
end sub
</script>
<%
id=request("jobid")
if request.QueryString("action")="job" then
set rs1=server.createobject("adodb.recordset")
rs1.open "select * from job1",conn,1,3
rs1.addnew
rs1("shjiaid")=request("shjiaid")
rs1("zhiwei")=trim(request("zhiwei"))
rs1("name")=trim(request("name"))
rs1("age")=trim(request("age"))
rs1("sex")=trim(request("sex"))
rs1("tel")=trim(request("tel"))
rs1("dizhi")=trim(request("dizhi"))
rs1("xueli")=trim(request("xueli"))
rs1("zhuanye")=trim(request("zhuanye"))
rs1("jingyan")=trim(request("jingyan"))
rs1("mail")=trim(request("mail"))
rs1("time")=now()
rs1.update
rs1.close
set rs1=nothing
response.write "<script language=javascript>alert('应聘成功！');window.close();</script>"
respon
response.End
end if
%>

