<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<% data_path="../" 'ACC连接数据库路径，对SQL无效 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=webname%>个人求职</title>
<link rel="stylesheet" href="<%=HOPE_InstallDir%>Blue/Blue.css" type="text/css" />
<link rel="stylesheet" href="<%=HOPE_InstallDir%>images/General.css" type="text/css" />
<!--#include file="../inc/head.asp"--> 
 	 
 <%

'------------------------------------
   
  if isSession=0 then
 	  if Replace_Text(Request.Cookies("jobuser"))=""  or Replace_Text(Request.Cookies("jobuserid"))="" then
	   response.Redirect(HOPE_InstallDir&"job/")
	  end if
	  jobid=Replace_Text(Request.Cookies("jobuserid"))
	  else
	  if session("jobid")="" or  session("jobuser")="" then
	   response.Redirect(HOPE_InstallDir&"job/")
	  end if  
	  jobid=session("jobid")
  end if
  
 msg=""

 modijob=Replace_Text(request("modijob"))
 truename=Replace_Text(request("truename"))
 jobuser=Replace_Text(request("jobuser"))
 jobpass=Replace_Text(request("jobpass"))
 addtime=Replace_Text(request("addtime"))
 hits=Replace_Text(request("hits"))
 sfcode=Replace_Text(request("sfcode"))
 borndate=Replace_Text(request("borndate"))
 age=Replace_Text(request("age"))
 sex=Replace_Text(request("sex"))
 
 country1=Replace_Text(request("country1"))
 province=Replace_Text(request("province"))
 city=Replace_Text(request("city"))
 high=Replace_Text(request("high"))
 weight=Replace_Text(request("weight"))
 ismarry=Replace_Text(request("ismarry"))
 addr=Replace_Text(request("addr"))
 xueli=Replace_Text(request("xueli"))
 learnname=Replace_Text(request("learnname"))
leftdate =Replace_Text(request("leftdate"))

leftschool =Replace_Text(request("leftschool"))
zhicheng =Replace_Text(request("zhicheng"))
jobkind=Replace_Text(request("jobkind"))
jobzhiwei=Replace_Text(request("jobzhiwei"))
jobzhiwei2=Replace_Text(request("jobzhiwei2"))
jobaddr=Replace_Text(request("jobaddr"))
jobmoney=Replace_Text(request("jobmoney"))
contactperson=Replace_Text(request("contactperson"))
post=Replace_Text(request("post"))
tel =Replace_Text(request("tel"))
jobtype=Replace_Text(request("jobtype"))
mobile=Replace_Text(request("mobile"))
homeurl=Replace_Text(request("homeurl"))
othercontact=Replace_Text(request("othercontact"))
des =Replace_Text(request("des"))
jingyan=Replace_Text(request("jingyan"))
if modijob<>"" then
   set rsm=server.CreateObject("adodb.recordset")
   sqlm="select  * from Websen_jobuser  where id="&jobid
   rsm.open sqlm,conn,1,3
   if not rsm.eof then
     rsm("truename")=truename
     rsm("sfcode")=sfcode
     rsm("borndate")=borndate
	 rsm("age")=age
	 rsm("sex")=sex
	 rsm("country")=country1
 	 rsm("province")=province
	 rsm("city")=city
	 rsm("high")=high
	 rsm("weight")=weight
	 rsm("ismarry")=ismarry
	 rsm("addr")=addr
	 rsm("xueli")=xueli
	 rsm("learnname")=learnname
	 rsm("leftdate")=leftdate
	 rsm("leftschool")=leftschool
	 
	 rsm("zhicheng")=zhicheng
	 rsm("jobkind")=jobkind
	 rsm("jobzhiwei")=jobzhiwei
	 rsm("jobzhiwei2")=jobzhiwei2
	 rsm("jobaddr")=jobaddr
	 rsm("jobmoney")=jobmoney
	 rsm("contactperson")=contactperson
	 rsm("post")=post
	 rsm("tel")=tel
	 rsm("mobile")=mobile
	 rsm("jobtype")=jobtype
	 rsm("homeurl")=homeurl
	 rsm("othercontact")=othercontact
	 rsm("des")=des
	 rsm("jingyan")=jingyan
	 rsm.update
	 msg="<font color=red>资料修改成功！</font>" 
   rsm.close
   end if

end if 
 
 
 
%>
<body> 
<div class="juzhong"> 
<table width="760" height="57" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="192"><a href="<%=HOPE_InstallDir%>job/"><img src="../hc360/job.gif" width="164" height="69" border="0" /></a></td>
    <td width="568" valign="top" class="job_bjing" style=" padding-top: 3px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="20" valign="top" style=" text-align:right; padding-right: 5px; color:#ffffff">如果您有疑问或建议？请 在线提问</td>
      </tr>
      <tr>
        <td height="35">&nbsp;【<font color="#006699"><b>
          <%
	if issession=0 then
	response.Write(Request.Cookies("jobuser"))
	else
	response.Write(session("jobuser"))
	end if
 	
	%>
        </b></font>】<font color="#000000"><b> 欢迎进入<%=webname%>个人求职会员管理中心!</b></font></td>
      </tr>
    </table></td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="760" height="5">
  <tr>
    <td></td>
  </tr>
</table>
<table width="760" border="0" cellpadding="0" cellspacing="0">
   <tr>
    <td width="190" align="center" valign="top"><!--#include file="../job/left.asp"--></td>
    <td height="400" valign="top">
	<table width="100%" border="1" style="border-collapse:collapse"  align="center" cellpadding="0" cellspacing="0" bordercolor="#BAC5CD" >
	<tr><td height="50">◇.祝您找到合适的工作！<br />
	◇.您的求职简历已经被查阅过&nbsp;<font color="red">
	<%
	if issession=0 then
	response.Write(Request.Cookies("hits"))
	else
	response.Write(session("hits"))
 	end if 		
	%>
	
	</font>&nbsp;次！
	 </td></tr>  <tr><td   height="1"  bgcolor="#375771" ></td></tr>
 	 <tr><td align="center" height="5"></td>
	 </tr>
	 <tr><td   >

 
<table width="100%" border="0" cellspacing="0" cellpadding="0" align=center class="tableBorder"> 
 
  
   <tr><td colspan="2" align="center"><span class="STYLE1">简历信息修改</span>&nbsp;<%=msg%></td>
   </tr>
  
  <%
	set rs=server.CreateObject("adodb.recordset")
   sqlz="select  * from Websen_jobuser  where id="&jobid
   rs.open sqlz,conn,1,1
  %> 
  <tr> 
 <%
	 
 if rs.eof then
response.Write"<td  colspan=2><br><br><div align='center'>暂无数据信息</div><br><br></td>"
else
%>

  
 <form name="jobform"   method="post" action="modijobinfo.asp">
 <TR bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'">  <td height="30" colspan="2">&nbsp; <script language="JavaScript" src="../js/calendar.js"> </script> 
     <strong>真实姓名</strong>: 
     <input name="truename" type="text" value="<%=rs("truename")%>" size="20"  maxlength="8"/>
   </td>
 </tr>
   <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'" ><td height="25" colspan="2">&nbsp;&nbsp;有效证件号:<input name="sfcode"  type="text" value="<%=rs("sfcode")%>" size="20" maxlength="20" /></td>
   </tr>
      <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;出生日期:
        <input name="borndate"  type="text" onFocus="calendar()" value="<%=rs("borndate")%>" size="20" maxlength="20"/>&nbsp;&nbsp;&nbsp;&nbsp;年龄:<input name="age"  type="text"  onBlur="if(/[^0-9]/g.test(this.value)){alert('请输入整型数字！');this.value=0}" value="<%=rs("age")%>" size="4" maxlength="4"/>&nbsp;&nbsp;&nbsp;&nbsp;性别:<select size="1" name="sex" >
	<option value="男" <%if rs("sex")="男" then response.Write("selected") end if%>>男</option>
	<option value="女" <%if rs("sex")="女" then response.Write("selected") end if%>>女</option>
	 </select>
</td>
      </tr>
       <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;所在区域:   
	     <SELECT style="WIDTH: 90px"   onchange=javascript:changeCountry1(this); name=country1>
    </SELECT>&nbsp;&nbsp; <SELECT style="WIDTH: 60px"     onchange=changeProvince(this); name=province>
       <OPTION value=""    selected>省份</OPTION>
       </SELECT> 
	   &nbsp;&nbsp;<SELECT name=city>   
	     <OPTION value=""     selected>地级</OPTION>
      </SELECT>
  <SCRIPT language=javascript src="../js/area1.js"   purpose="INITIALIZER"></SCRIPT>
  <SCRIPT language=javascript>
<!--
    //设置国家1的缺省值
    for (var i=0;i<5;i++){
	    if (country1form.options[i].value == '<%=rs("country")%>'){
		    country1form.options[i].selected=true;
		}
	}
     for (var i=0;i<catArr1.length;i++) {
		catform.options[i+1]=new Option(catArr1[i].title,catArr1[i].id);
		//设置省选择框的选择值
		if(catform.options[i+1].value == '<%=rs("province")%>'){
	        	catform.options[i+1].selected=true;
	        }
	}
	changeProvince(catform);
	var len = boardform.options.length;
	for (var i=0;i<len;i++) {
		//设置城市选择框的选择值
		if(boardform.options[i].value == '<%=rs("city")%>') {
		    boardform.options[i].selected=true;
		}
	}
     if (country1form.options[country1form.selectedIndex].value!='中国') {
	    catform.style.display = 'none';
	    boardform.style.display = 'none';
		}
 -->
</SCRIPT>
	  
	  
	 </td>
       </tr>
       <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"
><td height="30" colspan="2">&nbsp;&nbsp;身高:
         <input name="high"  type="text" value="<%=rs("high")%>" size="4" maxlength="5" />
       m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;体重:<input name="weight"  type="text" value="<%=rs("weight")%>" size="4" maxlength="5" />
      kg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;婚否:<select size="1" name="ismarry" >
 	<option value="未婚" <%if rs("ismarry")="未婚" then response.Write("selected") end if%>>未婚</option><option value="已婚" <%if rs("ismarry")="已婚" then response.Write("selected") end if%>>已婚</option>
	 </select></td>
       </tr>
 	  
  
      <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;联系地址:<input name="addr"  type="text" value="<%=rs("addr")%>" size="50" maxlength="50" /></td>
      </tr>
	  <tr><td    bgcolor="#D9E0F0" height="10" colspan="2"></td></tr>
      <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"
><td height="30" colspan="2">&nbsp;&nbsp;学历:
        <select size="1" name="xueli">
	  <option value="初中" <%if rs("xueli")="初中" then response.Write("selected") end if%>>初中</option>
	  <option value="高中" <%if rs("xueli")="高中" then response.Write("selected") end if%>>高中</option>
	  <option value="中技" <%if rs("xueli")="中技" then response.Write("selected") end if%>>中技</option>
	  <option value="中专" <%if rs("xueli")="中专" then response.Write("selected") end if%> >中专</option>
	  <option value="大专" <%if rs("xueli")="大专" then response.Write("selected") end if%>>大专</option>
	  <option value="本科" <%if rs("xueli")="本科" then response.Write("selected") end if%>>本科</option>
	  <option value="硕士" <%if rs("xueli")="硕士" then response.Write("selected") end if%>>硕士</option>
	  <option value="博士" <%if rs("xueli")="博士" then response.Write("selected") end if%>>博士</option>
	  </select>
	  
	  </td>
      </tr>
      
      <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;专业名称:<input name="learnname"  type="text" value="<%=rs("learnname")%>" size="20" maxlength="15" />
      &nbsp;&nbsp;毕业时间:
      <input name="leftdate"  type="text"   onFocus="calendar()" value="<%=rs("leftdate")%>" size="20" maxlength="20"/></td>
      </tr>
      <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"
><td height="30" colspan="2">&nbsp;&nbsp;毕业院校:<input name="leftschool"  type="text" value="<%=rs("leftschool")%>" size="50" maxlength="50" /></td>
      </tr>
       <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="40" colspan="2">&nbsp;&nbsp;职称:
	 &nbsp;&nbsp; <select size="1" name="zhicheng">
		<option value="高级"  <%if rs("zhicheng")="高级" then response.Write("selected") end if%>>高级</option>
		<option value="中级" <%if rs("zhicheng")="中级" then response.Write("selected") end if%>>中级</option>
		<option value="初级" <%if rs("zhicheng")="初级" then response.Write("selected") end if%>>初级</option>
		<option value="暂无" <%if rs("zhicheng")="暂无" then response.Write("selected") end if%>>暂无</option>
		<option value="其它" <%if rs("zhicheng")="其它" then response.Write("selected") end if%>>其它</option>
	  </select><br />&nbsp;&nbsp;职业类别:<select size="1" name="jobkind">
	  <%
	  set rsl=server.CreateObject("adodb.recordset")
	  sqll="select * from Websen_jobkind"
	  rsl.open sqll,conn,1,1
	  if not rsl.eof then
	  do while not rsl.eof 
	  %>
<option value="<%=rsl("id")%>" <%if rs("jobkind")=rsl("id") then response.Write("selected") end if%>><%=rsl("kindname")%></option>
 	  <%
	  rsl.movenext
	  loop
	  rsl.close
	  end if
	  
	  %></select><br />
	  &nbsp;&nbsp;求职类型 <select size="1" style="font-size: 9pt" name="jobtype">
<option value="全职"  <%if rs("jobtype")="全职" then  response.Write("selected") end if%>>全职</option>
<option value="兼职" <%if rs("jobtype")="兼职" then  response.Write("selected") end if%>>兼职</option>
<option value="全职或兼职" <%if rs("jobtype")="全职或兼职" then  response.Write("selected") end if%>>全职或兼职</option>

</SELECT>
	  </td>
       </tr>  <tr><td    bgcolor="#D9E0F0" height="10" colspan="2"></td></tr>
       <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;应聘职位一:<input name="jobzhiwei"  type="text" value="<%=rs("jobzhiwei")%>" size="20" maxlength="15" />
       <br />
       &nbsp;&nbsp;应聘职位二:<input name="jobzhiwei2"  type="text" value="<%=rs("jobzhiwei2")%>" size="20" maxlength="15" /></td>
       </tr>
       <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;希望的工作地点:<input name="jobaddr"  type="text" value="<%=rs("jobaddr")%>" size="50" maxlength="50" /></td>
       </tr>
      <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;薪资要求:<input name="jobmoney"  type="text" value="<%=rs("jobmoney")%>" size="6" maxlength="6"   onBlur="if(/[^0-9]/g.test(this.value)){alert('请输入整型数字！');this.value=0}"/>
      元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;联系人:<input name="contactperson"  type="text" value="<%=rs("contactperson")%>" size="20" maxlength="8" /></td>
      </tr><tr><td colspan="2"></td></tr>
      <tr  onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;邮编:&nbsp;&nbsp;<input name="post"  type="text" value="<%=rs("post")%>" size="20" maxlength="10" />
      <br />
      &nbsp;&nbsp;电话:&nbsp;&nbsp;<input name="tel"  type="text" value="<%=rs("tel")%>" size="20" maxlength="15" />
      <br />
      &nbsp;&nbsp;手机:&nbsp;&nbsp;<input name="mobile"  type="text" value="<%=rs("mobile")%>" size="20" maxlength="18" /></td>
      </tr>
      <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td colspan="2"></td></tr>
      <tr  onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td colspan="2"></td></tr>
          <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;个人主页:
            <input name="homeurl"  type="text" value="<%=rs("homeurl")%>" size="30" maxlength="25" /></td>
          </tr> 
		   <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&nbsp;&nbsp;其它联系方式:
		     <input name="othercontact"  type="text" value="<%=rs("othercontact")%>" size="50" maxlength="50" /></td>
		   </tr>
<tr><td    bgcolor="#D9E0F0" height="10" colspan="2"></td></tr>
      <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td width="13%" align="center"   valign="middle"><span class="STYLE3">个人简介</span>:</td>
      <td width="87%"><textarea name="des" rows="15" cols="65"><%=rs("des")%></textarea> </td>
      </tr>
	  <tr><td    bgcolor="#D9E0F0" height="10" colspan="2"></td></tr>
      <tr  onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td align="center"   valign="middle"><span class="STYLE3">个人经验</span>:</td>
      <td><textarea name="jingyan" rows="15" cols="65"><%=rs("jingyan")%></textarea>  </td></tr>
	  <tr><td bgcolor="#CCCCCC" height="2" colspan="2"></td></tr>
      <tr><td colspan="2"  align="center"    height="50"><input type="submit" name="modijob"  value=" 修 改 "/></td></tr>
	  </form>

  <%
  end if
%>
 </table>



	 
	 
	 
	 
	 
	 
	 
	 
	 
	 </td></tr>
    <tr><td  >  </td></tr>
	 </table>
	</td>
  </tr>
    
</table> 
 <!--#include file="../inc/end.asp"-->
 </div>
</body>
</html>
