<!--#include file="../Include/Conn.asp" -->
<!--#include file="../Include/const.asp" -->
<!--#include file="../Include/function.asp" -->
<% uname=session("puid")
   set rs=server.createobject("adodb.recordset") 
   if request("del")<>"" then 
   conn.Execute("delete * from pmailbox where id="&request("del"))
   end if
   sql="select * from pmailbox where reid='"&uname&"'and newmail=0"
   rs.open sql,conn,1,1
   mailnum=rs.recordcount
   rs.close                                                                    
   set rs=nothing %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE><%=site_info(0)%></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="../Include/Style1.css" type=text/css rel=stylesheet>
<META content="Microsoft FrontPage 5.0" name=GENERATOR>
<style type="text/css">
<!--
.style2 {color: #FFFFFF}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
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_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_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>
</HEAD>
<SCRIPT language=JavaScript src="../Include/window.js"></SCRIPT>
<% if not isempty(request("page")) then   
	          pagecount=cint(request("page"))   
              else   
	          pagecount=1   
              end if
			  set rs=server.createobject("adodb.recordset")
			  sql="select * from pmailbox where reid='"&uname&"' order by id desc" 
			  rs.open sql,conn,1,1 
              if rs.eof and rs.bof then   
              response.write"<SCRIPT language=JavaScript>alert('对不起，您的信箱内暂无信件…………！');"
              response.write"this.location.href='main.asp';</SCRIPT>"     
              response.end
			  end if
              rs.pagesize=15
              if pagecount>rs.pagecount or pagecount<=0 then              
              pagecount=1              
              end if              
              rs.AbsolutePage=pagecount %>

<!--#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="#E8E8E8">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber63" height="385">
            <tr> 
              <td width="100%" bgcolor="E8E8E8"><table width="224" height="59" border="0">
                <tr>
                  <th width="218" scope="row"><img src="../Include/images/jj1.jpg" width="218" height="238"></th>
                </tr>
              </table>
                <table width="65%" height="385" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" bgcolor="#E8E8E8" id="AutoNumber63" style="border-collapse: collapse">
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="main.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image811','','../Include/images/jcd11.jpg',1)"><img src="../Include/images/jcd01.jpg" alt="信息传递" name="Image911" width="120" height="30" border="0" id="Image91"></a></td>
                    <td width="23%" rowspan="10" valign="top">&nbsp;</td>
                  </tr>
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="register.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image911','','../Include/images/jcd12.jpg',1)"><img src="../Include/images/jcd02.jpg" alt="发布个人简历" name="Image911" width="120" height="30" border="0" id="Image91"></a></td>
                  </tr>
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="modify.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1011','','../Include/images/jcd13.jpg',1)"><img src="../Include/images/jcd03.jpg" alt="维护个人简历" name="Image1011" width="120" height="30" border="0" id="Image101"></a></td>
                  </tr>
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="changepwd.asp?stype=person" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1111','','../Include/images/jcd14.jpg',1)"><img src="../Include/images/jcd04.jpg" alt="修改帐号密码" name="Image1111" width="120" height="30" border="0" id="Image111"></a></td>
                  </tr>
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="liebiao.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1211','','../Include/images/jcd15.jpg',1)"><img src="../Include/images/jcd05.jpg" alt="全部职位列表" name="Image1211" width="120" height="30" border="0" id="Image121"></a></td>
                  </tr>
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="favorite.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1311','','../Include/images/jcd16.jpg',1)"><img src="../Include/images/jcd06.jpg" alt="我的职位库" name="Image1311" width="120" height="30" border="0" id="Image131"></a></td>
                  </tr>
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="mailbox.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1411','','../Include/images/jcd17.jpg',1)"><img src="../Include/images/jcd07.jpg" alt="个人站内信箱" name="Image1411" width="120" height="30" border="0" id="Image141"></a></td>
                  </tr>
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="email.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1511','','../Include/images/jcd18.jpg',1)"><img src="../Include/images/jcd08.jpg" alt="外发个人简历" name="Image1511" width="120" height="30" border="0" id="Image151"></a></td>
                  </tr>
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="#" onclick="javascript:if (confirm('您确定要注销帐号吗？')) href='modify.asp?del=true'; 
	    else return;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1611','','../Include/images/jcd19.jpg',1)"><img src="../Include/images/jcd09.jpg" alt="个人帐号注销" name="Image1611" width="120" height="30" border="0" id="Image161"></a></td>
                  </tr>
                  <tr valign="middle">
                    <td width="6%" valign="top">&nbsp;</td>
                    <td width="71%" valign="top"><a href="exit.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1711','','../Include/images/jcd20.jpg',1)"><img src="../Include/images/jcd10.jpg" alt="退出系统" name="Image1711" width="120" height="30" border="0" id="Image171"></a></td>
                  </tr>
                  <tr>
                    <td width="6%"></td>
                    <td width="71%"></td>
                    <td width="23%"></td>
                  </tr>
                </table></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" bgcolor="E8E8E8">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber62">
        <tr>
          <td width="100%"><table width="506" border="1" align="center" bordercolor="#FF6600">
            <tr>
              <th width="496" height="73" scope="row"><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="496" height="100">
                  <param name="movie" value="../Include/images/b33.swf">
                  <param name=quality value=high>
                  <embed src="../Include/images/b33.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="496" height="100"></embed>
              </object></th>
            </tr>
          </table></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 width="94%" height="46" border="1" cellpadding="10" cellspacing="0" bordercolor="#111111" bgcolor="#003366" id="AutoNumber64" style="border-collapse: collapse">
        <tr>
          <td width="100%" bgcolor="#0099FF">　　<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="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="94%" id="AutoNumber66">
          <tr>
            <td width="100%" height="142"><p align="center"><br>
            <font color="#FF0000">====&gt;&nbsp;<font color="#FF0000"><b><%=uname%></b></font> 的 站 内 信 箱&nbsp; &lt;====</font><br>
            <br><% 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="#ff0000"><%=mailnum%></font>]封新邮件 以下是[<font color="red"><%=page_start%>～<%=page_end%></font>]封 页次:[<font color="#0000AE"><%=pagecount%></font>/<%=rs.pagecount%>]</font>
            　</td>
          </tr>
        </table>
        </center>
      </div>
      <div align="center">
        <center>
        <table border="0" cellpadding="8" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="94%" id="AutoNumber70" bgcolor="#003399">
          <tr bgcolor="#0099FF">
            <td width="13%" align="center">新邮件</td>
            <td width="26%" align="center">发信企业</td>
            <td width="30%" align="center">信件标题</td>
            <td width="18%" align="center">发信时间</td>
            <td width="13%" align="center">删除</td>
          </tr><% do while not rs.eof %>
          <tr>
            <td width="13%" align="center" bgcolor="#D5DDE5"><% if rs("newmail")="0" then %>
                <font color="#FF0000">NEW</font>
                <% else %>
                <% end if %></td>
            <td width="26%" align="center" bgcolor="#D5DDE5"><a href="../company.asp?uid=<%=rs("senduid")%>" target="_blank">
              <% if len(rs("sendname"))>8 then%>
              <%=Left(rs("sendname"),7)%>...
              <%else%>
              <%=rs("sendname")%>
              <%end if%>
              </a></td>
            <td width="30%" align="center" bgcolor="#D5DDE5"><a href="viewmail.asp?id=<%=rs("id")%>" target="_blank">
              <% if len(rs("title"))>8 then%>
              <%=Left(rs("title"),8)%>...
              <% else%>
              <%=rs("title")%>
              <%end if%>
              </a></td>
            <td width="18%" align="center" bgcolor="#D5DDE5"><%=rs("sdate")%></td>
            <td width="13%" align="center" bgcolor="#D5DDE5"><a href="mailbox.asp?del=<%=rs("id")%>"> 
                <div align="center"><font color="#000060">删除</font></div></td>
          </tr><% i=i+1                                                                                                  
          rs.movenext                                                                                                  
          if i>=rs.PageSize then exit do 
		  loop %>
        </table>
        </center>
      </div>
      <p align="center"><%if pagecount=1 and rs.pagecount<>pagecount then%>
                <a href="mailbox.asp?page=<%=cstr(pagecount+1)%>"> 
                <font color="#000000">　　下一页>>></font></a><a> 
                <% end if %>
                <% if rs.pagecount>1 and rs.pagecount=pagecount then %>
                </a><a href="mailbox.asp?page=<%=cstr(pagecount-1)%>"> 
                <font color="#000000"><<<上一页　　</font></a><a>
                <%end if%>
                <%if pagecount<>1 and rs.pagecount<>pagecount then%>
                </a><a href="mailbox.asp?page=<%=cstr(pagecount-1)%>"> 
                <font color="#000000"><<<上一页　　</font></a><a> </a> <a href="mailbox.asp?page=<%=cstr(pagecount+1)%>"> 
                <font color="#000000">　　下一页>>></font></a><a> 
                <% end if 
rs.close                                                                                                
set rs=nothing                                                                                                
conn.close                                                                                                
set conn=nothing %>
                </a>
      <br>
　<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>