📄 listnews.asp
字号:
<!--#include file="conn/conn.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sql="update news set hit=hit+1 where ID="&request("id")
rs.open sql,conn,1,3
%>
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from news where ID="&request("id")
rs.open sql,conn
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%= rs("name") %></title>
</head>
<STYLE type=text/css>
<!--
td { font-family: "宋体"; font-size: 9pt; line-height: 14pt; }
-->
</STYLE>
<body bgcolor="#F7FBFF">
<div align="center">
<table width="550" height="218" border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td bgcolor="#E6F2FF" height="86"><div align="center"><br>
<B><span style="font-size: 10.5pt"><%= rs("name") %></span></B> <br>
<br>
<table border="0" width="550" cellspacing="1" style="border-collapse: collapse" cellpadding="0">
<tr>
<TD background=images/bg_b.gif style="color: #000; font-family: 宋体; font-size: 12px; line-height:100%" bgcolor="#F4FAF1" height="1"><IMG
height=1 src="" width=1></TD>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height="36" valign="top" bgcolor="#E6F2FF"><span style="font-size: 9pt"> 类别:<font color="red"><%= rs("type") %></font> 发表于:<font color="red"><%= rs("dat") %></font> 共被阅读过 <font color="red"><%= rs("hit") %></font> 次</span></td>
</tr>
<tr valign="top">
<td height="66" bgcolor="#E6F2FF"><span style="font-size: 9pt">
<%content=replace(rs("content"),vbNewline,"<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -