📄 newsshow.asp
字号:
<!--#include file="conn.asp" -->
<!--#include file="ubbcode.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><%=name%>-<%=rs("name")%></title>
<link href="css/css.css" rel="stylesheet" type="text/css">
</head>
<body background="images/topbj.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<!--#include file="top.asp" -->
</td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="bk">
<tr>
<td width="180" align="center" valign="top" background="images/index_00.gif">
<!--#include file="left.asp" -->
</td>
<td align="center" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10" align="right" valign="bottom"><img src="images/index_04.gif" width="577" height="5"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="14" align="right" valign="top"><img src="images/index_02.gif" width="12" height="138"></td>
<td align="center" valign="top"><table width="96%" border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
<tr>
<td height="50"> <div align="center"><br>
<B><span style="font-size: 10.5pt"><%= rs("name") %></span></B>
</div></td>
</tr>
<tr>
<td height="36" valign="top"> 类别:<font color="red"><%= rs("type") %></font> 发表于:<font color="red"><%= rs("dat") %></font> 共被阅读过
<font color="red"><%= rs("hit") %></font> 次</td>
</tr>
<tr valign="top">
<td ><%content=rs("content")%>
<% response.write UBBCode(content)%> <hr align="left" size="1"></td>
</tr>
<tr valign="middle">
<td colspan="3" rowspan="2" height="30"> <div align="right">[<a href="javascript:window.close()" class="9size" style="text-decoration: none">关闭窗口</a>]
</div></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#999999" class="bk">
<tr>
<td height="1">
</td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<!--#include file="bottom.asp" -->
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -