<!--#include file="top.asp"-->
<%
user=request("user")
iname=request("iname")
sfz=request("sfz")
sex=request("sex")
mzhu=request("mzhu")
marry=request("marry")
bday=request("bday")
sg=request("sg")
zchen=request("zchen")
zye=request("zye")
edu=request("edu")
school=request("school")
bydate=request("bydate")
job=request("job")
job1=request("job1")
rclx=request("rclx")
period=request("period")
content=request("content")

dlxf_name=request("name")
phone=request("phone")
city=request("city")
country=request("country")
email=request("email")
postcode=request("postcode")
if postcode="" then postcode=null
address=request("address")
web=trim(request("web"))
if web="" then web=null
addone=request("addone")
addtwo=request("addtwo")


yx=cityfreejob
lastdate=date()+yx

set rs=server.createobject("adodb.recordset")
sql="select * from dlxf_Job_qz where dlxf_user='"& user &"'" 
rs.open sql,conn,1,3
rs("dlxf_iname")=iname
rs("dlxf_sfz")=sfz
rs("dlxf_sex")=sex
rs("dlxf_mzhu")=mzhu
rs("dlxf_marry")=marry
rs("dlxf_bday")=bday
rs("dlxf_sg")=sg
rs("dlxf_zchen")=zchen
rs("dlxf_zye")=zye
rs("dlxf_edu")=edu
rs("dlxf_school")=school
rs("dlxf_bydate")=bydate
rs("dlxf_job")=job
rs("dlxf_job1")=job1
rs("dlxf_rclx")=rclx
rs("dlxf_period")=period
rs("dlxf_content")=content
rs("dlxf_name")=dlxf_name
rs("dlxf_phone")=phone
rs("dlxf_city")=city
rs("dlxf_country")=country
rs("dlxf_email")=email
rs("dlxf_postcode")=postcode
rs("dlxf_web")=web
rs("dlxf_country")=addone
rs("dlxf_city")=addtwo
rs("dlxf_address")=address
rs("dlxf_dateandtime")=date()
rs("dlxf_key1")=cityjobqzkey
rs("dlxf_yx")=yx
rs("dlxf_lastdate")=lastdate
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
'===========================================


if cityjobqzkey=1 then
response.write"<script>alert('您的简历发布成功！谢谢您的参与');window.open('admin.asp','_self')</script>"
response.end
elseif cityjobqzkey=0 then
response.write"<script>alert('您的简历发布成功！请等待管理员的开通');window.open('admin.asp','_self')</script>"
response.end
end if
%>