| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <!--#include file="../bdcommx/connxyz.asp"-->
- <%call log_chk()
- call passChk()
- zhiwei=trim(request("zhiwei"))
- xingzhi=trim(request("xingzhi"))
- diqu=trim(request("diqu"))
- xueli=trim(request("xueli"))
- renshu=trim(request("renshu"))
- xinzi=trim(request("xinzi"))
- jingyan=trim(request("xinzi"))
- 'bumen=trim(request("bumen"))
- 'sex=trim(request("sex"))
- 'shanggang=trim(request("shanggang"))
- note=trim(request("note"))
- shunxu=trim(request("shunxu"))
- if zhiwei<>"" then
- Set rs=Server.Createobject("Adodb.Recordset")
- sql="select * from adzp where zp_zw='"&zhiwei&"'"
- rs.open sql,conn,1,3
- if not rs.eof and not rs.bof then
- call backurl("该职位已存在")
- else
- rs.addnew
- rs("zp_zw")=zhiwei
- rs("zp_xingzhi")=xingzhi
- rs("zp_xueli")=xueli
- rs("zp_dq")=diqu
- rs("zp_xinzi")=xinzi
- rs("zp_rs")=renshu
- 'rs("zp_bm")=bumen
- 'rs("zp_sg")=shanggang
- 'rs("zp_sex")=sex
- rs("zp_note")=note
- rs("zp_time")=now()
- rs("zp_jingyan")=jingyan
- if shunxu<>"" then
- rs("zp_odr")=shunxu
- end if
- rs.update
- rs.close
- set rs=nothing
- response.write"<SCRIPT language=JavaScript>alert('发布成功!');"
- response.write"this.location.href='ZPadd.asp';</SCRIPT>"
- end if
- else
- call backurl("职位名不能为空!")
- end if%>
|