<%@ codepage ="936" %>
 <% 
	data_path="../../" 'ACC连接数据库路径，对SQL无效
	numid="16"
	dir="../err.asp" 
  %>
  <!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
<!--#include file="../rolecheck.asp"-->

<LINK href="../css/style.css" rel=stylesheet type=text/css> 
 <script>
  
 function isdel()
 {
 var i=confirm("你确定要删除吗？");
 if(i)
 {
 return true;
 }
 else
 {
  return false;
 
 }
 }
 
</script>
<title>招聘信息---求职者管理</title>
 <%
 jobusername=Replace_Text(request("jobusername"))
 id=Replace_Text(request("id"))
 if id="" then
 response.Write("<script >alert('对不起！参数传递错误！');history.back(-1);</script>")
 response.End()
 end if
 %>
 <style type="text/css">
<!--
.STYLE3 {color: #0099CC; font-weight: bold; }
.STYLE4 {
	color: #FF0000;
	font-weight: bold;
}
.STYLE5 {color: #0099CC}
-->
 </style>
 
 <%
 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="&id
   rsm.open sqlm,conn,1,3
   if not rsm.eof then
   rsm("truename")=truename
   rsm("jobuser")=jobuser
   rsm("jobpass")=jobpass
   rsm("addtime")=addtime
  rsm("hits")=hits
   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
   rsm.close
   end if

end if 
 
 
 
 %>
 <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center class="tableBorder"> 
  <tr> 
     <th height=25 colspan="2" class="tableHeaderText">求职者【<%=jobusername%>】信息管理 </th> 
  </tr> 
   <tr> 
     <td width="10%" height=25 class="forumRowHighlight"> <B>操作选项</B></td> 
         <FORM name=searchForm action="work.asp" method=post onSubmit="javascript:if(doSearch()==false) return false;"><td class="forumRowHighlight">
       招聘信息关键字：<input name="keywords" type="text" value="">

       <input type="submit" value="立刻查找" id=submit name=submit>
         </td></form>
  </tr> 
</table> 
<table width="98%" border="0" cellspacing="0" cellpadding="0" align=center class="tableBorder"> 
 
 <tr><td colspan="5" align="left" height="25">&nbsp;<a href="jobkind.asp"><font color="#0066CC"><b>职业类别管理</b></font></a>&nbsp;&nbsp;<a  href="work.asp"><font color="#0066CC"><b>招聘信息管理</b></font></a>&nbsp;&nbsp;<a href="getjobp.asp" ><font color="#0066CC"><b>求职者信息管理</b></font></a> &nbsp;&nbsp;<a href="getjobdes.asp" ><font color="#0066CC"><b>求职注册协议管理</b></font></a></td ></tr>
  <tr> 
     <th height=9 colspan="5" class="tableHeaderText">&nbsp;</th> 	
  </tr> 
  
  <%
	set rs=server.CreateObject("adodb.recordset")
   sqlz="select  * from Websen_jobuser  where id="&id
   rs.open sqlz,conn,1,1
  %> 
  <tr> 
 <%
	 
 if rs.eof then
response.Write"<td><br><br><div align='center'>暂无数据信息</div><br><br></td>"
else
%>

  
 <form name="jobform"   method="post" action="getjobpinfo.asp">
 <TR bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'">  <td width="25%" height="30" colspan="2">&nbsp; <script language="JavaScript" src="../../js/calendar.js"> </script> 
     <strong>真实姓名</strong>:<input type="hidden" name="id" value="<%=id%>" />
     <input name="truename" type="text" value="<%=rs("truename")%>" size="20"  maxlength="16"/>
  <br />
  &nbsp;&nbsp;<span class="STYLE4">登录名</span>:&nbsp;&nbsp;
  <input name="jobuser" type="text" value="<%=rs("jobuser")%>" size="20"  maxlength="20"/>
  <br />
  &nbsp;&nbsp;<span class="STYLE4">密码</span>：&nbsp;&nbsp;&nbsp;&nbsp;<input name="jobpass" type="text" value="<%=rs("jobpass")%>" size="20" maxlength="20" /><br />&nbsp;&nbsp;<span class="STYLE5">注册日期</span>: &nbsp;<input name="addtime" type="text" value="<%=rs("addtime")%>" size="15" maxlength="20"   onFocus="calendar()"/>
 简历被访问的次数:<input name="hits" type="text" value="<%=rs("hits")%>" size="4" maxlength="5"    onBlur="if(/[^0-9]/g.test(this.value)){alert('请输入整型数字！');this.value=1}"/>
   &nbsp;<font color="#0099CC">(状态:<%
   if rs("islock")="1" then 
   response.Write("<font color=red>被锁定</font>")
  else
  response.Write("<font color=blue>正常</font>")
   end if
   %>)</font></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;年龄:<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;性别:<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;体重:<input name="weight"  type="text" value="<%=rs("weight")%>" size="4" maxlength="5" />
      kg&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="90" /></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="30" />&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="95" /></td>
      </tr>
       <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td height="30" colspan="2">&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>&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>&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 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="20" />&nbsp;&nbsp;应聘职位二:<input name="jobzhiwei2"  type="text" value="<%=rs("jobzhiwei2")%>" size="20" maxlength="20" /></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="90" /></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="8"  onBlur="if(/[^0-9]/g.test(this.value)){alert('请输入整型数字！');this.value=0}" />
      元&nbsp;&nbsp;联系人:<input name="contactperson"  type="text" value="<%=rs("contactperson")%>" size="20" maxlength="16" /></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;邮编:
        <input name="post"  type="text" value="<%=rs("post")%>" size="20" maxlength="20" />&nbsp;&nbsp;电话:<input name="tel"  type="text" value="<%=rs("tel")%>" size="20" maxlength="20" />&nbsp;&nbsp;手机:<input name="mobile"  type="text" value="<%=rs("mobile")%>" size="20" maxlength="20" /></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="35" /></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="95" /></td>
		   </tr>

      <tr bgcolor="#F7F7F7"   onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'"><td align="center"   valign="middle"><span class="STYLE3">个人简介</span>:</td>
      <td><textarea name="des" rows="15" cols="70"><%=rs("des")%></textarea> </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="70"><%=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>



  
<!--#include file="../copy.asp" -->
<%
rs.close
conn.close
%>