<!--#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:#ff6600;
	color: #ffffff;
} 
.c102 
{
	background-color:#efefef;
}

</style>
<script language="JavaScript" src="../js/Search.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.quicksearch.btnSltFuntype1.value=="选择/修改"){
  alert("-请选择职位类别");
  //document.quicksearch.btnSltFuntype1.focus();
  return false;
 } 
 if (document.quicksearch.btnSltArea1.value=="选择/修改"){
  alert("-请选择地区");
  //document.quicksearch.btnSltArea1.focus();
  return false;
 } 
 if (document.quicksearch.btnSltIndustry1.value=="选择/修改"){
  alert("-请选择行业类别");
  //document.quicksearch.btnSltIssuedate1.focus();
  return false;
 }
  if (document.quicksearch.btnSltIssuedate1.value=="选择/修改"){
  alert("-请选择更新日期");
  //document.quicksearch.btnSltIssuedate1.focus();
  return false;
 }  
 if (document.quicksearch.key.value=="请输入关键字"){
  alert("-请输入关键字-");
  document.quicksearch.key.focus();
  return false;
 }
 }
</script>

<SCRIPT language=javascript>
<!--
buildDiv("popupArea","popupFuntype","popupSubfuntype","popupIndustry","popupIssuedate");
//-->
</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/Person_Headhunt.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/Person/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: #FFAC75 1px solid; BORDER-LEFT: #FFAC75 1px solid;BORDER-bottom: #FFAC75 1px solid;">
                  <!--#include file="../c_Public/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/Person/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: #FFAC75 1px solid; BORDER-LEFT: #FFAC75 1px solid;BORDER-bottom: #FFAC75 1px solid;padding-top:2px;padding-bottom:2px;">
				<table width="100%" border="0" cellspacing="0" cellpadding="4">
                    <form action="Hea_Search_Job.asp" name="theSearch" method="post" target="_blank">
					<tr> 
                        <td width="50" height="25" align="right">地　区：</td>
                      <td height="25">
<SELECT name="locus" style="width:105px;">
<option value="0">不限 </option>
<option value="北京">北京 </option>
<option value="天津">天津 </option>
<option value="上海">上海 </option>
<option value="重庆">重庆 </option>
<option value="广东">广东 </option>
<option value="江苏">江苏 </option>
<option value="浙江">浙江 </option>
<option value="福建">福建 </option>
<option value="湖南">湖南 </option>
<option value="湖北">湖北 </option>
<option value="山东">山东 </option>
<option value="辽宁">辽宁 </option>
<option value="吉林">吉林 </option>
<option value="云南">云南 </option>
<option value="四川">四川</option>
<option value="安徽">安徽</option>
<option value="江西">江西 </option>
<option value="黑龙江">黑龙江</option>
<option value="河北">河北 </option>
<option value="陕西">陕西 </option>
<option value="海南">海南 </option>
<option value="河南">河南 </option>
<option value="山西">山西 </option>
<option value="内蒙古">内蒙古</option>
<option value="广西">广西</option>
<option value="贵州">贵州 </option>
<option value="宁夏">宁夏 </option>
<option value="青海">青海</option>
<option value="新疆">新疆 </option>
<option value="西藏">西藏 </option>
<option value="甘肃">甘肃 </option>
<option value="台湾">台湾 </option>
<option value="香港">香港</option>
<option value="澳门">澳门 </option>
<option value="国外">国外 </option>
</SELECT>

					  </td>
                    </tr>
                    <tr> 
                        <td width="50" height="25" align="right">日　期：</td>
                      <td height="25"><select style="width:105px;"  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="50" height="25" align="right">关键字：</td>
                      <td height="25"><input type="text" name="key" style="width:105px;"></td>
                    </tr>
                    <tr align="center"> 
                      <td height="25" colspan="2"><input type="submit" name="Submit" value="开 始 搜 索"></td>
                    </tr>
</form>
                  </table></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/Person/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: #FFAC75 1px solid; BORDER-LEFT: #FFAC75 1px solid;BORDER-bottom: #FFAC75 1px solid;padding-top:2px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
                          <tr align="center"> 
                            <td width="25%" height="23" class="c101" id="cl01" onMouseOver="csecBoard(1);"><strong>简历</strong></td>
                            <td width="25%" height="23" class="c102" id="cl02" onMouseOver="csecBoard(2);"><strong>面试</strong></td>
                            <td width="25%" height="23" class="c102" id="cl03" onMouseOver="csecBoard(3);"><strong>求职</strong></td>
                            <td width="25%" height="23" class="c102" id="cl04" onMouseOver="csecBoard(4);"><strong>职场</strong></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td> <div style="display:" id="cbx01"> 
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <% 
SQL = "Select Top 8 Title,FileName,Path,t_Color From [pH_New_Info] Where Title <>'' And (Typeid=10) And Flag=1 And Cityid="&c_City&" Order By DateAndTime Desc"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof					
%>
                            <tr> 
                              <td height="24">&middot;<a href="../<%= Rs("Path") %>/<%= Rs("FileName") %>" target="_blank"><font color="<%= Rs("t_Color") %>"><%= Left(Rs("Title"),13) %></font></a></td>
                            </tr>
                            <% 
 Rs.Movenext
Wend
Rs.Close
 %>
                          </table>
                        </div>
                        <div style="display:none;" id="cbx02"> 
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <% 
SQL = "Select Top 8 Title,FileName,Path,t_Color From [pH_New_Info] Where Title <>'' And (Typeid=11) And Flag=1 And Cityid="&c_City&" Order By DateAndTime Desc"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof					
%>
                            <tr> 
                              <td height="24">&middot;<a href="../<%= Rs("Path") %>/<%= Rs("FileName") %>" target="_blank"><font color="<%= Rs("t_Color") %>"><%= Left(Rs("Title"),13) %></font></a></td>
                            </tr>
                            <% 
 Rs.Movenext
Wend
Rs.Close
 %>
                          </table>
                        </div>
                        <div style="display:none;" id="cbx03"> 
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <% 
SQL = "Select Top 8 Title,FileName,Path,t_Color From [pH_New_Info] Where Title <>'' And (Typeid=8) And Flag=1 And Cityid="&c_City&" Order By DateAndTime Desc"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof					
%>
                            <tr> 
                              <td height="24">&middot;<a href="../<%= Rs("Path") %>/<%= Rs("FileName") %>" target="_blank"><font color="<%= Rs("t_Color") %>"><%= Left(Rs("Title"),13) %></font></a></td>
                            </tr>
                            <% 
 Rs.Movenext
Wend
Rs.Close
 %>
                          </table>
                        </div>
                        <div style="display:none;" id="cbx04"> 
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <% 
SQL = "Select Top 8 Title,FileName,Path,t_Color From [pH_New_Info] Where Title <>'' And (Typeid=7) And Flag=1 And Cityid="&c_City&" Order By DateAndTime Desc"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof					
%>
                            <tr> 
                              <td height="24">&middot;<a href="../<%= Rs("Path") %>/<%= Rs("FileName") %>" target="_blank"><font color="<%= Rs("t_Color") %>"><%= Left(Rs("Title"),13) %></font></a></td>
                            </tr>
                            <% 
 Rs.Movenext
Wend
Rs.Close
 %>
                          </table>
                        </div></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
          <td width="5">&nbsp;</td>
          <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <% 
		SQL = "Select Top 5 Adurl,ad_Width,ad_Height,AdFile,AdClass From [pH_Web_Ad] Where WebName=3 And ad_Width=760 And ad_Height=90 And DateDiff(d,BeginDate,GetDate())>=0 And DateDiff(d,EndDate,GetDate())<=0 And Cityid="&c_City&" Order By ad_Sort Asc"
		Set Rs_ads = Conn.Execute(SQL)
		While Not Rs_ads.Eof
		 If Rs_ads("AdClass") = 1 Then
		 %>
              <tr> 
                <td align="center"><a href="<%= "http://"&Rs_ads("AdUrl") %>" target="_blank"><img src="../Uploadfiles/AdFile/<%= Rs_ads("AdFile") %>" width="<%= Rs_ads("ad_Width") %>" height="<%= Rs_ads("ad_Height") %>" border="0"></a></td>
              </tr>
              <% Else %>
              <tr> 
                <td align="center"> 
                  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="<%= Rs_ads("ad_Width") %>" height="<%= Rs_ads("ad_Height") %>">
                    <param name="movie" value="../Uploadfiles/AdFile/<%= Rs_ads("AdFile") %>">
                    <param name=quality value=high>
                    <embed src="../Uploadfiles/AdFile/<%= Rs_ads("AdFile") %>" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="435" height="75"></embed>
                  </object></td>
              </tr>
              <% 
		 End if
		 Rs_ads.Movenext
		Wend
		Rs_ads.Close 
		 %>
            </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 width="17"><img src="../Images/Person/right1_left.jpg" width="17" height="24"></td>
                <td background="../Images/Person/right1_bg.jpg"><strong>猎头职位</strong></td>
                <td width="11"><img src="../Images/Person/right1_right.jpg" width="11" height="24"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="2"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="3">
              <tr align="center" bgcolor="#f3f3f3"> 
                <td width="35%">职位名称</td>
                <td width="35%">企业名称</td>
                <td width="15%">工作地区</td>
                <td>发布日期</td>
              </tr>
              <% 
SQL = "Select TOP 12 j.Ncid,j.Locid,j.CompanyName,j.JobName,j.AddDate,j.Locus_Area From [pH_Locale_Jobs] As j Inner Join [pH_Locale_Base] As b On j.Locid=b.Ncid Where Len(j.JobName)>0 And b.Cityid="&c_City&" Order By j.Ncid Desc"
Set Rs = Conn.Execute(SQL)
For i = 1 to 12
 If Rs.Eof Then Exit For
 Ncid				= Rs("Ncid")
 Locid				= Rs("Locid")			
 CompanyName		= Rs("CompanyName")
 JobName			= Rs("JobName")
 AddDate			= FormatDateTime(Rs("AddDate"),2)
 Locus_Area			= Rs("Locus_Area")
 %>
              <tr <% If i mod 2 = 0 Then %>bgcolor="#f9f9f9"<% End if %>> 
                <td><a href="../c_Headhunt/Info/LocaleJob.asp?Comid=<%= Locid %>&Param=<%= Ncid %>" target="_blank"><%= JobName %></a></td>
                <td><a href="../c_Headhunt/Info/LocaleCompany.asp?Param=<%= Locid %>" target="_blank"><%= CompanyName %></a></td>
                <td align="center"><%=Locus_Area %></td>
                <td align="center"><%= AddDate %></td>
              </tr>
              <% 
 Rs.Movenext
Next
Rs.Close
 %>
            </table>
            <table width="99%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="right"><a href="../c_Headhunt/Hea_Search_New.asp" target="_blank">更多猎头职位&gt;</a>&gt;</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>
