<!--#include file="Inc/Conn.asp"-->
<%
'=================================
'
'   网逸科技网站管理系统
'    wu.arron webee2005@163.com 
'        www.webee.cn
'
'  copyright(c)2004 wu.arron
'
'=================================
%>
<!--#include file="Inc/articleCHAR.INC"-->
<%
If request.form("jobname")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入应聘岗位，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("mane")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入姓名，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("sex")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入性别，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("birthday")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入出生日期，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("marry")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入婚姻状况，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("school")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入毕业院校，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("studydegree")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入学 历，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("specialty")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入专 业，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("gradyear")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入毕业时间，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("telephone")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入电 话，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("email")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入E-mail，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("address")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入联系地址，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("ability")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入水平与能力，请返回检查！！"");history.go(-1);</script>")
response.end
end if
If request.form("resumes")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入个人简历，请返回检查！！"");history.go(-1);</script>")
response.end
end if

Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from jobbook"
rs.open sql,conn,1,3

rs.addnew
rs("jobname")=request.form("jobname")
rs("mane")=request.form("mane")
rs("sex")=request.form("sex")
rs("birthday")=request.form("birthday")
rs("marry")=request.form("marry")
rs("school")=request.form("school")
rs("studydegree")=request.form("studydegree")
rs("specialty")=request.form("specialty")
rs("gradyear")=request.form("gradyear")
rs("telephone")=request.form("telephone")
rs("email")=request.form("email")
rs("address")=request.form("address")
rs("ability")=htmlencode2(request.form("ability"))
rs("resumes")=htmlencode2(request.form("resumes"))
rs("time")=now()
rs.update
rs.close
  response.write"<SCRIPT language=JavaScript>alert('应聘申请已提交成功！');"
  response.write"javascript:history.go(-2)</SCRIPT>"
%>


