preview.asp
来自「BBS论坛的开发和设计」· ASP 代码 · 共 45 行
ASP
45 行
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="admin/BBSConfig.asp"-->
<!--#include file="INC/header.asp"-->
<!--#include file="INC/CHAR.INC"-->
<!--#include file="INC/Board_Config.asp"-->
<%
BoardID = trim(request.Form("BoardID"))
postcontent = trim(request.Form("txtcontent"))
if not(isNumeric(BoardID)) then
response.End()
end if
Board_info BoardID
Board_Config = Application(JBBMasterCookies&"Board_Config"&BoardID)
if Board_Config(6)=true then styleid = Board_Config(5)
%>
<!--#include file="INC/style.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=BBS_Config(0)&" - 预览贴子"%></title>
<link href="<%=Css_path%>" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0"><br>
<table border="0" align="center" cellpadding="5" cellspacing="1" class="table">
<tr>
<td width="177" valign="top" class="table-title">预览贴子</td>
</tr>
<tr>
<td height="204" valign="top" class="table-light">
<%
response.Write("<br>"+ubbcode(postcontent))
%>
</td>
</tr>
<tr>
<td valign="top" class="table-light"><div align="center">
<input name="button" type="button" onClick="javascript:window.close()" value="关闭本窗口">
</div></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?