📄 mailxian.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=data/conn.asp-->
<% if request("id")="" then
response.write("该页不存在")
end if
id=request("id")
set rs1=server.CreateObject("adodb.recordset")
sql1="select * from email where id="&id
rs1.open sql1,conn,1,3
rs1("new")=1
rs1.update
rs1.close
set rs=server.CreateObject("adodb.recordset")
sql="select * from email where id="&id
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
.style1 {
font-size: 16px;
font-weight: bold;
}
body,td,th {
font-size: 12px;
color: #000000;
}
a:link {
color: #FF0000;
text-decoration: none;
}
a:visited {
color: #FF0000;
text-decoration: none;
}
a:hover {
color: #FFFFFF;
text-decoration: none;
}
a:active {
text-decoration: none;
}
.style2 {color: #0000FF}
body {
background-color: #D7D7D7;
}
-->
</style>
</head>
<body>
<table width="471" border="0" align="center" cellspacing="0">
<tr>
<td width="465"><table width="100%" border="0" align="center">
<tr>
<td height="30" colspan="2">
<div align="left"></div></td>
<td width="218" height="30"><div align="right"><a href="emailh.asp?name=<%=rs("fname")%>">回复</a></div></td>
</tr>
<tr>
<td height="30" colspan="3"><div align="center" class="style1">
<div align="center"><%=rs("title")%></div>
</div></td>
</tr>
<tr>
<td colspan="3" ><table width="100%" border="0" align="center">
<tr>
<td height="1" bgcolor="#000000"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="234"><div align="left">发信人:<%=rs("fname")%></div></td>
<td colspan="2"><div align="right"><%=rs("time")%></div></td>
</tr>
<tr>
<td colspan="3"><%=htmlcode(server.htmlencode(Rs("content")))%></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -