📄 readview.asp
字号:
<%@ Language=VBScript%>
<!--#include file=include/conn.asp -->
<!--#include file=include/config.asp -->
<%
ReViewID=Request.QueryString("ReViewID")
newsID=Request.QueryString("newsID")
set rs=server.CreateObject("ADODB.RecordSet")
rs.Source="select * from review where ReViewID=" & ReViewID & " order by reviewid desc"
rs.Open rs.Source,conn,1,1
if rs.EOF then NoReview=1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新闻评论_<%=redcaff%></title>
<LINK href=news.css rel=stylesheet>
</head>
<body topmargin="0"><form method="POST" action="AddReview.asp">
<!--#include file=include/top.asp -->
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="<%=border%>">
<tr valign="top">
<td height="1" width="1" ></td>
<td height="1" width="748" ></td>
<td height="1" width="1" ></td>
</tr>
<tr valign="top">
<td bgcolor="<%=border%>" width="1"></td>
<td width="748" bgcolor="<%=t_m_bg%>"> </td>
<td bgcolor="<%=border%>" width="1"></td>
</tr>
<tr valign="top">
<td height="1" width="1" ></td>
<td height="1" width="748" ></td>
<td height="1" width="1" ></td>
</tr>
</table>
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="<%=border%>">
<tr>
<td>
<table width="748" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff" align="center">
<tr>
<td width="20"> </td>
<td width="637" height="40">当前位置:<a class=white_bg href="./" >首页</a>>>评论</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="1" style="border-collapse: collapse" bordercolor="<%=border%>" width="750" align=center cellspacing="0" cellpadding="0" bgcolor="<%=m_main%>">
<tr>
<td width="100%">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="95%" align="middle" valign="top">
<table border="0" width="98%">
<tr>
<td width="69%" align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="85%">
<tr>
<td width="100%" height="20" colspan="2"></td>
</tr>
<tr>
<td width="100%" colspan="2">
<%if NoReview then Response.Write "该信息当前没有任何评论!"%>
</td>
</tr>
<%
if not NoReview then
author=server.HTMLEncode(trim(rs("author")))
email=server.HTMLEncode(trim(rs("email")))
content=trim(rs("content"))
content=replace(content,"<","<")
content=replace(content,">",">")
content=replace(content,chr(13),"<BR>")
%>
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="D1E4FC">
<td>发表人:<%=author%></td>
</tr>
<tr bgcolor="D1E4FC">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>发表人邮件:<a href='mailto:<%=email%>'><%=email%></a></td>
<td align="right">发表时间:<%=rs("updatetime")%></td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td><%=content%></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<%end if %>
<tr>
<td width="100%" colspan="2"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--#include file=include/bottom.asp -->
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -