<% data_path="../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<!--#include file="../manage/makehtml/index/temp_inc.asp"-->
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=webname%>--个人求职用户登录</title>
	<style type="text/css">
	<!--
	body,td,th {
		font-size: 12px;
		color: #333333;
	}
	a {
		font-size: 12px;
	}
	body {
		margin-left: 0px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 0px;
		background-color: #FFFFFF;
	}
	a:link {
		color: #333333;
		text-decoration: none;
	}
	a:visited {
		text-decoration: none;
		color: #333333;
	}
	a:hover {
		text-decoration: underline;
		color: #FF0000;
	}
	a:active {
		text-decoration: none;
	}
 	.img{
		　　filter:alpha(opacity=50);
 	} 
	#user_m2{background-image:url(../images/top_07.gif); background-repeat:no-repeat; width:121px; height:35px; font-weight:bold;}
 	-->
	</style>
<LINK href="../images/style.css" type=text/css rel=stylesheet>
 <%
 if Replace_Text(Request("yixiang_Action"))="yixiang_Add" then 
%>
  <script language="JavaScript" type="text/JavaScript">
	<!--
	function MM_reloadPage(init) {  //reloads the window if Nav4 resized
	  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
		document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
	  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
	}
	MM_reloadPage(true);
	//-->
 </script>
  <style type="text/css">
<!--
.STYLE2 {
	color: #1566CC;
	font-weight: bold;
}
-->
  </style>
  <div id="Layer1" style="position:absolute; left:0px; top:0px; width:1003px; height:100%; z-index:1; background-image: url(images/div_bg.jpg); layer-background-image: url(images/div_bg.jpg); border: 1px none #000000;" class="img"></div>

<div id="Layer2" style="position:absolute; left:180px; top:194px; width:642px; height:100px; z-index:2; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000;">
 
  <%
		 url=request.ServerVariables("HTTP_REFERER")
		 verifycodes= Replace_Text(request("jobVerifycode"))
		 if verifycodes=""  then
			  verifycodes=1
			end if
 
		
		 if issession=0 then
		if Replace_Text(request.Cookies("safecode"))<>"" then
		 safecode=Replace_Text(request.Cookies("safecode"))
		 else
		 safecode=1111
		end if
		else
		 safecode=Session("SafeCode")
		end if

		
		
  if  cstr(verifycodes)<>cstr(safecode)   then
				response.write"<table width=""100%"" border=""0"" align=""left"" cellpadding=""0"" cellspacing=""0"" bgcolor=""#FFFFFF"">"
				response.write"<tr>"
				response.write"<td width=""5%"" align=""center""><img src="""&HOPE_InstallDir&"login/images/standard_msg_error.gif"" width=""16"" height=""16""><br></td>"
				response.write"<td width=""95%""\><br><table width =""100%""\><tr><td valign=""top"" style=padding-left:8px><font color=red><b>验证码错误，请重新输入<br>"
				response.write"</b>"
				response.write"</font></td></tr></table><br></td>"
				response.write"</tr>"
				Response.write "<tr><td align=center colspan=2><input name=""返回"" type=""button"" value=""返回""   style=""background-color:#E3E3E3;border:solid #CCCCCC"" onclick=""window.location.href='joblogin1.asp'""></td></tr>"
				response.write"</table>"
				
				
		else
 		dim UsernameGet,PasswordGet
		UsernameGet=Replace_Text(Request("jobUsernameGet"))
		PasswordGet=Replace_Text(Request("jobPasswordGet"))
 		 if UsernameGet<>"" and PasswordGet<>"" and  cstr(verifycodes)=cstr(safecode)  then
		 
		 
 		sql="select * from yixiang_jobuser where jobuser='"&UsernameGet&"' and jobpass='"&PasswordGet&"' and islock=0 "
		Set rs= Server.CreateObject("ADODB.Recordset") 
		rs.open sql,conn,1,3
		if rs.eof then
		response.write"<table width=""100%""  border=""0"" align=""left"" cellpadding=""0"" cellspacing=""0"" bgcolor=""#ffffff"">"
		response.write"<tr>"
		response.write"<td width=""5%"" align=""center""><img src="""&HOPE_InstallDir&"login/images/standard_msg_error.gif"" width=""16"" height=""16""><br></td>"
		response.write"<td width=""95%""\><br><table width =""100%""\><tr><td valign=""top"" style=padding-left:8px><font color=red><b> 登录名或密码错误<br>"
		response.write"</b>"
		response.write"</font>"
		response.write"<div class=s>您刚才输入的登录名是 <font color=ff0000><b>"&UsernameGet&"</b></font> <br>"
		response.write"您刚才输入的密码是<font color=ff0000><b>"&PasswordGet&"</b></font>，请核对一下刚才输入的登录名和密码是否正确，包括大小写，或你的登录名已经被锁定，再重新试一下</div>"
		response.write"</td></tr></table><br></td>"
		response.write"</tr>"
		Response.write "<tr><td align=center colspan=2><input name=""返回"" style=""background-color:#F3F2F2;border:solid  #CCCCCC"" type=""button"" value=""返回"" onclick=""window.location.href='joblogin1.asp'""></td></tr>"
		response.write"</table>"
	    end if
 	
 		if not rs.eof then
		 rs("lastlogin")=date()
		 if rs("logins")<>"" then
		 	rs("logins")=rs("logins")+1
		 else
		 	rs("logins")=1
		 end if
		 rs.update
		 if issession=0 then
		 Response.Cookies("jobuser")=rs("jobuser")
		 Response.Cookies("jobuserid")=rs("id")
		 if rs("hits")="" then
		 	hits=0
		 end if
		 Response.Cookies("hits")=hits
  	     Response.Cookies("jobuser").Expires=dateadd("n",time_score,now())
 	     Response.Cookies("jobuserid").Expires=dateadd("n",time_score,now())
 	     Response.Cookies("hits").Expires=dateadd("n",time_score,now())
			 
		 else
		  session("jobid")=rs("id")
		 session("jobuser")=rs("jobuser")
		 session("hits")=rs("hits")
		 session.Timeout=45
		 end if

		 
		 
   	     Response.Redirect(HOPE_InstallDir&"job/jobmanage.asp")
		 end if
		rs.close
		set rs=nothing
		end if
		end if
		
 		 if issession=0 then
 		  response.Cookies("safecode")=""
 		else
		  Session("SafeCode")=""
		end if
		
		
%>
</div>
 <%
 end if
 %>
<!--#include file="../job/person_top.asp"-->
<table width="988" border="0" align="center" cellpadding="0" cellspacing="0" id="jobperson">
  <tr>
    <td height="27" align="left">&nbsp;<font color="#006699"><b>Welcome!</b></font><font color="#FF0000"><b> 欢迎光临<%=webname%>个人求职会员管理中心! </b></font>&nbsp;【<a href="<%=HOPE_InstallDir%>job/">招聘中心首页</a>】</td>
  </tr>
</table>
<table width="988" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="329" valign="top">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="jobTable_top">
  <tr>
    <td width="23" height="29"><img src="../images/ico.gif" style="padding-left:5px;" /></td>
    <td width="239"><font class="title">会员登陆</font></td>
  </tr>
  <tr>
    <td colspan="2">
	<form action="" method="post" name="loginForm" id="loginForm"   >
      <table border="0" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" width="94%" align="center">

        <tr>
          <td colspan="2" bgcolor="#EBEBEB" height="1" ></td>
        </tr>
        <tr>
          <td colspan="2"  align="center"  height="30"><font color="#000000" style="font-weight:bold; font-size:14px">个人求职用户登录窗口</font></td>
        </tr>
        <tr   bgcolor="#FFFFFF" onmouseout="this.style.backgroundColor='#ffffff'" onmouseover="this.style.backgroundColor='#D7E3F3'">
          <td width="94" height="30" align="right"> 登录名：</td>
          <td width="220"><input type="text" value="" name="jobUsernameGet" maxlength="20"  style="border-width:1px; border-style:solid; border-collapse:collapse; border-color:#cccccc;width:120;height:19"  size="19" />          </td>
        </tr>
        <tr   bgcolor="#FFFFFF" onmouseout="this.style.backgroundColor='#ffffff'" onmouseover="this.style.backgroundColor='#D7E3F3'">
          <td height="30" align="right">密码：</td>
          <td><input type="password"  style="border-width:1px; border-style:solid; border-collapse:collapse; border-color:#cccccc;width:120;height:19" size="20"  value="" name="jobPasswordGet" maxlength="20" />          </td>
        </tr>
        <tr   bgcolor="#FFFFFF" onmouseout="this.style.backgroundColor='#ffffff'" onmouseover="this.style.backgroundColor='#D7E3F3'">
          <td height="30" align="right"> 验证码：</td>
          <td><input name="yixiang_Action" type="hidden" id="yixiang_Action" value="yixiang_Add" />
              <input name="jobVerifycode"   id="jobVerifycode"   style="border-width:1px; border-style:solid; border-collapse:collapse; border-color:#cccccc;width:50;height:19"   onkeyup="value=value.replace(/[^\d]/g,'') " size="4" maxlength="5" tonbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" />
              <img src="../vCode.asp?" onclick="this.src+=Math.random()" alt="图片看不清？点击重新得到验证码" style="cursor:hand;" /> </td>
        </tr>
        <tr height="50" align="center"   >
          <td colspan="2"><input type="submit" value="登 录" name="gogo" /></td>
        </tr>
        <tr height="50" align="center"   >
          <td height="60" colspan="2"><div style="width:253px; height:36px; background-image:url(../image/reg_6.gif); cursor:hand;"><div style="margin-top:8px;"><a href="<%=HOPE_InstallDir%>job/reg.asp"><font style="font-size:15px;">免 费 申 请 新 会 员</font></a></div>
          </div></td>
        </tr>
      </table>
        </form>
	</td>
  </tr>
</table>
	</td>
    <td width="659" valign="top"><table width="95%" border="0" align="center" cellpadding="3" cellspacing="1">
      <tr>
        <td width="11%"><img src="../image/reg_8.gif" /></td>
        <td width="89%"><table cellspacing="0" cellpadding="0">
          <tr>
            <td height="30"><span class="STYLE2">简历管理</span></td>
          </tr>
          <tr>
            <td height="30"><span style="color:red;"><%=webname%></span>的简历中心，您可以在此创建自己专业的个性化的简历。</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><img src="../image/reg_9.gif" /></td>
        <td><table cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" class="STYLE2">找工作</td>
          </tr>
          <tr>
            <td height="30">在茫茫职场中如何找工作？<span style="color:red;"><%=webname%></span>的职位搜索器助您一臂之力！</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><img src="../image/reg_10.gif" /></td>
        <td><table cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" class="STYLE2">在线申请工作</td>
          </tr>
          <tr>
            <td height="30">当您找到感兴趣的职位时，可以立即将您在<span style="color:red;"><%=webname%></span>上的简历在线投递给招聘单位。</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><img src="../image/reg_11.gif" /></td>
        <td><table cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" class="STYLE2">收藏工作</td>
          </tr>
          <tr>
            <td height="30"><span style="color:red;"><%=webname%></span>为您提供满意职位收藏功能。</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<!--#include file="../job/bottom.asp"-->
<%
 		conn.close
		set conn=nothing
 %>
 
 