📄 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
%>
<link rel="stylesheet" type="text/css" href="inc/Admin_STYLE.CSS">
<html>
<style type="text/css">
<!--
.样式1 {
font-size: 9px;
color: #000000;
}
-->
</style>
<head>
<title>--短消息管理--</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type=text/css>
body {
background:#799AE1;
margin:0px;
font:9pt 宋体;
background-color: #FFFFFF;
}
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; }
.样式2 {
font-size: 9pt;
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="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" height="135" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="9" height="135" 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 height="135">
<table class="border" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class="title">
<tr>
<td height="22"> <div align="center" class="title 样式1 样式2"><%=trim(msgRS("msgTitile"))%></div></td>
</tr>
<tr>
<td height="97" valign="top" bgcolor="E1F4EE"> <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" class="tdbg"><%=trim(msgRS("content"))%></td>
</tr>
<tr>
<td height="5" colspan="2" class="tdbg"></td>
</tr>
<tr>
<td width="49%" valign="bottom" class="tdbg"> </td>
<td width="51%" class="tdbg" style="PADDING-LEFT: 20px">来自:<%=trim(msgRS("sendBy"))%><br>
收到时间:<%=year(msgRS("sendDay"))&"年"&month(msgRS("sendDay"))&"月"&day(msgRS("sendDay"))&"日"%><br> </td>
</tr>
</table> </td>
</tr>
<tr>
<td valign="top">
<div align="center" class="tdbg 样式1">
<a href="#" onClick="javascript:window.open('senduser.asp?userName=<%=trim(msgRS("sendBy"))%>','sendback','width=550,height=400')">回复信息</a>
<a href='javascript:window.close()'>点击关闭窗口</a></div></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td class="12v" 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 + -