<% if session("cuid")<>"" then uname=session("cuid") end if
if session("puid")<>"" then uname=session("puid") end if
stype=request("stype") %>
<!--#include file="../Include/Conn.asp" -->
<!--#include file="../Include/const.asp" -->
<!--#include file="../Include/function.asp" -->
<!-- #include file="../Include/enpasswd.inc" -->
<% key=trim(request("key")) %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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>
<SCRIPT language=JavaScript src="../Include/window.js"></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 border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber62">
        <tr>
          <td width="100%"><img border="0" src="../image/cen.gif"></td>
        </tr>
      </table>
      <p>　</p>
      <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="0" cellpadding="10" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber64" bgcolor="#003366">
        <tr>
          <td width="100%" bgcolor="#FF9631">　　<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="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber65">
        <tr>
          <td width="100%" bgcolor="#E7E3E7">　　祝您在此招到合适的人才！<br>
　</td>
        </tr>
      </table>
        </center>
      </div>
      <p>　</p>
      <div align="center">
        <center>
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber73" bgcolor="#000000" height="1">
          <tr><% 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=24
              if pagecount>rs.pagecount or pagecount<=0 then              
              pagecount=1              
              end if              
              rs.AbsolutePage=pagecount %>   
            <td width="100%"></td>
          </tr>
        </table>
        </center>
      </div>
      <div align="center">
        <center>
      <table border="0" cellpadding="8" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber72" bgcolor="#FF9631">
        <tr>
          <td width="100%" align="middle"><% if rs.pagecount=1 then %><font color=FFFFFF>共有[<font color="#ffFF00"><%=rs.recordcount%></font>]条招聘信息，       
		  以下是[<font color="yellow">1～<%=rs.recordcount%></font>]条
          </font><%else%><% 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=#FFFFFF>共有[<font color="#ffFF00"><%=rs.recordcount%></font>]条招聘信息，         
         以下是[<font color="Yellow"><%=page_start%>～<%=page_end%></font>]条</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="AutoNumber71" bgcolor="#C0C0C0" height="1">
        <tr>
          <td width="100%"></td>
        </tr>
      </table>
        </center>
      </div>
      <div align="center">
        <center>
        <table border="0" cellpadding="8" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber75" bgcolor="#E7E3E7">
          <tr>
            <td width="100%"></td>
          </tr>
        </table>
        </center>
      </div>
      <div align="center">
        <center>
        <table border="1" cellpadding="8" cellspacing="0" style="border-collapse: collapse" bordercolor="#FF9631" width="88%" id="AutoNumber74" bgcolor="#E7E3E7" height="56">
          <tr>
            <td width="100%" align="center" height="11" colspan="5"><% response.write"<form name=go2to form method=Post action='rencaiku.asp?key="+key+"'>"
 		     if pagecount=1 then                                                        
			 response.write "<font color='#000064'>第一页 上一页</font>&nbsp;"
			 else                                                        
             response.write "<a href=rencaiku.asp?page=1&key="+key+"><font color='0000BE'>第一页</font></a>&nbsp;" 
	         response.write "<a href=rencaiku.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=rencaiku.asp?page="+cstr(pagecount+1)+"&key="+key+"><font color='0000BE'>下一页</font></a>&nbsp;"
			 response.write "<a href=rencaiku.asp?page="+cstr(rs.PageCount)+"&key="+key+"><font color='0000BE'>最后一页</font></a>"           
             end if 
			 response.write "<font color='000064'>&nbsp;页次:<font color=red>"&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></td>
          </tr>
          <tr>
            <td width="15%" align="center" height="11">姓名</td>
            <td width="9%" align="center" height="11">性别</td>
            <td width="11%" align="center" height="11">学历</td>
            <td width="42%" align="center" height="11">应聘职位</td>
            <td width="23%" align="center" height="11">发布日期</td>
          </tr> <% do while not rs.eof %> 
          <tr>
            <td width="15%" align="center" height="12"><a href="../person.asp?uid=<%=rs("uname")%>" target=_blank><%=rs("iname")%></a></td>
            <td width="9%" align="center" height="12">[<%=rs("sex")%>]</td>
            <td width="11%" align="center" height="12">[<%=rs("edu")%>]</td>
            <td width="42%" align="center" height="12"><a href="../person.asp?uid=<%=rs("uname")%>" target=_blank><%=rs("job")%></a></td>
            <td width="23%" align="center" height="12">[<%=rs("idate")%>]</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 %>
        </table>
        </center>
      </div>
      <p>　</p>
      <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="#333333" 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>