<!--#include file="../../Conn.asp" -->
<!--#include file="../../Comm/Site_Class.asp" -->
<!--#include file="../../Comm/md5.asp" -->
<%
PagePath = "../../"

Set Qsite = New Site_Class

Qsite.SiteConfig_Master()
%>
<!--#include file="../Check_Login.asp" -->
<%
Qsite.Check_AdminFlag(arrAdminFlag(1 , 3))

Dim Rs,i
Set Rs = server.CreateObject("ADODB.recordset")

Dim strPersonName,ViewType,Page
Dim PerId
Dim UserName,PassWord,PassWord2,Question,Answer,Email
Dim FileName,Act
Dim EduId,EducateId,LanguageId,WorkExpId

Dim RealName,Sex,Age,Nation,Political,Birthplace,Marriage,Qualification,Standing,Weight
Dim Salary,Nature,Position_b,Position_s,JobPost,Province,City,County
Dim NowAddr,HomeAddr,QQ,MSN,Tel,Mobile

Dim IsHidden,IsLock,IsTj,IsGj,IsSh,LoginQuantity,ThisLoginDate,ThisLoginIp,ViewQuantity

Dim RegFromIp,RegDate

If Request.Form <> "" Then
	strPersonName = Qsite.chgStr(Trim(Request.Form("strPersonName")))
	ViewType = Qsite.chgStr(Trim(Request.Form("ViewType")))
	Page = Qsite.chgStr(Trim(Request.Form("Page")))
	PerId = Qsite.chgStr(Trim(Request.Form("PerId")))
	
	UserName = Qsite.chgStr(Trim(Request.Form("UserName")))
	PassWord = Qsite.chgStr(Trim(Request.Form("PassWord")))
	PassWord2 = Qsite.chgStr(Trim(Request.Form("PassWord2")))
	Question = Qsite.chgStr(Trim(Request.Form("Question")))
	Answer = Qsite.chgStr(Trim(Request.Form("Answer")))
	Email = Qsite.chgStr(Trim(Request.Form("Email")))
	
	RealName = Qsite.chgStr(Trim(Request.Form("RealName")))
	Sex = Qsite.chgStr(Trim(Request.Form("Sex")))
	Age = Qsite.chgStr(Trim(Request.Form("Age")))
	Nation = Qsite.chgStr(Trim(Request.Form("Nation")))
	Political = Qsite.chgStr(Trim(Request.Form("Political")))
	Birthplace = Qsite.chgStr(Trim(Request.Form("Birthplace")))
	Marriage = Qsite.chgStr(Trim(Request.Form("Marriage")))
	Qualification = Qsite.chgStr(Trim(Request.Form("Qualification")))
	Standing = Qsite.chgStr(Trim(Request.Form("Standing")))
	Weight = Qsite.chgStr(Trim(Request.Form("Weight")))
	Salary = Qsite.chgStr(Trim(Request.Form("Salary")))
	Nature = Qsite.chgStr(Trim(Request.Form("Nature")))
	Position_b = Qsite.chgStr(Trim(Request.Form("Position_b")))
	Position_s = Qsite.chgStr(Trim(Request.Form("Position_s")))
	JobPost = Qsite.chgStr(Trim(Request.Form("JobPost")))
	Province = Qsite.chgStr(Trim(Request.Form("Province")))
	City = Qsite.chgStr(Trim(Request.Form("City")))
	County = Qsite.chgStr(Trim(Request.Form("County")))
	NowAddr = Qsite.chgStr(Trim(Request.Form("NowAddr")))
	HomeAddr = Qsite.chgStr(Trim(Request.Form("HomeAddr")))
	QQ = Qsite.chgStr(Trim(Request.Form("QQ")))
	MSN = Qsite.chgStr(Trim(Request.Form("MSN")))
	Tel = Qsite.chgStr(Trim(Request.Form("Tel")))
	Mobile = Qsite.chgStr(Trim(Request.Form("Mobile")))
	
	IsHidden = Qsite.chgStr(Trim(Request.Form("IsHidden")))
	IsLock = Qsite.chgStr(Trim(Request.Form("IsLock")))
	IsTj = Qsite.chgStr(Trim(Request.Form("IsTj")))
	IsGj = Qsite.chgStr(Trim(Request.Form("IsGj")))
	IsSh = Qsite.chgStr(Trim(Request.Form("IsSh")))
	
	
	If IsNull(strPersonName) Then strPersonName = ""
	If IsNull(ViewType) Then ViewType = ""
	If Page = "" Or IsNull(Page) Or Not IsNumeric(Page) Then Page = 1
	If PerId = "" Or IsNull(PerId) Or Not IsNumeric(PerId) Then PerId = 0
	
	If Qsite.CheckStr(UserName , "") = True Then
		Qsite.ShowMsg "输入的用户名称含有非法字符，请返回重新输入" , ""
	End If
	If Qsite.CheckStr(UserName , Qsite.RegNoName) = True Then
		Qsite.ShowMsg "输入的用户名称含有非法字符，请返回重新输入" , ""
	End If
	If Qsite.CheckStr(PassWord , "&|<|>|\|'") = True Or Qsite.CheckStr(PassWord2 , "&|<|>|\|'") = True Then
		Qsite.ShowMsg "输入的密码含有非法字符，请返回重新输入" , ""
	End If
	If Qsite.CheckStr(Question , "\|'|&|""|#|%") = True Then
		Qsite.ShowMsg "输入的提示问题含有非法字符，请返回重新输入" , ""
	End If
	If Qsite.CheckStr(Answer , "\|'|&|""|#|%") = True Then
		Qsite.ShowMsg "输入的问题答案含有非法字符，请返回重新输入" , ""
	End If
	If Email = "" Or IsNull(Email) Then
		Qsite.ShowMsg "请输入邮箱地址" , ""
	End If
	If Not Qsite.IsValidEmail(Email) Then
		Qsite.ShowMsg "输入的电子信箱不正确，请返回重新输入" , ""
	End If
	
	If RealName = "" Or IsNull(RealName) Then
		Qsite.ShowMsg "请输入真实姓名" , ""
	End If
	If Sex = "" Or IsNull(Sex) Then
		Qsite.ShowMsg "请选择性别" , ""
	End If
	If Age = "" Or IsNull(Age) Or Not IsNumeric(Age) Then
		Qsite.ShowMsg "请输入年龄，年龄只能输入数字" , ""
	End If
	If Political = "" Or IsNull(Political) Then
		Qsite.ShowMsg "请选择政治面貌" , ""
	End If
	If Birthplace = "" Or IsNull(Birthplace) Then
		Qsite.ShowMsg "请输入籍贯" , ""
	End If
	If Marriage = "" Or IsNull(Marriage) Then
		Qsite.ShowMsg "请选择婚姻状况" , ""
	End If
	If Qualification = "" Or IsNull(Qualification) Then
		Qsite.ShowMsg "请输入学历" , ""
	End If
	If Standing <> "" And Not IsNumeric(Standing) Then
		Qsite.ShowMsg "身高只能输入数字" , ""
	End If
	If Weight <> "" And Not IsNumeric(Weight) Then
		Qsite.ShowMsg "体重只能输入数字" , ""
	End If
	If Len(Salary) > 5 Then
		Qsite.ShowMsg "月薪不能超过5位数字" , ""
	End If
	If Salary = "" Or IsNull(Salary) Or Not IsNumeric(Salary) Then
		Qsite.ShowMsg "请输入要求月薪，要求月薪只能输入数字" , ""
	End If
	If Nature = "" Or IsNull(Nature) Then
		Qsite.ShowMsg "请选择工作性质" , ""
	End If
	If Position_b = "" Or IsNull(Position_b) Or Position_s = "" Or IsNull(Position_s) Then
		Qsite.ShowMsg "请选择拟定职业" , ""
	End If
	If JobPost = "" Or IsNull(JobPost) Then
		Qsite.ShowMsg "请输入求职意向岗位" , ""
	End If
	If Province = "" Or IsNull(Province) Or City = "" Or IsNull(City) Or County = "" Or IsNull(County) Then
		Qsite.ShowMsg "请输入工作地区" , ""
	End If
	
	If NowAddr = "" Or IsNull(NowAddr) Then
		Qsite.ShowMsg "请输入现在所在地" , ""
	End If
	If HomeAddr = "" Or IsNull(HomeAddr) Then
		Qsite.ShowMsg "请输入家庭地址" , ""
	End If
	If QQ <> "" And Not IsNumeric(QQ) Then
		Qsite.ShowMsg "输入的QQ号码不正确，请返回重新输入" , ""
	End If
	If MSN <> "" And Not Qsite.IsValidEmail(MSN) Then
		Qsite.ShowMsg "输入的MSN不正确，请返回重新输入" , ""
	End If
	If Tel = "" Or IsNull(Tel) Then
		Qsite.ShowMsg "请输入联系电话" , ""
	End If
	If Not Qsite.IsValidTel(Tel) Then
		Qsite.ShowMsg "输入的联系电话不正确，请返回重新输入" , ""
	End If
	If Mobile <> "" And Not Qsite.IsValidTel(Mobile) Then
		Qsite.ShowMsg "输入的移动电话不正确，请返回重新输入" , ""
	End If
	
	If IsHidden <> "1" Then IsHidden = "0"
	If IsLock <> "1" Then IsLock = "0"
	If IsTj <> "1" Then IsTj = "0"
	If IsGj <> "1" Then IsGj = "0"
	If IsSh <> "1" Then IsSh = "0"
	
	Rs.Open "select * from PersonTbl where Email = '"& Email &"' and PerId <> "& PerId , Conn , 1 , 1
	If Not Rs.Eof Then
		Qsite.ShowMsg "此电子信箱已经注册，请返回重新输入" , ""
	End If
	Rs.Close
	
	Rs.Open "select * from PersonTbl where PerId ="& PerId &" and UserName = '"& UserName &"'" , Conn , 3 , 2
	If PassWord <> "" Then
		Rs("PassWord") = MD5(PassWord)
	End If
	Rs("Question") = Question
	Rs("Answer") = Answer
	Rs("Email") = Email
	
	Rs("RealName") = RealName
	Rs("Sex") = Sex
	Rs("Age") = Age
	Rs("Nation") = Nation
	Rs("Political") = Political
	Rs("Birthplace") = Birthplace
	Rs("Marriage") = Marriage
	Rs("Qualification") = Qualification
	Rs("Standing") = Standing
	Rs("Weight") = Weight
	Rs("Salary") = Salary
	Rs("Nature") = Nature
	Rs("Position_b") = Position_b
	Rs("Position_s") = Position_s
	Rs("JobPost") = JobPost
	Rs("Province") = Province
	Rs("City") = City
	Rs("County") = County
	Rs("NowAddr") = NowAddr
	Rs("HomeAddr") = HomeAddr
	Rs("QQ") = QQ
	Rs("MSN") = MSN
	Rs("Tel") = Tel
	Rs("Mobile") = Mobile
	
	Rs("IsHidden") = IsHidden
	Rs("IsLock") = IsLock
	Rs("IsTj") = IsTj
	Rs("IsGj") = IsGj
	Rs("IsSh") = IsSh
	
	
	Rs.Update
	Rs.Close
	
	Qsite.ShowMsg "简历修改成功" , "Person_List.asp?PersonName="& strPersonName &"&ViewType="& ViewType &"&page="& Page
	
