<!--#include file="../Include/Conn.asp" -->
<!--#include file="../Include/const.asp" -->
<!--#include file="../Include/function.asp" -->
<% key=trim(request("key")) %>
<TITLE>人才搜索器——<%=site_info(0)%></TITLE>
<link href="../Include/Style1.css" rel="stylesheet" type="text/css" />
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT>
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</SCRIPT>
<META content="Microsoft FrontPage 5.0" name=GENERATOR>
<style type="text/css">
<!--
.style2 {color: #FFFFFF}
-->
</style>
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--//
function check()
{
   if (isNaN(go2to.page.value))
		alert("请正确填写转到页数！");
   else if (go2to.page.value=="") 
	     {
		alert("请输入转到页数！");
		 }
   else
		go2to.submit();
}
//-->
</SCRIPT>
<!--#include file="../Include/top.asp" -->
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770" id="AutoNumber6" background="../image/l2.gif" height="2">
    <tr>
      <td width="100%"></td>
    </tr>
  </table>
  </center>
</div>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770" id="AutoNumber7" bgcolor="#FFFFFF">
    <tr>
      <td width="150" valign="top" bgcolor="#FFCFFF">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber70">
        <tr>
          <td width="100%"><img border="0" src="images/c1.gif"></td>
        </tr>
        <tr>
          <td width="100%"><img border="0" src="images/c2.gif"></td>
        </tr>
        <tr>
              <td width="100%"><a href="main.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','images/cc1-1.gif',1)"><img src="images/cc1.gif" alt="企业信息专递" name="Image7" width="150" height="36" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%"><a href="register.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','images/cc2-1.gif',1)"><img src="images/cc2.gif" alt="登录企业信息" name="Image8" width="150" height="41" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%"><a href="register.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','images/cc3-1.gif',1)"><img src="images/cc3.gif" alt="修改企业信息" name="Image9" width="150" height="39" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%" height="13"><a href="publish.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/cc4-1.gif',1)"><img src="images/cc4.gif" alt="发布企业招聘信息" name="Image10" width="150" height="41" border="0"></a></td>
        </tr>
            <tr> 
              <td width="100%"><a href="changepwd.asp?stype=company" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','images/cc5-1.gif',1)"><img src="images/cc5.gif" alt="修改登录帐号密码" name="Image11" width="150" height="43" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%"><a href="rencaiku.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','images/cc6-1.gif',1)"><img src="images/cc6.gif" alt="全站人才列表" name="Image12" width="150" height="39" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%"><a href="favorite.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','images/cc7-1.gif',1)"><img src="images/cc7.gif" alt="企业人才库" name="Image13" width="150" height="41" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%"><a href="mailbox.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','images/cc8-1.gif',1)"><img src="images/cc8.gif" alt="站内通信信箱" name="Image14" width="150" height="43" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%"><a href="search.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','images/cc9-1.gif',1)"><img src="images/cc9.gif" alt="人才搜索器" name="Image15" width="150" height="42" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%"><a href="#" onclick="javascript:if (confirm('是否确定要注销帐号?')) href='del.asp?del=true'; 
	    else return;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','images/cc10-1.gif',1)"><img src="images/cc10.gif" alt="注销登录帐号" name="Image16" width="150" height="43" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%"><a href="exit.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','images/cc11-1.gif',1)"><img src="images/cc11.gif" alt="退出登录" name="Image17" width="150" height="41" border="0"></a></td>
        </tr>
        <tr>
              <td width="100%"><img src="images/cc12.gif" width="150" height="40"></td>
        </tr>
        <tr>
              <td width="100%">　</td>
        </tr>
        </table>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber8">
        <tr>
          <td width="100%">　</td>
        </tr>
      </table>
      </td>
      <td width="1" bgcolor="#333333" valign="top"></td>
      <td width="618" valign="top">
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" id="AutoNumber62" style="border-collapse: collapse">
        <tr>
          <td width="100%"><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="604" height="100" align="absmiddle">
            <param name="movie" value="../Include/images/b33.swf">
            <param name=quality value=high>
            <embed src="../Include/images/b33.swf" width="604" height="100" align="absmiddle" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
          </object></td>
        </tr>
      </table>
      <div align="center">
        <center>
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber68" bgcolor="#000000" height="1">
          <tr>
            <td width="100%"></td>
          </tr>
        </table>
        </center>
      </div>
      <div align="center">
        <center>
      <table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber64" bgcolor="#003366">
        <tr>
          <td width="100%" bgcolor="#FF9A31">　　<font color="#FFFFFF">亲爱的用户：<font color="#FFFF00"><b><%=uname%></b></font>，您好！欢迎使用<%=site_info(0)%>系统！</font></td>
        </tr>
      </table>
        </center>
      </div>
      <div align="center">
        <center>
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber69" bgcolor="#999999" height="1">
          <tr>
            <td width="100%"></td>
          </tr>
        </table>
        </center>
      </div>
      <div align="center">
        <center>
      <table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber65">
        <tr>
          <td width="100%" height="102" bgcolor="#E7E3E7">　　祝您在此找到合适的工作！<br>
            <% if mailnum="0" then %>
          　　您的站内信箱内暂无新邮件！<br>
<%else%>
              　　<br>
          　　您的站内信箱内共有<font color="#FF0000">[<%=mailnum%>]</font>封新邮件,请进入企业站内信箱查阅，回复信件！<br>
　</p>
			  <%end if%>
</td>
        </tr>
      </table>
        </center>
      </div>
      <table border="0" width="100%" id="AutoNumber72" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0">
        <tr>
          <td width="100%">
  <% set rs=server.createobject("adodb.recordset") 
              if not isempty(request("page")) then   
	          pagecount=cint(request("page"))   
              else   
	          pagecount=1   
              end if
			  sql="select * from person where job & iname like '%"&key&"%' order by id desc"
			  rs.open sql,conn,1,1   
              if rs.eof and rs.bof then  %> 
              <SCRIPT language=JavaScript>alert("对不起，没有符合搜索条件的记录！");
              javascript:history.go(-1)</SCRIPT>     
            <%  response.end
			end if
              rs.pagesize=15
              if pagecount>rs.pagecount or pagecount<=0 then              
              pagecount=1              
              end if              
              rs.AbsolutePage=pagecount %> <div align="center">
         <center>
         <table border="1" cellpadding="2" cellspacing="0" width="88%" style="border-collapse: collapse" bordercolor="#666666">
          <tr>
          <td height="12" colspan="5" valign="bottom" width="461"><font color="#000000"><form name=search action=search.asp method=post>
		  <table border="0" cellpadding="0" cellspacing="0" width="520" height="1" style="border-collapse: collapse" bordercolor="#111111" >
            <tr>
                      <td width="520" height="1" align=center>
                   <SELECT 
                  size=1 name=stype class=buttonface>
                  <OPTION value="" selected>请选择搜索类别</option>
				  <option value="company">职位搜索</option>
                  <option value="person">人才搜索</option>
                </SELECT>　　　　　<SELECT size=1 name=gzdd class=buttonface> 
              <OPTION selected>请选择所在地区</OPTION>
			  <OPTION value=noxz>不&nbsp; 限
			  <OPTION value=北京市>北京市
              <OPTION value=天津市>天津市
              <OPTION value=上海市>上海市
			  <OPTION value=重庆市>重庆市
              <OPTION value=安徽省>安徽省
              <OPTION value=福建省>福建省
              <OPTION value=甘肃省>甘肃省
              <OPTION value=广东省>广东省
			  <OPTION value=四川省>四川省
              <OPTION value=贵州省>贵州省
              <OPTION value=湖北省>湖北省
              <OPTION value=湖南省>湖南省
			  <OPTION value=吉林省>吉林省
              <OPTION value=江苏省>江苏省
              <option value=河北省>河北省
              <option value=河南省>河南省
              <OPTION value=辽宁省>辽宁省
              <OPTION value=青海省>青海省
			  <OPTION value=山东省>山东省
              <OPTION value=山西省>山西省
			  <OPTION value=陕西省>陕西省
              <OPTION value=云南省>云南省
			  <OPTION value=浙江省>浙江省
			  <OPTION value=黑龙江省>黑龙江省
			  <OPTION value=宁夏自治区>宁夏自治区
              <OPTION value=新疆自治区>新疆自治区
			  <OPTION value=西藏自治区>西藏自治区
			  <OPTION value=内蒙古自治区>内蒙古自治区
              <OPTION value=香港特别行政区>香港特别行政区
              <OPTION value=澳门特别行政区>澳门特别行政区
              <OPTION value=台湾省>台湾省</SELECT><p align="center">
                   <INPUT 
            maxLength=20 size=28 name=key class=buttonface onclick="Javascript:this.value='';" value="请键入关键字……">　　　<input type="submit" value="搜 索" class=buttonface>
            
			</td>
            </tr>
          </table>
          </form></font></td> 
          </tr>
          <tr>
          <% if rs.pagecount=1 then %>
		  <td width="461" align="middle" height="12" colspan="5" valign="bottom" bgcolor="#FF9A31">
		  <font color="#000000">共有[<font color="#ff0000"><%=rs.recordcount%></font>]条招聘信息符合条件            
		  以下是[<font color="red">1～<%=rs.recordcount%></font>]条</font></td>             
          <tr>
          <td width="461" align="middle" height="1" colspan="5" valign="bottom"></td>
          </tr>
         <%else%>
		 <td width="461" align="middle" height="12" colspan="5" valign="bottom" bgcolor="#FF9A31"><font color="#000000">
		 <% page_start=(pagecount-1)*rs.pagesize
            if pagecount=1 then page_start=1
		    page_end=rs.pagesize*pagecount
		    if pagecount*rs.pagesize=>rs.recordcount then page_end=rs.recordcount end if%>
         共有[<font color="#ff0000"><%=rs.recordcount%></font>]条招聘信息符合条件              
         以下是[<font color="red"><%=page_start%>～<%=page_end%></font>]条</font></td>          
          <tr> 
		  <td width="461" align="middle" height="3" colspan="5" valign="bottom">
		  
		  <% response.write"<form name=go2to form method=Post action='search.asp?key="+key+"'>"
	                                            
		     if pagecount=1 then                                                        
			 response.write "<font color='#000064'>首页 上一页</font>&nbsp;"
			 else                                                        
             response.write "<a href=search.asp?page=1&key="+key+"><font color='0000BE'>首页</font></a>&nbsp;" 
	         response.write "<a href=search.asp?page="+cstr(pagecount-1)+"&key="+key+"><font color='0000BE'>上一页</font></a>&nbsp;"
			 end if                                             
             if rs.PageCount-pagecount<1 then                                                        
             response.write "<font color='#000064'>下一页 尾页</font>"                                                    
			 else                                                        
             response.write "<a href=search.asp?page="+cstr(pagecount+1)+"&key="+key+"><font color='0000BE'>下一页</font></a>&nbsp;"
			 response.write "<a href=search.asp?page="+cstr(rs.PageCount)+"&key="+key+"><font color='0000BE'>尾页</font></a>"           
             end if 
			 response.write "<font color='000064'>&nbsp;页次:<font color=blue>"&pagecount&"</font>/"&rs.pagecount&"页</font>" 
			response.write "<font color='000064'> 转到第<input type='text' name='page' size=2 maxLength=3 style='font-size: 9pt; color:#00006A; position: relative; height: 18' value="&PageCount&">页</font>&nbsp;"                               
			response.write "<input class=button type='button' value='确 定' onclick=check() style='font-family: 宋体; font-size: 9pt; color: #000073; position: relative; height: 19'>" %>         
             </td>
           <%end if%>
		   </form>
           </tr>         
          <tr>
      <td height="1" valign="top" colspan="5" bgcolor="#FF9631" width="461">
      </td>
          </tr>
		  <tr>
          <td width="56" height="12" bgcolor="#E7E3E7" valign="bottom" align="center">&nbsp;姓名</td>
          <td width="36" height="12" bgcolor="#E7E3E7" valign="bottom" align="center">
            <p align="center">性别</td>
          <td width="53" height="12" bgcolor="#E7E3E7" valign="bottom" align="center">
            <p align="center">学历</td>
          <td width="161" height="12" bgcolor="#E7E3E7" valign="bottom" align="center">&nbsp;应聘职位</td>
          <td height="12" bgcolor="#E7E3E7" valign="bottom" width="77" align="center"><p align="center">发布日期</p></td>
          </tr>
          <% do while not rs.eof %> 
          <tr>
          <td width="56" height="15" bgcolor="#E7E3E7" valign="bottom" align="center">&nbsp;<a href="../main/person.asp?uid=<%=rs("uname")%>" target="_blank"><%=rs("iname")%></a></td>
          <td width="36" height="15" bgcolor="#E7E3E7" valign="bottom" align="center"><p align="center">[<%=rs("sex")%>]</p></td>
          <td width="53" height="15" bgcolor="#E7E3E7" valign="bottom" align="center"><p align="center">[<%=rs("edu")%>]</p></td>
          <td width="161" height="15" bgcolor="#E7E3E7" valign="bottom" align="center">&nbsp;<%=rs("job")%></td>
          <td width="77" height="15" bgcolor="#E7E3E7" valign="bottom" align="center"><p align="center">[<%=rs("idate")%>]</p></td>
          </tr>
		 <% i=i+1                                                                                                  
          rs.movenext                                                                                                  
          if i>=rs.PageSize then exit do 
		  loop                                                                    
          rs.close                                                                                                
          set rs=nothing                                                                                                
          conn.close                                                                                                
          set conn=nothing %>
          <tr>
      <td height="1" valign="top" colspan="5" bgcolor="#FF9631" width="461">
      </td>
          </tr>
          </table>
          </center>
          </div></td>
        </tr>
      </table>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber71">
        <tr>
          <td width="100%">
          <p align="center"></td>
        </tr>
      </table>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber10">
        <tr>
          <td width="100%">　</td>
        </tr>
      </table>
      </td>
      <td width="1" bgcolor="#FFFFFF" valign="top"></td>
    </tr>
  </table>
  </center>
</div>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770" id="AutoNumber19" bgcolor="#111111" height="1">
    <tr>
      <td width="100%"></td>
    </tr>
  </table>
  </center>
</div>
<!--#include file="../Include/Bottom.asp" -->
</BODY></HTML>