<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage=65001%>
<% Response.Charset = "utf-8" %>
<!--#include file="../xyconn.asp" -->
<!--#include file="seeion.asp"-->
<%
id=Trim(request("id"))
set rs=server.createobject("adodb.recordset")
sql="select * from [zpxx] where id="&id
rs.open sql,conn,1,3
title=request.form("title")
renshu=request.form("renshu")
gz_addr=request.form("gz_addr")
gzdy=request.form("gzdy")
yxq=request.form("yxq")
body=request.form("body")

if title=""  then 
response.Write("<script language=javascript>alert('岗位名称不能为空!');history.go(-1)</script>") 
response.end 
end if
if renshu=""  then 
response.Write("<script language=javascript>alert('招聘人数不能为空!');history.go(-1)</script>") 
response.end 
end if
if gz_addr=""  then 
response.Write("<script language=javascript>alert('工作地址不能为空!');history.go(-1)</script>") 
response.end 
end if
if gzdy=""  then 
response.Write("<script language=javascript>alert('工资待遇不能为空!');history.go(-1)</script>") 
response.end 
end if
if yxq=""  then 
response.Write("<script language=javascript>alert('有效期不能为空!');history.go(-1)</script>") 
response.end 
end if
if body=""  then 
response.Write("<script language=javascript>alert('内容不能为空!');history.go(-1)</script>") 
response.end 
end if
rs("title")=title
rs("renshu")=renshu
rs("gz_addr")=gz_addr
rs("gzdy")=gzdy
rs("yxq")=yxq
rs("body")=body
rs.update
rs.close
set rs=nothing
Response.Write "<script>alert('恭喜你，招聘信息页面内容修改成功!');window.location.href='manage_career.asp';</script>" 
%>