<!--#include file="../Include/Conn.asp" -->
<!--#include file="../Include/const.asp" -->
<!--#include file="../Include/function.asp" -->
<% uname=session("cuid")
   if request("page")="" then   
	pagecount=cint(request("page"))   
    else   
	pagecount=1   
    end if
   set rs=server.createobject("adodb.recordset")
   if request("del")<>"" then 
   conn.Execute("delete * from cfavorite where uname='"&uname&"' and fuid='"&request("del")&"'")
   end if
   sql="select * from cfavorite where uname='"&uname&"' order by id desc"
   rs.open sql,conn,1,1
   if rs.eof and rs.bof then   
   %><SCRIPT language=JavaScript>alert("对不起，你的人才库为空…………！");
   this.location.href="main.asp";</SCRIPT>
   <%response.end 
   end if
   fnum=rs.recordcount
   rs.pagesize=15
   fpnum=rs.pagecount
   if pagecount>rs.pagecount or pagecount<=0 then              
   pagecount=1              
   end if              
   rs.AbsolutePage = pagecount
   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
   do while not rs.eof  
   id=rs("id")
   if fuid="" then
      fuid=rs("fuid")
   else
      fuid=fuid & "," & rs("fuid")
   end if
   i=i+1
   rs.movenext
   if i>=rs.PageSize then exit do
   loop
   rs.close                                                                    
   set rs=nothing
   fuid=split(fuid,",")
   set rs=server.createobject("adodb.recordset") %>
<!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>
<!--#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%"><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>
      <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="2" 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="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber65">
        <tr>
          <td width="100%" bgcolor="#E7E3E7">　　祝您在此招到合适的人才！
            </td>
        </tr>
      </table><br>
        </center>
      </div>
      <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>
            <td width="100%"></td>
          </tr>
        </table>
        </center>
      </div>
      <div align="center">
        <center>
      <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="88%" id="AutoNumber72" bgcolor="#FF9631">
        <tr>
          <td width="100%">
          <p align="center"><font color="#FFFFFF"> 
              您的人才库内共有[<%=fnum%>]条记录&nbsp;以下是[<%=page_start%>～<%=page_end%>]条 页次:[<%=pagecount%>/<%=fpnum%>]</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="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#666666" width="88%" id="AutoNumber74" bgcolor="#E7E3E7">
          <tr>
            <td width="14%" align="center">姓名</td>
            <td width="8%" align="center">性别</td>
            <td width="12%" align="center">学历</td>
            <td width="36%" align="center">应聘职位</td>
            <td width="22%" align="center">发布日期</td>
            <td width="8%" align="center">删除</td>
          </tr><% for i=0 to ubound(fuid)
		   sql="select * from person where uname='"&(fuid(i))&"'" 
		   rs.open sql,conn,1,1 %>
          <tr>
            <td width="14%" align="center"><a href="../main/person.asp?uid=<%=rs("uname")%>" target=_blank><%=rs("iname")%></a>　</td>
            <td width="8%" align="center">[<%=rs("sex")%>]</td>
            <td width="12%" align="center">[<%=rs("edu")%>]</td>
            <td width="36%" align="center"><a href="../main/person.asp?uid=<%=rs("uname")%>" target=_blank><%=rs("job")%></a>　</td>
            <td width="22%" align="center"><%=rs("idate")%>　</td>
            <td width="8%" align="center"><a href="favorite.asp?del=<%=rs("uname")%>">删除</a></td>
          </tr> <% rs.close                                                                    
             next %>
        </table>
        </center>
      </div>
       <p align="center"><br>
                <%if pagecount=1 and fpnum<>pagecount then%>
                <a href="favorite.asp?page=<%=cstr(pagecount+1)%>"> 
                <font color="#000000">下一页>>></font></a><a> 
                <% end if %>
                <% if fpnum>1 and fpnum=pagecount then %>
                </a><a href="favorite.asp?page=<%=cstr(pagecount-1)%>"> 
                <font color="#000000"><<<上一页</font></a><a>
                <%end if%>
                <%if pagecount<>1 and fpnum<>pagecount then%>
                </a><a href="favorite.asp?page=<%=cstr(pagecount-1)%>"> 
                <font color="#000000"><<<上一页</font></a><a> </a> <a href="favorite.asp?page=<%=cstr(pagecount+1)%>"> 
                <font color="#000000">下一页>>></font></a><a> 
                <% end if                                                                                               
        set rs=nothing                                                                                                
        conn.close                                                                                                
         set conn=nothing %>
                </a> 
      <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="#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>