📄 detailmsg.asp
字号:
<!--#include file="articleconn.asp"-->
<!--#include file="security.asp"-->
<%
if session("flag")>1 then
response.write "<br><p align=center>您没有操作的权限</p>"
response.end
end if
%>
<html>
<head>
<title>--短消息管理--</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type=text/css>
body { background:#799AE1; margin:0px; font:9pt 宋体; }
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover { color:#428EFF;text-decoration:underline; }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title { }
.menu_title span { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
</head>
<body leftmargin="5" topmargin="20" marginwidth="0" marginheight="0" onLoad="javascript:window.focus();" >
<%dim MsgId,msgRS
msgID=clng(request.QueryString("msgID"))
set msgRS=server.CreateObject("adodb.recordset")
msgRS.open "select * from adminMsg where MsgId="&MsgId,conn,1,3
if msgRS.eof then
response.write "对不起,此信息不存在或者已被删除"
else
msgRS("readle")=true
msgRS.update
response.write year(msgRS("sendDay"))&"年"&month(msgRS("sendDay"))&"月"&day(msgRS("sendDay"))&"日收到>>> "&trim(msgRS("msgTitile"))
%>
<table width="400" border="1" cellspacing="0" cellpadding="1" bordercolor="#0099FF" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9" background="images/back_3.gif" rowspan="2"></td>
<td class="12v">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
<tr>
<td class="12v" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#00CCFF">
<tr>
<td> <div align="center"><font color=#ffffff><%=trim(msgRS("msgTitile"))%></font></div></td>
</tr>
<tr>
<td height="97" valign="top" bgcolor="#E8F1FF"> <table width="90%" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5"></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td colspan="2"><%=trim(msgRS("content"))%></td>
</tr>
<tr>
<td height="5" colspan="2"></td>
</tr>
<tr>
<td width="49%" valign="bottom"> </td>
<td width="51%" style="PADDING-LEFT: 20px">来自:<%=trim(msgRS("sendBy"))%><br>
收到时间:<%=year(msgRS("sendDay"))&"年"&month(msgRS("sendDay"))&"月"&day(msgRS("sendDay"))&"日"%><br>
</td>
</tr>
</table>
<table width="90%" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5"></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top" bgcolor="#00CCFF">
<div align="center">
<a href="##" onClick="javascript:window.open('senduser.asp?userName=<%=trim(msgRS("sendBy"))%>','sendback','width=550,height=400')"><font color="#FFFFFF">回复信息</font></a>
<a href='javascript:window.close()'><font color="#FFFFFF">点击关闭窗口</font></a></div></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td class="12v" background="images/back_3.gif" width="9" rowspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<br>
<%
end if
msgRS.close
set msgRS=nothing%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -