📄 editbbs.asp
字号:
<!--#include file="articleconn.asp"-->
<!--#include file="security.asp"-->
<%
dim sql
dim rs
sql="select title,review from learning where articleid="&clng(request("id"))
set rs=server.createobject("adodb.recordset")
if request("B1")="" then
rs.open sql,conn,1,1
elseif request("B1")<>"" then
rs.open sql,conn,1,3
rs("review")=request("bbs")
rs.update
end if
%>
<html><!--#include file="../checkpost.asp"-->
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" href="inc/Admin_STYLE.CSS" type="text/css">
<title>相关平论</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body {
margin-left: 0px;
margin-right: 0px;
}
.样式4 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style></head>
<body ">
<p> </p>
<div align="center">
<center>
<table width="520" height="427" border="0" cellpadding="2" cellspacing="0" id="AutoNumber1" style="border-collapse: collapse; border-left: .75pt solid teal; border-right: .75pt solid teal; border-top: 1.5pt solid teal; border-bottom: 1.5pt solid teal; background-color: white" fpstyle="24,011111100">
<tr>
<td bgcolor="#429AEF""><div align="center" class="样式4"><span lang="zh-cn"><%=rs("title")%>的相关平论</span></div></td>
</tr>
<tr>
<td width="459" height="397" bgcolor="E1F4EE" style="color: black; border-style: none">
<form method="POST" action="editbbs.asp?id=<%=clng(request("id"))%>">
<p><textarea rows="20" name="bbs" cols="76"><%=rs("review")%></textarea><br>
<input type="submit" value="提交" name="B1">
<input type="reset" value="重置" name="B2"></p>
<p></p>
</form> </td>
</tr>
</table>
</center>
</div>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</body>
</html>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -