<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<% 
Dim SQL,Rs,i,CompanyName,Comid
'地区分站参数
Dim c_City,c_Name
If Session("c_City") = "" Then 
 Response.Redirect "../Index.asp"
 Response.End()
End if
c_City = Session("c_City")
c_Name = Session("c_Name")

 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../Css/Style.css" type=text/css rel=stylesheet>
<title><%= Cls_WebName&" | "&c_Name&"站" %> -- 自荐人才</title>
</head>
<style>
.c101 
{
	background-color:#255DA6;
	color: #ffffff;
} 
.c102 
{
	background-color:#efefef;
}
</style>

<SCRIPT language=JavaScript src="../js/funlib.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/ua.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/ftiens4.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/persontreeviewnodes.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/areacityselector.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/joball.js"></SCRIPT>
<script language="JavaScript">
 function login_check()
 {

 if (document.login.username.value==""){
  alert("-请输入用户名-");
  document.login.username.focus();
  return false;
 }
  if (document.login.password.value==""){
  alert("-请输入登陆密码-");
  document.login.password.focus();
  return false;
 }
 }
 function search_check(){
 if (document.theForm.key.value=="请输入关键字"){
  alert("-请输入关键字-");
  document.theForm.key.focus();
  return false;
 }
 }
</script>
<script language="JavaScript">
function csecBoard(n) 
{ 
    for(i=1;i<5;i++) 
    { 
        eval("document.getElementById('cl0"+i+"').className='c102'"); 
        eval("cbx0"+i+".style.display='none'"); 
    } 
    eval("document.getElementById('cl0"+n+"').className='c101'"); 
    eval("cbx0"+n+".style.display='block'"); 
} 
</script>

<body>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><!--#include file="../c_Header/Intro_Showme.asp" --></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
	<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="4"></td>
        </tr>
      </table>
	  <table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr valign="top">
          <td width="180"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="25" align="left" valign="bottom" background="../Images/Intro/left10_bg.jpg" style="padding-left:10px;"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="65" height="20" align="center" valign="bottom" bgcolor="#FFFFFF"><strong>会员登录</strong></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td style="BORDER-RIGHT: #AA0400 1px solid; BORDER-LEFT: #AA0400 1px solid;BORDER-bottom: #AA0400 1px solid;padding-top:2px;padding-bottom:2px;"> 
                  <!--#include file="../c_Public/Intro_MemberSession.asp" -->
                </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="25" align="left" valign="bottom" background="../Images/Intro/left10_bg.jpg" style="padding-left:10px;"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="65" height="20" align="center" valign="bottom" bgcolor="#FFFFFF"><strong>自荐搜索</strong></td>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td style="BORDER-RIGHT: #AA0400 1px solid; BORDER-LEFT: #AA0400 1px solid;BORDER-bottom: #AA0400 1px solid;padding-top:2px;padding-bottom:2px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <form action="Cor_Search_Showme.asp" method="post" target="_blank" name="theForm" onSubmit="return search_check()">
                      <tr> 
                        <td height="5" colspan="2" align="center"></td>
                      </tr>
                      <tr> 
                        <td width="55" height="27" align="right">职　位：</td>
                        <td height="27" align="left"> <select style="width:115px;"  id=select8 
                  name=slt_category>
                          </select></td>
                      </tr>
                      <tr> 
                        <td width="55" height="27" align="right">&nbsp;</td>
                        <td height="27" align="left"> <select style="width:115px;"  id=select9 
                  name=slt_subcategory>
                          </select></td>
                      </tr>
                      <tr> 
                        <td width="55" height="27" align="right">地　区：</td>
                        <td height="27" align="left"> <select  style="width:115px;" id=select10 
                  name=slt_workplacearea>
                          </select></td>
                      </tr>
                      <tr> 
                        <td width="55" height="27" align="right">&nbsp;</td>
                        <td height="27" align="left"> <select style="width:115px;" id=select11 
                  name=slt_workplacecity>
                          </select></td>
                      </tr>
                      <tr> 
                        <td width="55" height="27" align="right">日　期： </td>
                        <td height="27" align="left"> <select style="width:115px;"  name=publishdate>
                            <option value=0>不限</option>
                            <option value=1>近一天</option>
                            <option value=2>近二天</option>
                            <option value=3>近三天</option>
                            <option value=7>近一周</option>
                            <option value=14>近两周</option>
                            <option value=30>近一月</option>
                            <option value=60>近两月</option>
                            <option value=90>近三月</option>
                          </select></td>
                      </tr>
                      <tr> 
                        <td width="55" height="27" align="right">关键字：</td>
                        <td height="27" align="left"> <input 
                  name=key style="width:115px;"  id=key2 size="16" maxlength=50 value="请输入关键字" onClick="this.value='';"></td>
                      </tr>
                      <tr> 
                        <td height="27" colspan="2" align="center"> <input type="submit" name="Submit3" value=" 开 始 搜 索 "> 
                          <SCRIPT language=JavaScript>
  var objJobCPSelector, objJobCCSelector, objAreaSelector, objCitySelector

  objAreaSelector = new PlaceAssociateList(document.theForm.slt_workplacearea, null, document.theForm.slt_workplacecity, ALOptions);
  objAreaSelector.addedOptions   = new Array("不限-|工作地区不限");
  objAreaSelector.init();
  objCitySelector = new PlaceAssociateList(document.theForm.slt_workplacecity, document.theForm.slt_workplacearea, null, CLOptions);
  objCitySelector.incPValue = true;
  objCitySelector.incPValueFormat = "%PText%－不限"
  objCitySelector.addedOptions   = new Array("不限-不限|不限");
  objCitySelector.init();
  
  objJobCPSelector = new JobCategoryAssociateList(document.theForm.slt_category, null, document.theForm.slt_subcategory, PCLOptions);
  objJobCPSelector.addedOptions   = new Array("0-|职位名称不限");
  objJobCPSelector.init();
  objJobCCSelector = new JobCategoryAssociateList(document.theForm.slt_subcategory, document.theForm.slt_category, null, CCLOptions);
  objJobCCSelector.incPValue = true;
  objJobCCSelector.incPValueFormat = "%PText%－不限"
  objJobCCSelector.addedOptions   = new Array("0-0|不限");
  objJobCCSelector.init();  
                    </SCRIPT></td>
                      </tr>
                    </form>
                  </table></td>
              </tr>
            </table>
            
          </td>
          <td width="5">&nbsp;</td>
          <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="17"><img src="../Images/Intro/right1_left.jpg" width="17" height="24"></td>
                <td background="../Images/Intro/right1_bg.jpg"><strong><font color="#333333">自荐人才</font></strong></td>
                <td width="11"><img src="../Images/Intro/right1_right.jpg" width="11" height="24"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
                    <tr align="center"> 
                      <td width="15%" height="25" bgcolor="f3f3f3">姓名</td>
                      <td width="10%" height="24" bgcolor="f3f3f3">性别</td>
                      <td width="12%" height="24" bgcolor="f3f3f3">学历</td>
                      <td width="27%" height="24" bgcolor="f3f3f3">求职目标</td>
                      <td height="24" bgcolor="f3f3f3">自荐广告词</td>
                    </tr>
                    <% 
