<head>
<STYLE type=text/css>
A:link {COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:visited {	COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:active { COLOR: #ff0000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:hover {COLOR: #ff0000; TEXT-DECORATION: none}
BODY {FONT-SIZE: 9pt}
TH {FONT-SIZE: 9pt}
TD {FONT-SIZE: 9pt}
</STYLE>
<title>我的信箱</title>

</head>
<body bgcolor="#396BA5">
<!--#include file="conn.asp"-->    
<div align="center">
  <center>

<table border="0" width="600" cellspacing="1" cellpadding="3" height="70">
  <tr>
    <td width="100%" bgcolor="#C0C0C0"  height="18" style="border-style: ridge; border-width: 1">
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="50%"><a href="mess.asp">返回收件箱</a></td>
        </center>
        <td width="50%">
          　</td>   
      </tr>   
    </table>   
  </td>   
  </tr>   
    
    
<%
id=request.querystring("id")
id=replace(id,"'","")
set rs=Server.CreateObject("ADODB.RecordSet")                            
rs.open "Select * from message where incept='"&session("username")&"' and id="&id,conn,1,3
if rs.eof or rs.bof then%>   
  
    
  <tr>  
    <td width="100%" bgcolor="#F5F5F5" height="14"> 
    <p align="center">您 的 收 件 箱 里 没 有 这 个 短 消 息 ！</p>
    </td> 
  </tr> 
 
<%else%>
  <center>   
  <tr>   
    <td width="100%" bgcolor="#D5D5D5" height="17">标&nbsp;&nbsp;&nbsp; 题：<%=rs("title")%></td>
    
  </tr>  

<tr>   
    <td width="7%" bgcolor="#D5D5D5" height="17">发 信 人：<%=rs("sender")%></td>
   
  </tr>  
    
    
  <tr>   
    <td width="7%" bgcolor="#D5D5D5" height="17">发信时间：<%=rs("sendtime")%></td>
   
  </tr>  
    
    
  <tr>   
    <td width="7%" bgcolor="#D5D5D5" height="14">
    <table border="0" cellpadding="3" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="73">
      <tr>
        <td width="11%" height="73" valign="top">
        <p align="center">内&nbsp; 容：</td>
        <td width="89%" bgcolor="#F5F5F5" height="73" valign="top" style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1">
        <%=rs("content")%>
        
        　</td>
      </tr>
    </table>
    </td>
   
  </tr>
    <tr>   
    <td width="7%" bgcolor="#D5D5D5" height="14">
          <p align="right">[<a href="mess2.asp?id=<%=rs("sender")%>">回&nbsp; 信</a>]&nbsp;&nbsp;</td>
   
  </tr>  
 
     
<%
rs("flag")=0
rs.update
end if%>  
    
    
     
</table> 
 
  </center> 
</div> 
 
</body>