End If

strPersonName = Qsite.chgStr(Trim(Request.QueryString("strPersonName")))
ViewType = Qsite.chgStr(Trim(Request.QueryString("ViewType")))
Page = Qsite.chgStr(Trim(Request.QueryString("Page")))
PerId = Qsite.chgStr(Trim(Request.QueryString("PerId")))
Act = Qsite.chgStr(Trim(Request.QueryString("action")))

If IsNull(strPersonName) Then strPersonName = ""
If IsNull(ViewType) Then ViewType = ""
If Page = "" Or IsNull(Page) Or Not IsNumeric(Page) Then Page = 1
If PerId = "" Or IsNull(PerId) Or Not IsNumeric(PerId) Then PerId = 0

FileName = "Person_Edit.asp?strPersonName="& strPersonName &"&ViewType="& ViewType &"&Page="& Page &"&PerId="& PerId

If Act = "DelEdu" Then
	EduId = Qsite.chgStr(Trim(Request.QueryString("EduId")))
	If EduId = "" Or IsNull(EduId) Or Not IsNumeric(EduId) Then EduId = 0
	Conn.Execute("delete * from EduTbl where EduId = "& EduId)
	Response.Redirect(FileName & "&=#Edu")
	Response.End()
ElseIf Act = "DelEducate" Then
	EducateId = Qsite.chgStr(Trim(Request.QueryString("EducateId")))
	If EducateId = "" Or IsNull(EducateId) Or Not IsNumeric(EducateId) Then EducateId = 0
	Conn.Execute("delete * from EducateTbl where EducateId = "& EducateId)
	Response.Redirect(FileName & "&=#Educate")
	Response.End()
ElseIf Act = "DelLanguage" Then
	LanguageId = Qsite.chgStr(Trim(Request.QueryString("LanguageId")))
	If LanguageId = "" Or IsNull(LanguageId) Or Not IsNumeric(LanguageId) Then LanguageId = 0
	Conn.Execute("delete * from LanguageTbl where LanguageId = "& LanguageId)
	Response.Redirect(FileName & "&=#Language")
	Response.End()
ElseIf Act = "DelWorkExp" Then
	WorkExpId = Qsite.chgStr(Trim(Request.QueryString("WorkExpId")))
	If WorkExpId = "" Or IsNull(WorkExpId) Or Not IsNumeric(WorkExpId) Then WorkExpId = 0
	Conn.Execute("delete * from WorkExpTbl where WorkExpId = "& WorkExpId)
	Response.Redirect(FileName & "&=#WorkExp")
	Response.End()
End If


Rs.Open "select * from PersonTbl where PerId = "& PerId , Conn , 1 , 1
If Rs.Eof Then
	UserName = ""
	PassWord = ""
	Question = ""
	Answer = ""
	Email = ""
	
	RealName = ""
	Sex = ""
	Age = ""
	Nation = ""
	Political = ""
	Birthplace = ""
	Marriage = ""
	Qualification = ""
	Standing = ""
	Weight = ""
	Salary = ""
	Nature = ""
	Position_b = ""
	Position_s = ""
	JobPost = ""
	Province = ""
	City = ""
	County = ""
	NowAddr = ""
	HomeAddr = ""
	QQ = ""
	MSN = ""
	Tel = ""
	Mobile = ""
	
	IsHidden = ""
	IsLock = ""
	IsTj = ""
	IsGj = ""
	IsSh = ""
	LoginQuantity = ""
	ThisLoginDate = ""
	ThisLoginIp = ""
	ViewQuantity = ""
	
	RegFromIp = ""
	RegDate = ""
Else
	UserName = Rs("UserName")
	PassWord = Rs("PassWord")
	Question = Rs("Question")
	Answer = Rs("Answer")
	Email = Rs("Email")
	
	RealName = Rs("RealName")
	Sex = Rs("Sex")
	Age = Rs("Age")
	Nation = Rs("Nation")
	Political = Rs("Political")
	Birthplace = Rs("Birthplace")
	Marriage = Rs("Marriage")
	Qualification = Rs("Qualification")
	Standing = Rs("Standing")
	Weight = Rs("Weight")
	Salary = Rs("Salary")
	Nature = Rs("Nature")
	Position_b = Rs("Position_b")
	Position_s = Rs("Position_s")
	JobPost = Rs("JobPost")
	Province = Rs("Province")
	City = Rs("City")
	County = Rs("County")
	NowAddr = Rs("NowAddr")
	HomeAddr = Rs("HomeAddr")
	QQ = Rs("QQ")
	MSN = Rs("MSN")
	Tel = Rs("Tel")
	Mobile = Rs("Mobile")
	
	IsHidden = Rs("IsHidden")
	IsLock = Rs("IsLock")
	IsTj = Rs("IsTj")
	IsGj = Rs("IsGj")
	IsSh = Rs("IsSh")
	LoginQuantity = Rs("LoginQuantity")
	ThisLoginDate = Rs("ThisLoginDate")
	ThisLoginIp = Rs("ThisLoginIp")
	ViewQuantity = Rs("ViewQuantity")
	RegFromIp = Rs("RegFromIp")
	RegDate = Rs("RegDate")
End If
Rs.Close
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>简历管理</title>
<link href="../skins/css/main.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../../Comm/Job_All.js"></script>
<script language="javascript" src="../../Comm/Job_Function.js"></script>
<script language="javascript" src="../../Comm/Area_All.js"></script>
<script language="javascript" src="../../Comm/Area_Function.js"></script>
<script language="javascript">
	function DelData(FileName , DataType , DataId)
	{
		var question = confirm("你确定要删除选中的记录吗？");
		if (question !="0")
		{
			if(DataType == "Edu")
			{
				location.href = FileName + "&action=DelEdu&EduId=" + DataId;
			}
			else if(DataType == "Educate")
			{
				location.href = FileName + "&action=DelEducate&EducateId=" + DataId;
			}
			else if(DataType == "Language")
			{
				location.href = FileName + "&action=DelLanguage&LanguageId=" + DataId;
			}
			else if(DataType == "WorkExp")
			{
				location.href = FileName + "&action=DelWorkExp&WorkExpId=" + DataId;
			}
		}
	}
	function EditData(DataType , DataId)
	{
		if(DataType == "Edu")
		{
			window.open('Person_EditEdu.asp?EduId=' + DataId , 'EditEducate' , 'width=500,height=380,top=200,left=300');
		}
		else if(DataType == "Educate")
		{
			window.open('Person_EditEducate.asp?EducateId=' + DataId , 'EditEducate' , 'width=500,height=420,top=200,left=300');
		}
		else if(DataType == "Language")
		{
			window.open('Person_EditLanguage.asp?LanguageId=' + DataId , 'EditLanguage' , 'width=350,height=150,top=200,left=300');
		}
		else if(DataType == "WorkExp")
		{
			window.open('Person_EditWorkExp.asp?WorkExpId=' + DataId , 'EditWorkExp' , 'width=500,height=450,top=200,left=300');
		}
	}
</script>
</head>

<body>
<form name="SearchForm" method="post" action="Person_Edit.asp" style="margin:0">
<table width="100%" border="0" cellspacing="1" cellpadding="5">
	<tr>
		<td height="25" colspan="2" class="td_title">简历修改</td>
	</tr>
	<tr>
		<td height="15" colspan="2"></td>
	</tr>
	<tr>
		<td height="23" colspan="2" class="td_content"><strong>帐号信息</strong></td>
		</tr>
	<tr>
		<td width="15%" height="23" class="td_content">用户名：</td>
		<td width="85%" class="td_content"><input name="UserName" type="text" class="input_1" id="UserName" value="<%=UserName%>" size="40" readonly>
			(不能修改)
				<input name="strPersonName" type="hidden" id="strPersonName" value="<%=strPersonName%>">
			<input name="ViewType" type="hidden" id="ViewType" value="<%=ViewType%>">
			<input name="Page" type="hidden" id="Page" value="<%=Page%>">
			<input name="PerId" type="hidden" id="PerId" value="<%=PerId%>"></td>
	</tr>
	<tr>
		<td height="23" class="td_content">登录密码：</td>
		<td class="td_content"><input name="PassWord" type="password" class="input_1" id="PassWord" size="40">
			(如果不修改请留空)</td>
	</tr>
	<tr>
		<td height="23" class="td_content">确认密码：</td>
		<td class="td_content"><input name="PassWord2" type="password" class="input_1" id="PassWord2" size="40"></td>
	</tr>
	<!--<tr>
		<td height="23" class="td_content">提示问题：</td>
		<td class="td_content"><input name="Question" type="text" class="input_1" id="Question" value="<%=Question%>" size="40">
			(用于取回密码)</td>
	</tr>
	<tr>
		<td height="23" class="td_content">问题答案：</td>
		<td class="td_content"><input name="Answer" type="text" class="input_1" id="Answer" value="<%=Answer%>" size="40">
			(用于取回密码)</td>
	</tr>-->
	<tr>
		<td height="23" class="td_content">电子信箱：</td>
		<td class="td_content"><input name="Email" type="text" class="input_1" id="Email" value="<%=Email%>" size="40">
			(用于取回密码)</td>
	</tr>
	<tr>
		<td height="23" class="td_content">注册IP：</td>
		<td class="td_content"><%=RegFromIp%></td>
	</tr>
	<tr>
		<td height="23" class="td_content">注册时间：</td>
		<td class="td_content"><%=RegDate%></td>
	</tr>
	<tr>
		<td height="23" class="td_content">上次登录IP：</td>
		<td class="td_content"><%=ThisLoginIp%></td>
	</tr>
	<tr>
		<td height="23" class="td_content">上次登录时间：</td>
		<td class="td_content"><%=ThisLoginDate%></td>
	</tr>
	<tr>
		<td height="23" class="td_content">总登录次数：</td>
		<td class="td_content"><%=LoginQuantity%></td>
	</tr>
	<tr>
		<td height="23" class="td_content">被浏览次数：</td>
		<td class="td_content"><%=ViewQuantity%></td>
	</tr>
	<tr>
		<td height="15" colspan="2"></td>
	</tr>
	<tr>
		<td height="23" colspan="2" class="td_content"><strong>基本信息</strong></td>
		</tr>
	<tr>
		<td height="23" class="td_content">真实姓名：</td>
		<td class="td_content"><input name="RealName" type="text" class="input_1" id="RealName" value="<%=RealName%>" size="20"></td>
	</tr>
	<tr>
		<td height="23" class="td_content">性别：</td>
		<td class="td_content"><input type="radio" name="Sex" value="男" <%If Sex = "男" Then Response.Write("checked")%>>
			男 
			<input type="radio" name="Sex" value="女" <%If Sex = "女" Then Response.Write("checked")%>>
			女</td>
	</tr>
	<tr>
		<td height="23" class="td_content">年龄：</td>
		<td class="td_content"><input name="Age" type="text" class="input_1" id="Age" value="<%=Age%>" size="20">
			岁</td>
	</tr>
	<tr>
		<td height="23" class="td_content">民族：</td>
		<td class="td_content"><input name="Nation" type="text" class="input_1" id="Nation" value="<%=Nation%>" size="20"></td>
	</tr>
	<tr>
		<td height="23" class="td_content">政治面貌：</td>
		<td class="td_content"><select name="Political" class="input_1" id="Political">
						<option value="" <%If Political = "" Then Response.Write("selected")%>>请选择</option>
						<%
						Rs.Open "select * from PoliticalTbl order by PoliticalId asc" , Conn , 1 , 1
						Do While Not Rs.Eof
							Response.Write("<option value="""& Rs("PoliticalName") &""" ")
							If Rs("PoliticalName") = Political Then Response.Write(" selected")
							Response.Write(">"& Rs("PoliticalName") &"</option>")
						Rs.MoveNext
						Loop
						Rs.Close
						%>
			</select></td>
	</tr>
	<tr>
		<td height="23" class="td_content">籍贯：</td>
		<td class="td_content"><input name="Birthplace" type="text" class="input_1" id="Birthplace" value="<%=Birthplace%>" size="20"></td>
	</tr>
	<tr>
		<td height="23" class="td_content">婚姻状况：</td>
		<td class="td_content"><select name="Marriage" class="input_1" id="Marriage">
						<option value="">请选择</option>
						<option value="未婚" <%If Marriage = "未婚" Then Response.Write("selected")%>>未婚</option>
						<option value="已婚" <%If Marriage = "已婚" Then Response.Write("selected")%>>已婚</option>
						<option value="离异" <%If Marriage = "离异" Then Response.Write("selected")%>>离异</option>
			</select></td>
	</tr>
	<tr>
		<td height="23" class="td_content">学历：</td>
		<td class="td_content"><select name="Qualification" class="input_1" id="Qualification">
						<option value="" <%If Qualification = "" Then Response.Write("selected")%>>请选择</option>
						<%
						Rs.Open "select * from QualificationTbl order by QualificationId asc" , Conn , 1 , 1
						Do While Not Rs.Eof
							Response.Write("<option value="""& Rs("QualificationName") &""" ")
							If Rs("QualificationName") = Qualification Then Response.Write(" selected")
							Response.Write(">"& Rs("QualificationName") &"</option>")
						Rs.MoveNext
						Loop
						Rs.Close
						%>
			</select></td>
	</tr>
	<tr>
		<td height="23" class="td_content">身高：</td>
		<td class="td_content"><input name="Standing" type="text" class="input_1" id="Standing" value="<%=Standing%>" size="20">
			CM</td>
	</tr>
	<tr>
		<td height="23" class="td_content">体重：</td>
		<td class="td_content"><input name="Weight" type="text" class="input_1" id="Weight" value="<%=Weight%>" size="20">
			KG</td>
	</tr>
	<tr>
		<td height="15" colspan="2"></td>
	</tr>
	<tr>
		<td height="23" colspan="2" class="td_content"><strong>求职意向</strong></td>
		</tr>
	<tr>
		<td height="23" class="td_content">要求月薪：</td>
		<td class="td_content">不低于
						<input name="Salary" type="text" class="input_1" id="Salary" value="<%=Salary%>" size="10" />
						元/月(如果面议请填“0”)</td>
	</tr>
	<tr>
		<td height="23" class="td_content">工作性质：</td>
		<td class="td_content"><select name="Nature" class="input_1" id="Nature">
						<option value="" <%If Nature = "" Then Response.Write("selected")%>>请选择</option>
						<option value="不限" <%If Nature = "不限" Then Response.Write("selected")%>>不限</option>
						<option value="全职" <%If Nature = "全职" Then Response.Write("selected")%>>全职</option>
						<option value="兼职" <%If Nature = "兼职" Then Response.Write("selected")%>>兼职</option>
						<option value="临时" <%If Nature = "临时" Then Response.Write("selected")%>>临时</option>
					</select></td>
	</tr>
	<tr>
		<td height="23" class="td_content">拟定职业：</td>
		<td class="td_content"><select name="Position_b" class="input_1" id="Position_b" onChange="SelectChange('Position_s' , document.all.Position_b.options[document.all.Position_b.selectedIndex].value , arrPosition_b , arrPosition_s);">
												<option value="">-请选择工作职能-</option>
											</select>
												<select name="Position_s" class="input_1" id="Position_s">
													<option value="">-请选择工作职位-</option>
												</select></td>
	</tr>
	<tr>
		<td height="23" class="td_content">求职意向岗位：</td>
		<td class="td_content"><input name="JobPost" type="text" class="input_1" id="JobPost" value="<%=JobPost%>" /></td>
	</tr>
	<tr>
		<td height="23" class="td_content">工作地区：</td>
		<td class="td_content"><select name="Province" class="input_1" id="Province" onChange="SelChgCity('City' , document.all.Province.options[document.all.Province.selectedIndex].value , arrProvince , arrCity , 'County');">
											</select>
												<select name="City" class="input_1" id="City" onChange="SelChgCounty('County' , document.all.City.options[document.all.City.selectedIndex].value , arrCity , arrCounty);">
												</select>
												 <select name="County" class="input_1" id="County">
												</select></td>
	</tr>
	<tr>
		<td height="15" colspan="2"></td>
	</tr>
	<tr>
		<td height="23" colspan="2" class="td_content"><strong>教育情况</strong><a name="Edu"></a></td>
	</tr>
<%
Rs.Open "select * from EduTbl where PerId = "& PerId &" order by EduId asc" , Conn , 1 , 1
If Rs.Eof Then
%>
	<tr>
		<td height="23" colspan="2" class="td_content">暂无信息</td>
	</tr>
<%
Else
	Do While Not Rs.Eof
%>
	<tr>
		<td height="23" colspan="2" class="td_content">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="21%" class="td_content"><%=Rs("EduBeginDate")%> -- <%=Rs("EduEndDate")%> </td>
				<td width="40%" class="td_content"><%=Rs("EduSchool")%></td>
				<td width="25%" class="td_content"><%=Rs("EduProfession")%></td>
				<td width="14%" class="td_content"><a href="#" onClick="EditData('Edu' , '<%=Rs("EduId")%>');return false;">查看/修改</a> | <a href="#" onClick="DelData('<%=FileName%>' , 'Edu' , '<%=Rs("EduId")%>');return false;">删除</a></td>
			</tr>
		</table>		</td>
	</tr>
<%
	Rs.MoveNext
	Loop
End If
Rs.Close
%>
	<tr>
		<td height="15" colspan="2"></td>
		</tr>
	<tr>
		<td height="23" colspan="2" class="td_content"><strong>培训情况</strong><a name="Educate"></a></td>
	</tr>
<%
Rs.Open "select * from EducateTbl where PerId = "& PerId &" order by EducateId asc" , Conn , 1 , 1
If Rs.Eof Then
%>
	<tr>
		<td height="23" colspan="2" class="td_content">暂无信息</td>
	</tr>
<%
Else
	Do While Not Rs.Eof
%>
	<tr>
		<td height="23" colspan="2" class="td_content">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="21%" class="td_content"><%=Rs("EducateBeginDate")%> -- <%=Rs("EducateEndDate")%> </td>
				<td width="40%" class="td_content"><%=Rs("EducateAgencies")%></td>
				<td width="25%" class="td_content"><%=Rs("EducateCourses")%></td>
				<td width="14%" class="td_content"><a href="#" onClick="EditData('Educate' , '<%=Rs("EducateId")%>');return false;">查看/修改</a> | <a href="#" onClick="DelData('<%=FileName%>' , 'Educate' , '<%=Rs("EducateId")%>');return false;">删除</a></td>
			</tr>
		</table>		</td>
	</tr>
<%
	Rs.MoveNext
	Loop
End If
Rs.Close
%>
	<tr>
		<td height="15" colspan="2"></td>
	</tr>
	<tr>
		<td height="23" colspan="2" class="td_content"><strong>语言能力</strong><a name="Language"></a></td>
	</tr>
<%
Rs.Open "select * from LanguageTbl where PerId = "& PerId &" order by LanguageId asc" , Conn , 1 , 1
If Rs.Eof Then
%>
	<tr>
		<td height="23" colspan="2" class="td_content">暂无信息</td>
	</tr>
<%
Else
	Do While Not Rs.Eof
%>
	<tr>
		<td height="23" colspan="2" class="td_content">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="50%" class="td_content"><%=Rs("LanguageType")%></td>
				<td width="36%" class="td_content"><%=Rs("LanguageDegree")%></td>
				<td width="14%" class="td_content"><a href="#" onClick="EditData('Language' , '<%=Rs("LanguageId")%>');return false;">查看/修改</a> | <a href="#" onClick="DelData('<%=FileName%>' , 'Language' , '<%=Rs("LanguageId")%>');return false;">删除</a></td>
			</tr>
		</table>		</td>
	</tr>
<%
	Rs.MoveNext
	Loop
End If
Rs.Close
%>
	<tr>
		<td height="15" colspan="2"></td>
	</tr>
	<tr>
		<td height="23" colspan="2" class="td_content"><strong>工作经历</strong><a name="WorkExp"></a></td>
	</tr>
<%
Rs.Open "select * from WorkExpTbl where PerId = "& PerId &" order by WorkExpId asc" , Conn , 1 , 1
If Rs.Eof Then
%>
	<tr>
		<td height="23" colspan="2" class="td_content">暂无信息</td>
	</tr>
<%
Else
	Do While Not Rs.Eof
%>
	<tr>
		<td height="23" colspan="2" class="td_content">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="21%" class="td_content"><%=Rs("WorkExpBeginDate")%> -- <%=Rs("WorkExpEndDate")%> </td>
				<td width="40%" class="td_content"><%=Rs("WorkExpCompanyName")%></td>
				<td width="25%" class="td_content"><%=Rs("WorkExpPost")%></td>
				<td width="14%" class="td_content"><a href="#" onClick="EditData('WorkExp' , '<%=Rs("WorkExpId")%>');return false;">查看/修改</a> | <a href="#" onClick="DelData('<%=FileName%>' , 'WorkExp' , '<%=Rs("WorkExpId")%>');return false;">删除</a></td>
			</tr>
		</table>		</td>
	</tr>
<%
	Rs.MoveNext
	Loop
End If
Rs.Close
%>
	<tr>
		<td height="15" colspan="2"></td>
	</tr>
	<tr>
		<td height="23" colspan="2" class="td_content"><strong>联系方式</strong></td>
		</tr>
	<tr>
		<td height="23" class="td_content">现在所在地：</td>
		<td class="td_content"><input name="NowAddr" type="text" class="input_1" id="NowAddr" size="60" value="<%=NowAddr%>" /></td>
	</tr>
	<tr>
		<td height="23" class="td_content">家庭地址：</td>
		<td class="td_content"><input name="HomeAddr" type="text" class="input_1" id="HomeAddr" size="60" value="<%=HomeAddr%>" /></td>
	</tr>
	<tr>
		<td height="23" class="td_content">QQ：</td>
		<td class="td_content"><input name="QQ" type="text" class="input_1" id="QQ" size="60" value="<%=QQ%>" /></td>
	</tr>
	<tr>
		<td height="23" class="td_content">MSN：</td>
		<td class="td_content"><input name="MSN" type="text" class="input_1" id="MSN" size="60" value="<%=MSN%>" /></td>
	</tr>
	<tr>
		<td height="23" class="td_content">联系电话：</td>
		<td class="td_content"><input name="Tel" type="text" class="input_1" id="Tel" size="60" value="<%=Tel%>" />
						<br />
						(格式：0755-25532646 ，多个电话请用,隔开)</td>
	</tr>
	<tr>
		<td height="23" class="td_content">移动电话：</td>
		<td class="td_content"><input name="Mobile" type="text" class="input_1" id="Mobile" size="60" value="<%=Mobile%>" />
						<br />
						(格式：0755-25532646 ，多个电话请用,隔开)</td>
	</tr>
	<tr>
		<td height="15" colspan="2"></td>
	</tr>
	<tr>
		<td height="23" colspan="2" class="td_content"><strong>状态信息</strong></td>
		</tr>
	<tr>
		<td height="23" class="td_content">是否隐藏：</td>
		<td class="td_content"><input type="radio" name="IsHidden" value="1" <%If IsHidden = "1" Then Response.Write("checked")%>>
是
	<input type="radio" name="IsHidden" value="0" <%If IsHidden = "0" Then Response.Write("checked")%>>
否</td>
	</tr>
	<tr>
		<td height="23" class="td_content">是否锁定：</td>
		<td class="td_content"><input type="radio" name="IsLock" value="1" <%If IsLock = "1" Then Response.Write("checked")%>>
			是 
			<input type="radio" name="IsLock" value="0" <%If IsLock = "0" Then Response.Write("checked")%>> 
			否 </td>
	</tr>
	<tr>
      <td height="23" class="td_content">是否高级人才：</td>
	  <td class="td_content"><input type="radio" name="IsGj" value="1" <%If IsGj = "1" Then Response.Write("checked")%>>
	    是
	    <input type="radio" name="IsGj" value="0" <%If IsGj = "0" Then Response.Write("checked")%>>
	    否</td>
    </tr>
	<tr>
		<td height="23" class="td_content">帐号审核：</td>
		<td class="td_content"><input type="radio" name="IsSh" value="0" <%If IsSh = "0" Then Response.Write("checked")%>>
是
	<input type="radio" name="IsSh" value="1" <%If IsSh = "1" Then Response.Write("checked")%>>
否 </td>
	</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td align="center"><input name="Submit" type="submit" class="input_1" value=" 修  改 ">
			<input name="Submit" type="reset" class="input_1" value=" 重  置 ">
			<input name="Submit" type="button" class="input_1" value=" 返  回 " onClick="javascript:history.back();"></td>
	</tr>
</table>
</form>
<script language="javascript">
	InitPosition("Position_b" , "Position_s" , arrPosition_b , arrPosition_s , "<%=Position_b%>" , "<%=Position_s%>")
	InitArea("Province" , "City" , "County" , arrProvince , arrCity , arrCounty , "<%=Province%>" , "<%=City%>" , "<%=County%>")
</script>
<br>
</body>
</html>