SQL = "Select Top 12 I.Perid,I.RealName,I.Sex,I.Edus,I.ResumeMode,I.WorkWill1,B.Nc_Best_Ads From pH_Person_Base As B,pH_Person_Info As I  Where B.Perid=I.Perid And Len(I.RealName)>0 And I.ResumeKeep<>1 And B.Flag=1 And B.Nc_Best_Flag=1 And DateDiff(d,Nc_Best_Date,Getdate())>=0 And DateDiff(d,Nc_Best_EndDate,Getdate())<=0 And Cityid="&c_City&" Order By B.LastUpdate_Time Desc"
Set Rs = Conn.Execute(SQL)
For i = 1 to 12 
 If Rs.Eof Then Exit For
 Perid           = Rs(0)
 RealName        = Rs(1)
 Sex             = Rs(2)
 Edus            = Rs(3)
 ResumeMode      = Rs(4)
 WorkWillClass	 = Rs(5)
 Best_Ads		 = Left(Rs(6),12)
 If ResumeMode = null Then ResumeMode = 1
 If WorkWillClass <> "" Then 
  WorkWillClass = Left(WorkWillClass,10)
 Else
  WorkWillClass = "--"
 End if
 
 %>
                    <tr <% If i mod 2 = 0 Then %>bgcolor="#f9f9f9"<% End if %>> 
                      <td height="25" align="center"><a href="../Person/Per_Resume.asp?Param=<%= Perid %>" target="_blank"><%= RealName %></a></td>
                      <td height="23" align="center"><%= Cls_Sex(Sex) %></td>
                      <td height="23" align="center"><%= Cls_Edus(Edus) %></td>
                      <td height="23"><a href="#" title="<%= Rs(5) %>"><%= WorkWillClass %></a></td>
                      <td height="23"><a href="#" title="<%= Rs(6) %>"><%= Best_Ads %></a></td>
                    </tr>
                    <% 
 Rs.Movenext
Next
Rs.Close
 %>
                  </table>
                  <table width="99%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td align="right">[<a href="Cor_Search_ShowmeNew.asp" target="_blank">更多人才信息</a>...]</td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            
          </td>
        </tr>
      </table>
     
	  </td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><!--#include file="../c_Include/Footer.asp" --></td>
  </tr>
</table>
</body>
</html>
<% 
Call CloseDB
 %>
