📄 gbookdisplay.asp
字号:
<!--#include file="conn.asp"-->
<%
ID=Request("ID")
SQL="Select * From 留言信息 Where ID=" & CInt(ID)
Set RS=Server.CreateObject("ADODB.Recordset")
RS.Open SQL,Connstr,1,1
IF RS.EOF Then
Response.Redirect "error.asp"
End IF
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<!--#include file="inc/css.asp"-->
<script language="javascript">
function openScript(url){
var Win = window.open(url);
}
</script>
<title><%=RS("主题")%></title>
</head>
<body topmargin="1" leftmargin="1">
<div align="center">
<center>
<table border="0" width="480" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" valign="top">
<div align="center">
<center>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" style="background-color: #EDEDED; border-bottom: 1 solid #990000; border-top: 1 solid #990000; border-left: 1 solid #990000;" valign="top">
<table border="0" width="100%" cellspacing="1">
<tr>
<td width="100%">
<p align="center">
<%IF RS("性别")="女" Then%>
<img border="0" src="images/face/girl.gif" width="74" height="80">
<%Else%>
<img border="0" src="images/face/boy.gif" width="74" height="80">
<%End IF%></td>
</tr>
<tr>
<td width="100%"> 姓名:<%=RS("姓名")%></td>
</tr>
<tr>
<td width="100%"> 来自:<%=RS("来自")%></td>
</tr>
</table>
</td>
<td width="75%" style="background-color: #EDEDED; border: 1 solid #990000" valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="20" colspan="2" style="border-bottom: 1 solid #990000">
<p style="margin-top: 3"> 留言主题:<%=Server.HTMLEncode(RS("主题"))%></td>
</tr>
<tr>
<td width="100%" height="80" bgcolor="#FFFFFF" colspan="2">
<p style="line-height: 150%; margin-left: 5; margin-right: 5"><%=Replace(Server.HTMLEncode(RS("内容")),VBCrlf,"<BR> ")%></td>
</tr>
<tr>
<td width="50%" height="20" style="border-top: 1 solid #990000;">
<p style="margin-top: 3"> 发表时间:<%=RS("发布时间")%></td>
</center>
<td width="50%" height="20" style="border-top: 1 solid #990000;">
<p align="right" style="margin-top: 3"><a mailto:"<%=RS("电子邮箱")%>" href="mailto:<%=RS("电子邮箱")%>"><img border="0" src="images/email.gif" width="50" height="18">
</a> <a href="JavaScript:openScript('http://search.tencent.com/cgi-bin/friend/user_show_info?ln=<%=RS("OICQ")%>')"><img border="0" src="images/oicq.gif"></a>
<a href="JavaScript:openScript('<%=RS("主页")%>')">
<img border="0" src="images/homepage.gif" width="50" height="18"></a> </td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</center>
</div>
<p align="center">[<a href="javascript:window.close()">关闭窗口</a>]</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -