<!--#include file="mdb.asp"-->
<!--#Include File="Check_hx.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/format.asp"-->
<!--#include file="inc/inc.asp"-->

<%
if request.QueryString("action")="endepot_add" then
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
if mid(server_v1,8,len(server_v2))<>server_v2 then
Response.Write("<script language=javascript>alert('你提交的路径有误，禁止从站点外部提交数据请不要乱改参数！');this.location.href='http://www.vip138.com';</script>") 
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select id from endepot where enid="&rd_uid&""
rs.open sql,conn,1,1
if rd_Grade=0  then
if rs.recordcount>=en_max1 then
rs.close
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('普通用户人才库上限为"&en_max1&"个，若您需要更多的库存，请与管理员联系！');" & "history.back()" & "</script>" 
Response.End
end if
else
if rs.recordcount>=en_vip_max1 then
rs.close
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('抱歉，您的人才库已满！');" & "history.back()" & "</script>" 
Response.End
end if
end if
rs.close
sql="select id from in_user where enid="&clng(request("inid"))
rs.open sql,conn,1,1
if rs.recordcount=0 then
rs.close
response.write "<script language=JavaScript>" & chr(13) & "alert('无此人才！');" & "history.back()" & "</script>" 
Response.End
end if
rs.close
sql="select id from endepot where enid="&rd_uid& "and inid="&clng(request("inid"))
rs.open sql,conn,1,1
if rs.recordcount<>0 then
rs.close
response.write "<script language=JavaScript>" & chr(13) & "alert('您已经添加过此人才！');" & "history.back()" & "</script>" 
Response.End
end if
rs.close
sql="insert into endepot(enid,inid) values("&rd_uid&","&clng(request("inid"))&")"
rs.open sql,conn,1,1
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('添加成功！');" & "history.back()" & "</script>" 
end if






  if request.querystring("id")="" then
  founderr=true
  Response.Write("<script language=javascript>alert('你必须指定操作的对象！');history.back(1);</script>")
  end if
                if request.querystring("id")<>"" then
    if not isInteger(request.querystring("id")) then
    Response.Redirect "show_error.asp?eid=传值参数非法!"
    Response.End
    end if
	id=CLng(request("id"))
else
	id=0
end if
set rs=server.createobject("adodb.recordset")
sql="select userid,username,userlock,lastlogintime from user where userid="&clng(request.QueryString("id"))&""
rs.open sql,conn,1,1
if rs.recordcount=0 then
  Response.Write("<script language=javascript>alert('无此用户！');history.back(1);</script>")
end if
username=rs("username")
lastlogintime=rs("lastlogintime")
userid=rs("userid")
if rs("userlock")=1 then
rs.close
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('此用户已被管理员锁定！');"&"window.location.href = 'index.asp'"&" </script>"
response.end
end if

set rs=server.createobject("adodb.recordset")
sql="select name,code,bdate,sex,guoji,shenggao,tizhong,minzu,marry,hka,hkb,edu,zye,zhuanyen1,zyes,zhuanyen2,school,bydate,zzmm,zcheng,jyjl,rctype,language,lanlevel,languages,lanlevels,pthua,computer,kgzjl,gznum,kothertc,kmubiao,email,jobtype,job,job1,job2,job3,job4,job5,gzdd,gzcs,gzcs1,yuex,grzz,address,posts,phone,shouji,oicq,web,pic,clicks from in_user where name<>''and job<>'' and enid="&userid
rs.open sql,conn,1,1
if rs.recordcount=0 then
  Response.Write("<script language=javascript>alert('无此用户人才资料！');history.back(1);</script>")
end if
sql1="update in_user set clicks="&rs("clicks")+1&" where enid="&userid
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,conn,1,1
set rs1=nothing
start="人才招聘 - 人才信息"
call head()
call menu()

%>
<TABLE class=table-rds cellSpacing=0 cellPadding=0 width=950 align=center 
bgColor=#ffffff border=0>
  <TBODY>
  <TR>
    <TD height=25>&nbsp;&nbsp;&nbsp;您的位置：<A 
      href="index.asp"><%=webname%></A> -&gt;&gt; <A 
      href="jobperson.asp">人才招聘</A> <FONT 
      color=#ff6600>→</FONT> 人才信息</TD></TR></TBODY></TABLE>
<TABLE class=table-rds cellSpacing=0 cellPadding=0 width=950 align=center 
bgColor=#ffffff border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=middle>
      <TABLE class=b4 style="BORDER-COLLAPSE: collapse" cellSpacing=1 
      cellPadding=0 width="98%" align=center border=0>
        <TBODY>
        <TR>
          <TD vAlign=top>
            <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#f0f0f0 
            cellSpacing=0 cellPadding=5 width="100%" align=center 
            bgColor=#ffffff border=1>
              <TBODY>
              <TR>
                <TD align=middle bgColor=#ff7700 colSpan=5><STRONG><FONT 
                  style="FONT-SIZE: 12px" face=宋体 
                  color=#ffffff>《<%=rs("name")%>》的个人简历(被阅<%=rs("clicks")+1%>次)</FONT></STRONG></TD></TR>
              <TR>
                <TD colSpan=5 height=25>&nbsp;·<FONT 
                  color=#ff0000>个人基本信息</FONT></TD></TR>
                  <%set rs01=server.createobject("adodb.recordset")
sql="select usergrade from [User] where userid="&userid&""
rs01.open sql,conn,1,1
%>
              <TR>
                <TD width="10%" height=25>&nbsp;姓&nbsp;&nbsp;&nbsp;&nbsp;名：</TD>
                <TD width="26%"><%=rs("name")%>&nbsp;&nbsp;<%if rs01("usergrade")=0 then%>普通会员<%else%><font color=red>VIP会员</font>
                <%
                rs01.closed
                set rs01=nothing
                end if%></TD>
                <TD width="10%" height=25>&nbsp;性&nbsp;&nbsp;&nbsp;&nbsp;别：</TD>
                <TD width=*><%=rs("sex")%></TD>
                <TD align=middle width=180 rowSpan=8><img border="0" src="<%if rs("pic")<>"" then
						response.write rs("pic")
						else
						response.write "img/zp.gif"
						end if
						%>" width="120" height="150"></TD></TR>
              <TR>
                <TD height=25>&nbsp;出生日期：</TD>
                <TD><%=rs("bdate")%></TD>
                <TD height=25>&nbsp;民&nbsp;&nbsp;&nbsp;&nbsp;族：</TD>
                <TD><%=rs("minzu")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;户&nbsp;&nbsp;&nbsp;&nbsp;籍：</TD>
                <TD><%=rs("guoji")+"&nbsp;"+rs("hka")%></TD>
                <TD height=25>&nbsp;身&nbsp;&nbsp;&nbsp;&nbsp;高：</TD>
                <TD><%=rs("shenggao")%>cm</TD></TR>
              <TR>
                <TD height=25>&nbsp;婚姻状况：</TD>
                <TD><%=rs("marry")%></TD>
                <TD height=25>&nbsp;体&nbsp;&nbsp;&nbsp;&nbsp;重：</TD>
                <TD><%=rs("tizhong")%>kg</TD></TR>
              <TR>
                <TD height=25>&nbsp;政治面貌：</TD>
                <TD><%=rs("zzmm")%></TD>
                <TD height=25>&nbsp;学&nbsp;&nbsp;&nbsp;&nbsp;历：</TD>
                <TD><%=rs("edu")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;毕业时间：</TD>
                <TD><%=rs("bydate")%></TD>
                <TD height=25>&nbsp;毕业院校：</TD>
                <TD><%=rs("school")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;身 份 证：</TD>
                <TD><%=rs("code")%></TD>
                <TD height=25>&nbsp;专&nbsp;&nbsp;&nbsp;&nbsp;业：</TD>
                <TD><%=rs("zye")+"&nbsp;"+rs("zhuanyen1")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;现有职称：</TD>
                <TD><%=rs("zcheng")%></TD>
                <TD height=25>&nbsp;第二专业：</TD>
                <TD><%=rs("zyes")+"&nbsp;"+rs("zhuanyen2")%>&nbsp;</TD></TR>
              <TR>
                <TD height=25>&nbsp;现住地点：</TD>
                <TD colSpan=4><%=rs("hkb")%></TD></TR></TBODY></TABLE>
            <DIV style="MARGIN-TOP: 10px"></DIV>
            <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#f0f0f0 
            cellSpacing=0 cellPadding=5 width="100%" align=center 
            bgColor=#ffffff border=1>
              <TBODY>
              <TR>
                <TD colSpan=4 height=25>&nbsp;·<FONT 
                color=#ff0000>求职意向</FONT></TD></TR>
              <TR>
                <TD width="15%" height=25>&nbsp;应聘职位类型：</TD>
                <TD width="35%"><%=rs("job")%></TD>
                <TD width="15%" height=25>&nbsp;求职类型：</TD>
                <TD width="35%"><%if rs("jobtype")="两者兼可" then
						response.write "全职或者兼职"
						else
						response.write rs("jobtype")
						end if
						%></TD></TR>
              <TR>
                <TD height=25>&nbsp;月薪要求：</TD>
                <TD><%
						if rs("yuex")<>"" then
						response.write rs("yuex")+"元(RMB)"
						else
						response.write "面议"
						end if
						%></TD>
                <TD height=25>&nbsp;具体职位一：</TD>
                <TD><%=rs("job1")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;具体职位二：</TD>
                <TD><%=rs("job2")%></TD>
                <TD height=25>&nbsp;具体职位三：</TD>
                <TD><%=rs("job3")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;具体职位四：</TD>
                <TD><%=rs("job4")%></TD>
                <TD height=25>&nbsp;具体职位五：</TD>
                <TD><%=rs("job5")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;希望工作地区：</TD>
                <TD><%=rs("gzdd")+"&nbsp;"+rs("gzcs")%></TD>
                <TD height=25>&nbsp;其他工作地区：</TD>
                <TD><%=rs("gzcs1")%></TD></TR></TBODY></TABLE>
            <DIV style="MARGIN-TOP: 10px"></DIV>
            <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#f0f0f0 
            cellSpacing=0 cellPadding=5 width="100%" align=center 
            bgColor=#ffffff border=1>
              <TBODY>
              <TR>
                <TD colSpan=4 height=25>&nbsp;·<FONT 
                  color=#ff0000>相关工作经历及特长</FONT></TD></TR>
              <TR>
                <TD width="15%" height=25>&nbsp;人才类型：</TD>
                <TD width="35%"><%=rs("rctype")%></TD>
                <TD width="15%" height=25>&nbsp;相关工作时间：</TD>
                <TD width="35%"><%=rs("gznum")%>年</TD></TR>
              <TR>
                <TD height=25>&nbsp;外语语种：</TD>
                <TD><%=rs("language")%></TD>
                <TD height=25>&nbsp;外语水平：</TD>
                <TD><%=rs("lanlevel")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;其它外语语种：</TD>
                <TD><%=rs("languages")%></TD>
                <TD height=25>&nbsp;其它外语水平：</TD>
                <TD><%=rs("lanlevels")%></TD></TR>
              <TR>
                <TD height=25>&nbsp;普通话水平：</TD>
                <TD><%=rs("pthua")%></TD>
                <TD height=25>&nbsp;计算机能力：</TD>
                <TD><%=rs("computer")%></TD></TR></TBODY></TABLE>
            <DIV style="MARGIN-TOP: 10px"></DIV>
            <TABLE 
            style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all; LINE-HEIGHT: 150%; BORDER-COLLAPSE: collapse" 
            borderColor=#f0f0f0 cellSpacing=0 cellPadding=5 width="100%" 
            align=center bgColor=#ffffff border=1>
              <TBODY>
              <TR>
                <TD height=25>&nbsp;·<FONT color=#ff0000>教育/培训经历</FONT></TD></TR>
              <TR>
                <TD><%=rs("jyjl")%></TD></TR>
              <TR>
                <TD height=25>　</TD></TR>
              <TR>
                <TD height=25>&nbsp;·<FONT color=#ff0000>工作经验</FONT></TD></TR>
              <TR>
                <TD><%=rs("kgzjl")%></TD></TR>
              <TR>
                <TD height=25>　</TD></TR>
              <TR>
                <TD height=25>&nbsp;·<FONT color=#ff0000>工作技能</FONT></TD></TR>
              <TR>
                <TD><%=rs("kothertc")%></TD></TR>
              <TR>
                <TD height=25>　</TD></TR>
              <TR>
                <TD height=25>&nbsp;·<FONT color=#ff0000>职业目标</FONT></TD></TR>
              <TR>
                <TD><%=rs("kmubiao")%></TD></TR>
              <TR>
                <TD height=25>　</TD></TR>
              <TR>
                <TD height=25>&nbsp;·<FONT color=#ff0000>自我介绍</FONT></TD></TR>
              <TR>
                <TD><%=rs("grzz")%></TD></TR></TBODY></TABLE>
            <DIV style="MARGIN-TOP: 10px"></DIV>
            <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#f0f0f0 
            cellSpacing=0 cellPadding=5 width="100%" align=center 
            bgColor=#ffffff border=1>
              <TBODY>
              <TR>
                <TD colSpan=4 height=25>&nbsp;·<FONT 
                color=#ff0000>联系方式</FONT></TD></TR>
                <%
               hy_sum=conn.execute("select count(*) from hy where tjuser='"&rd_name&"'")(0)
if hy_sum=0 then 
%>

 
   <tr>
     <td height="25" width="15%">&nbsp;通讯地址：</td><td width="35%"><%=rs("address")%></td>
     <td height="25" width="15%">&nbsp;邮政编码：</td><td width="35%"><%=rs("posts")%></td>
   </tr>
   <tr>
     <td height="25">&nbsp;联系电话：</td><td><%=rs("phone")%></td>
     <td height="25">&nbsp;移动电话：</td><td><%=rs("shouji")%></td>
   </tr>
   <tr>
     <td height="25">&nbsp;电子信箱：</td><td><a href="mailto:<%=rs("email")%>"><%=rs("email")%></a></td>
     <td height="25">&nbsp;个人网站：</td><td><%if rs("web")<>"" then response.write "<a target='_blank' href='"&rs("web")&"'>"&rs("web")&"</a>"%></td>
   </tr>
   <tr>
     <td height="25">&nbsp;OICQ：</td><td><%=rs("oicq")%></td>
     <td height="25">&nbsp;上次登陆时间：</td><td><%=lastlogintime%></td>
   </tr>
   <tr>
     <td height="25" colspan="4">　</td>
   </tr>
   <tr>
     <td height="25" colspan="4" align="center"><a href="?action=endepot_add&inid=<%=userid%>"><img border="0" src="img/hypic/company_m5.gif"></a> <a href="Messager.asp?action=new&touser=<%=username%>&title=关于我公司招聘人才的意向" title="点击给love777发短信咨询" target='_blank'><img border="0" src="img/hypic/company_m1.gif"></a> <A HREF="JavaScript:window.print();"><img border="0" src="img/hypic/company_m2.gif"></a> <A HREF="JavaScript:window.close();"><img border="0" src="img/hypic/company_m3.gif"></a></td>
   </tr>
<%
end if
rs1.close
set rs1=nothing
rs.close
set rs=nothing
%>               
                  </TBODY></TABLE></TD></TR></TBODY></TABLE><BR></TD></TR></TBODY></TABLE>
<%
call footer()
%>