<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<% 
Dim SQL,Rs,i,CompanyName,Comid
Dim Typeid,TypeName
Set Rs = Server.CreateObject("Adodb.Recordset")
 %>
<!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 %> -- 中介服务</title>
</head>
<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>

<body>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><!--#include file="../Header/Intro_Index.asp" --></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td align="center"> 
      <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="../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="../Intro/Cor_Search_JobBase.asp" method="post" target="_blank" name="theForm2">
                      <tr> 
                        <td height="5" colspan="2" align="center"></td>
                      </tr>
                      <tr align="left"> 
                        <td width="50" height="25" align="right">日 期： </td>
                        <td> 
                          <select  name=publishdate id="publishdate" style="width:120px;">
                            <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 align="left"> 
                        <td height="25" align="right">名 称： </td>
                        <td height="25"> 
                          <input name=jobname  id=jobname style="width:120px;" onClick="this.value='';" size="16" maxlength=50></td>
                      </tr>
                      <tr align="left"> 
                        <td height="25" align="right">&nbsp; </td>
                        <td height="25"> 
                          <input type="submit" name="Submit32" 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/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_Base.asp" method="post" target="_blank" name="reg">
                    <tr>
                        <td width="50" height="25" align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td height="25" align="right">地 区：</td>
                            </tr>
                            <tr>
                              <td height="25">&nbsp;</td>
                            </tr>
                          </table></td>
                        <td height="25">
                          <!--#include file="../Include/Class_Locus5.asp" -->
                        </td>
                    </tr>
                    <tr>
                        <td width="50" height="25" align="right">名 称：</td>
                        <td height="25"><input name="corpname" id="corpname" style="width:120px;" size="16" maxlength=50></td>
                    </tr>
                    <tr>
                        <td width="50" height="25" align="right">&nbsp;</td>
                        <td height="25"><input type="submit" name="Submit322" 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/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="90%"  border="0" align="center" cellpadding="2" cellspacing="0">
                    <%
	  
Set Rs1 = Conn.Execute("Select Top 5 LinkName,LinkUrl From [pH_FriendLink] Where State=1 And Class=0 And Cityid=0 Order By ordernum Asc")
  if not rs1.eof then
  do while not rs1.eof %>
                    <tr> 
                      <td height="15" align="left"> <a href="<%=rs1("LinkUrl")%>" target="_blank"><%=rs1("LinkName")%></a></td>
                    </tr>
                    <%rs1.movenext

loop
end if
rs1.close
%>
                  </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"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="50%"><strong><font color="#333333">中介公司</font></strong></td>
                      <td align="right"><a href="Cor_Search_New.asp" target="_blank">| 
                        更多</a></td>
                    </tr>
                  </table>
                  <strong></strong></td>
                <td width="11"><img src="../Images/Intro/right1_right.jpg" width="11" height="24"></td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
              <tr align="center"> 
                <td height="25" bgcolor="eeeeee">公司名称</td>
                <td width="15%" height="25" bgcolor="eeeeee">所在地区</td>
                <td width="25%" height="25" bgcolor="eeeeee">联系电话</td>
                <td width="15%" height="25" bgcolor="eeeeee">加入时间</td>
              </tr>
              <% 
SQL = "Select top 6 Ncid,Corid,CorpName,Locus_Area,Locus_City,ContactPerson,Phone,Email,LastUpdate_Time From [pH_Intro_Base] Where Len(CorpName)>0 And Flag=1 And Nc_Vip_Flag=1 And  DateDiff(d,Nc_Vip_Date,Getdate())>=0 And DateDiff(d,Nc_Vip_EndDate,Getdate())<=0  Order By LastUpdate_Time Desc"
Set Rs = Conn.Execute(SQL)
For i = 1 to 6
 If Rs.Eof Then Exit For
 Ncid					= Rs("Ncid")
 Corid					= Rs("Corid")
 CorpName				= Rs("CorpName")
 Locus_Area				= Rs("Locus_Area")
 Locus_City				= Rs("Locus_City")
 ContactPerson			= Rs("ContactPerson")
 Phone					= Rs("Phone")			
 Email					= Rs("Email")
 LastUpdate_Time		= FormatDateTime(Rs("LastUpdate_Time"),2)
 
 %>
              <tr <% If i mod 2 = 0 Then %> bgcolor="#f9f9f9"<% End if %>> 
                <td height="25"><a href="Info/Index.asp?Param=<%= Corid %>" target="_blank"><%= CorpName %></a></td>
                <td height="25" align="center"><%= Locus_Area&Locus_City %></td>
                <td height="25" align="center"><%= Phone %></td>
                <td height="25" align="center"><%= LastUpdate_Time %></td>
              </tr>
<% 
 Rs.Movenext
Next
Rs.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/Intro/right1_left.jpg" width="17" height="24"></td>
                <td background="../Images/Intro/right1_bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="50%"><strong><font color="#333333">招聘信息</font></strong></td>
                      <td align="right"><a href="Cor_Search_Job.asp" target="_blank">| 
                        更多</a></td>
                    </tr>
                  </table>
                  <strong></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="1" cellpadding="3">
              <tr align="center" bgcolor="f5f5f5"> 
                <td width="20%">职位编号</td>
                <td>职位名称</td>
                <td width="30%">单位名称</td>
                <td width="15%">发布日期</td>
              </tr>
              <% 
SQL = "Select Top 6 Ncid,Corid,JobName,Com_Name,AddDate From [pH_Intro_Job] Where Flag=1 Order by AddDate Desc"
Set Rs = Conn.Execute(SQL)
For i = 1 to 6
If Rs.Eof Then Exit For 
Ncid = Rs("Ncid")
Corid = Rs("Corid")
JobName = Rs("JobName")
Com_Name = Rs("Com_Name")
AddDate = FormatDateTime(Rs("AddDate"),2)

Id = Year(AddDate)&Month(AddDate)&Cls_Ncidstr(Ncid)
 %>
              <tr align="center"  <% If i mod 2 = 0 Then %> bgcolor="#f9f9f9" <% End if %>> 
                <td><a href="../Intro/Info/Job.asp?Corid=<%= Corid %>&Param=<%= Ncid %>" target="_blank"><%= Id %></a></td>
                <td><%= JobName %></td>
                <td><%= Com_Name %></td>
                <td><%= AddDate %></td>
              </tr>
              <% 
 Rs.Movenext
Next
Rs.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 valign="top"> 
                <td width="378"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td height="22" style="padding-left:2px;"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td width="50%"><strong><font color="#333333"><img src="../Images/Intro/icon10.gif" width="5" height="16" align="absmiddle"> 
                                    最新公司</font></strong></td>
                                  <td align="right">| <a href="Company.asp">更多</a></td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr> 
                            <td height="2" bgcolor="#AA0400"></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <% 
SQL = "Select Top 6 Corid,CorpName,LastUpdate_Time From [pH_Intro_Base] Where Flag=1 Order By LastUpdate_Time Desc"
Set Rs = Conn.Execute(SQL)
For i = 1 to 6
 If Rs.Eof Then Exit For
 Corid = Rs("Corid")
 CorpName = Rs("CorpName")
 LastUpdate_Time = Month(Rs("LastUpdate_Time"))&"-"&Day(Rs("LastUpdate_Time"))
 %>
                          <tr <% If i mod 2 = 0 Then %> bgcolor="#f9f9f9" <% End if %>> 
                            <td height="22">&middot;<a href="Info/Index.asp?Param=<%= Corid %>" target="_blank"><%= CorpName %></a> 
                              <font color="#666666"><%= LastUpdate_Time %></font></td>
                          </tr>
                          <% 
 Rs.Movenext
Next
Rs.Close
 %>
                        </table></td>
                    </tr>
                  </table></td>
                <td width="5">&nbsp;</td>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td height="22" style="padding-left:2px;"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td width="50%"><strong><font color="#333333"><img src="../Images/Intro/icon10.gif" width="5" height="16" align="absmiddle"> 
                                    人才自荐</font></strong></td>
                                  <td align="right">| <a href="Showme.asp">更多</a></td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr> 
                            <td height="2" bgcolor="#AA0400"></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td valign="top"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1">
                          <% 
SQL = "Select Top 6 I.Perid,I.RealName,I.Edus,I.ResumeMode,I.WorkWill1,I.Sex 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_EndDate,Getdate())<=0 Order By B.LastUpdate_Time Desc"
Set Rs = Conn.Execute(SQL)
For i = 1 to 6 
 If Rs.Eof Then Exit For
 Perid           = Rs(0)
 RealName        = Rs(1)
 Edus            = Rs(2)
 ResumeMode      = Rs(3)
 WorkWill1		 = Rs(4)
 Sex			 = Rs(5)
 If ResumeMode = null Then ResumeMode = 1
 
 %>
                          <tr <% If i mod 2 = 0 Then %> bgcolor="#f9f9f9" <% End if %>> 
                            <td width="70" height="22" align="center"><a href="../Person/Per_Resume.asp?Param=<%= Perid %>" target="_blank"><%= RealName %></a></td>
                            <td width="35" height="22" align="center"><%= Cls_Sex(Sex) %></td>
                            <td width="50" align="center"><%= Cls_Edus(Edus) %></td>
                            <td height="22"><%= WorkWill1 %></td>
                          </tr>
                          <% 
 Rs.Movenext
Next
Rs.Close
 %>
                        </table></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="../Include/Footer.asp" --></td>
  </tr>
</table>
</body>
</html>
<% 
CloseDB
 %>
