⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 detailmsg.asp

📁 网吧影印系统!很详细!可直接使用!请大家指点!
💻 ASP
字号:
<!--#include file="articleconn.asp"-->
<html>
<head>
<title><%=webname%>--短消息信息--
</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../images/style.css" type=text/css rel=stylesheet>
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<body leftmargin="5" topmargin="20" marginwidth="0" marginheight="0" onLoad="javascript:window.focus();" >
<%dim MsgId,userID
MsgId=clng(request.QueryString("MsgId"))
userID=clng(request.QueryString("userID"))
set msgRS=server.CreateObject("adodb.recordset")
msgRS.open "select * from UserMsg where userID="&userID&" and MsgId="&MsgId,conn,1,3
if msgRS.eof then
    response.write "对不起,此信息不存在或者已被删除"
else
	msgRS("readle")=true
	msgRS.update
	response.write year(msgRS("sendtime"))&"年"&month(msgRS("sendtime"))&"月"&day(msgRS("sendtime"))&"日收到>>>&nbsp;"&trim(msgRS("infoName"))
%>
<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("infoName"))%></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("MsgContent"))%></td>
                                </tr>
                                <tr> 
                                  <td height="5" colspan="2"></td>
                                </tr>
                                <tr> 
                                  <td width="49%" valign="bottom">&nbsp; </td>
                                  <td width="51%" style="PADDING-LEFT: 20px">来自:<%=trim(msgRS("sendman"))%><br>
                                    收到时间:<%=year(msgRS("sendtime"))&"年"&month(msgRS("sendtime"))&"月"&day(msgRS("sendtime"))&"日"
									%><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('sendadmin.asp','意见建议','width=550,height=380')"><font color="#FFFFFF"> 回复信息</font></a>
						   &nbsp;&nbsp;<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 + -