<html>
<head><title>我的站内信件</title>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<LINK href="../images/css.css" rel=stylesheet>
</head><body bgcolor="#FFF8E1" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<object runat=server id=conn1 progid="adodb.connection"></object>
<%application.Lock
conn1.Open Application("p_jyzx")
Application.UnLock
%>
	<%
	
	 set rs_note=server.CreateObject("ADODB.recordset")
	'sql="select other_note.*,user.nickname,user.sex from other_note,user where other_note.from_who=user.user_name and other_note.id="&Request("id")
	sql="select * from other_note where id="&Request("id")
	
	rs_note.Open sql,conn1,3
	if rs_note("user_name")=session("Current_user") then
	sql="update other_note set readed=1 where  id="&Request("id")
	conn1.Execute(sql)
	end if
 %>
<table  border="0" cellspacing="0" cellpadding="0">
  <tr> 
    
 <td width="395" ><img src=images/a0.gif width="22" height="23" align="absmiddle"> 
      来自<font  color=red><%=request("nickname")%> </font>的站内信件！</td>
  </tr>
  <tr> 
    <td  align="center">

<BR>
 <table border="0" cellspacing="10" cellpadding="0">
          <tr> 
            <td>标题：</td>
            <td> 
              <input type="text" name="title" size="40" maxlength=40 value=<%=rs_note("title")%> class=myinput3>
            </td>
          </tr>
          <tr> 
            <td valign="top">内容：</td>
            <td> 
              <textarea name="other_note" cols="39" rows="13" class=myinput3><%=rs_note("other_note")%></textarea>
            </td>
          </tr>
     
          <tr> 
            <td>&nbsp;</td>
            <td> 　　 
              
            </td>
          </tr>
        </table>
      </form>
      
    </td>
  </tr>
   <tr>
    <td  align=center><a href="javascript:window.close()">[关闭窗口]</a></td>
  </tr>
</table>
</body>
</html>