📄 viewpaper.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="../webconfig.asp"-->
<!--#include file="../fuction.asp"-->
<%id=replace(request.querystring("id"),"'","")
if id="" or not isnumeric(id) then
response.write"错误的请求"
response.end
end if
set rs=server.createobject("adodb.recordset")
sqlstr="select * from smallpaper where id=" &id& " order by id"
rs.open sqlstr,conn,1,1
hits=rs("hits")+1
set uphits=server.createobject("adodb.recordset")
sqlstr="update smallpaper set hits=" &hits& " where id="&id
uphits.open sqlstr,conn
%>
<html>
<head>
<title><%=bbsname%>-论坛中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="SHORTCUT ICON" href="/shortcut.ico">
<meta name="generator" content="snsn-shop">
<meta name=keywords content="<%=webgjz%>">
<meta name="description" content="<%=webmx%>">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<link href="/css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<body topmargin="0" leftmargin="0">
<!--浏览小字报-->
<table width="513" border="0" align=center cellpadding=3 cellspacing=1 bordercolordark="#FFFFFF" bgcolor="F6F6F6" class=tableborder1>
<TBODY>
<TR>
<Th width="501" height=24 bgcolor="#FFFFFF"><%=rs("title")%></Th>
</TR>
<TR>
<TD width="501" bgcolor="#FFFFFF" class=tablebody1>
<p align=center><a href="dispuser.asp?name=admin" target=_blank></a><a href=Userlist_data.asp?username=<%=rs("username")%>><%=rs("username")%></a> 发布于 <%=rs("riqi")%></p>
<blockquote>
<br>
<%=rs("body")%>
<br>
<div align=right>浏览次数:<%=rs("hits")%></div>
</blockquote>
</TD>
</TR>
<TR align=middle>
<TD width="501" height=24 bgcolor="#FFFFFF" class=tablebody2><a href=# onclick="window.close();">『
关闭窗口 』</a></TD>
</TR>
</TBODY>
</TABLE><!--页面结束部分-->
<Div id=bottom align="center" ></div>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -