📄 bbs_view.asp
字号:
<!--#include file="../config.asp"-->
<!--#include file="../../dns/dns.asp"-->
<%
Call bbsdel()
'----------------------------------------------------------------------------------------------
set rsb=server.createobject("adodb.recordset")
sql="select * from "&WebSqlType&"_log where "&WebSqlType&"_id="&clng(request("bbsid"))
rsb.open sql,conn,1,1
conn.execute("update "&WebSqlType&"_log set "&WebSqlType&"_htc="&WebSqlType&"_htc+1 where "&WebSqlType&"_id="&clng(request("bbsid"))&"")
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=trim(rsb(""&WebSqlType&"_title"))%> <%=title%> <%=usertwourl%></title>
<meta name="robots" content="follow,index" />
<link href="images/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function copyurl(url){
window.clipboardData.setData('text',url);
document.getElementById("copyUrl").innerHTML="<font class='redtext2'>地址已复制</font>";
}
</script>
</head>
<body>
<div id="wrap">
<!--#include file="top.asp"-->
<DIV class=nav><SPAN class="right button"><A
href="bbs_add.asp?id=<%=id%>">发新贴</A>
</SPAN>我的位置:<A href="index.asp?id=<%=id%>">首页</A> » <A
id=classList href="bbs.asp?id=<%=id%>">论坛</A> »
<STRONG><%=trim(rsb(""&WebSqlType&"_title"))%></STRONG></DIV>
<DIV id=wrap2>
<H2><SPAN class=right>浏览:<%=trim(rsb(""&WebSqlType&"_htc"))%></SPAN><%=trim(rsb(""&WebSqlType&"_title"))%></H2>
<DIV class=box>
<TABLE cellSpacing=0>
<TBODY>
<TR>
<TH></TH></TR></TBODY></TABLE>
<TABLE cellSpacing=0>
<TBODY>
<TR>
<TD class=td vAlign=top width=160>
<%call userbbs()%>
</TD>
<TD class=td vAlign=top align=left><SPAN class=right>
<%call bbstitle()%>
<DIV class="title bigtext"><!--<img src="images/em/em1.gif" align="absmiddle" />--><STRONG>标题:<%=trim(rsb(""&WebSqlType&"_title"))%></STRONG>
<BR><SPAN class="smalltext graytext">发表于:<%=trim(rsb(""&WebSqlType&"_date"))%></SPAN> </DIV>
<DIV class=bbs-content id=content_0><PRE><%=trim(rsb(""&WebSqlType&"_book"))%></PRE></DIV></TD></TR></TBODY></TABLE>
<%call Cbook(4)%>
</DIV>
<%call Vbookadd(rsb(""&WebSqlType&"_title"),rsb(""&WebSqlType&"_id"),4,"bbs")%>
<DIV class=cl></DIV></DIV>
<%call bottom()%>
</div>
</body>
</html>
<%
rsb.close
set rsb=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -