<!--#include file="../include/Conn.asp"-->
<!--#include file="../Include/Char.asp" -->
<%
     job = checkStr(Trim(Request.Form("job")))
	 if job="" then 
	     call msgbox("对不起,职业岗位不能为空,按确定返回",1)
		 response.End()
     end if

     jobtypes = checkStr(Trim(Request.Form("jobtypes")))

     zpnum = checkStr(Trim(Request.Form("zpnum")))
	 if zpnum="" then 
	     call msgbox("对不起,招聘人数不能为空,按确定返回",1)
		 response.End()
     end if	  
     edus = checkStr(Trim(Request.Form("edus")))
     sexs = checkStr(Trim(Request.Form("sexs")))
	 rdjob = checkStr(Trim(Request.Form("rdjob")))		   
     nianlings = checkStr(Trim(Request.Form("nianlings")))
	 if nianlings="" then 
	     call msgbox("对不起,年龄要求不能为空,按确定返回",1)
		 response.End()
     end if	 
	 youxiaos = checkStr(Trim(Request.Form("youxiaos")))
	 if youxiaos="" then 
	     call msgbox("对不起,有效期不能为空,按确定返回",1)
		 response.End()
     end if	 
     gzdd = checkStr(Trim(Request.Form("gzdd")))
	 if gzdd="" then 
	           call msgbox("对不起,工作地址不能为空,按确定返回",1)
		 response.End()
		end if
	  zptext = checkStr(Trim(Request.Form("zptext")))
	 if zptext="" then zptext="无"
	 
	
      sql="update zp set job='"&job&"' where id="&request("id")
      conn.execute sql
      sql="update zp set jobtypes='"&jobtypes&"' where id="&request("id")
      conn.execute sql
      sql="update zp set zpnum='"&zpnum&"' where id="&request("id")
      conn.execute sql
      sql="update zp set edus='"&edus&"' where id="&request("id")
      conn.execute sql
      sql="update zp set sexs='"&sexs&"' where id="&request("id")
      conn.execute sql
      sql="update zp set nianlings='"&nianlings&"' where id="&request("id")
      conn.execute sql
      sql="update zp set youxiaos='"&youxiaos&"' where id="&request("id")
      conn.execute sql
      sql="update zp set gzdd='"&gzdd&"' where id="&request("id")
      conn.execute sql
	  sql="update zp set rdjob='"&rdjob&"' where id="&request("id")
      conn.execute sql
      sql="update zp set zptext='"&zptext&"' where id="&request("id")
      conn.execute sql
	  


	 
response.write "<br><br><br><br><br><br><center><font color='ff0000'>恭喜您，招聘修改成功,"

%>
<link href="Images/Style.css" rel="stylesheet" type="text/css">
请 <font color="#FF0000">【<a href="Admin_Company.asp">返回</a>】</font></center></font>