📄 rightnewslist.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="../include/ubb.asp"-->
<%
idid=request("id")
if not IsNumeric(idid) then
response.Redirect("/")
response.End()
end if
set rs=server.createobject("adodb.recordset")
sql="select * from GG where id="+idid
rs.open sql,conn,1,3
title=rs("title")
content=rs("content")
up=rs("up")
id=rs("id")
addtime=rs("addtime")
rs("hits")=rs("hits")+1
rs.update
hits=rs("hits")
rs.close
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<title></title>
<style type="text/css">
<!--
@import url("../style/admin.css");
.style1 {
font-size: 18px;
font-weight: bold;
}
.style2 {font-size: 18px; font-weight: bold; color: #0000FF; }
.style266 {
color: #000000;
MARGIN-TOP: 6px;
FONT-SIZE: 12px;
MARGIN-left: 20px;
MARGIN-top: 12px;
MARGIN-right: 20px;
MARGIN-bottom: 20px;
LINE-HEIGHT: 20px;
}
.style3 { color: #000000;
MARGIN-TOP: 6px;
FONT-SIZE: 12px;
MARGIN-left: 20px;
MARGIN-top: 12px;
MARGIN-right: 20px;
MARGIN-bottom: 20px;
LINE-HEIGHT: 20px;
}
-->
</style></head>
<body>
<table width="800" border="0" cellpadding="0" cellspacing="0" class="table_1">
<tr>
<td height="30" align="center" class="table_1_top"><h1><%=title%></h1></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="table_1_inc">
<tr bgcolor="#F8F8FA" >
<td height="23" align="center">发布时间:<%=addtime%> 查看次数:<%=hits%></td>
</tr>
<tr bgcolor="#F8F8FA" >
<td><div class="style266"><%=txt(content)%></div></td>
</tr>
<tr bgcolor="#F8F8FA" >
<td> </td>
</tr>
</table></td>
</tr>
</table>
<br>
</body>
</html>
<!--#include file="MenuRight.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -