⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editbbs.asp

📁 视频点播系统
💻 ASP
字号:

<!--#include file="articleconn.asp"-->
<!--#include file="security.asp"-->
<%if session("flag")>2 then
    response.write "<br><p align=center>您的操作权限不够!</p>"
    response.end
end if
%>

<%
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">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>相关平论</title>
</head>
<style type=text/css>
body  { background:#799AE1; margin:0px; font:9pt 宋体; }
table  { border:0px; }
td  { font:normal 12px 宋体; }
img  { vertical-align:bottom; border:0px; }
a  { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover  { color:#428EFF;text-decoration:underline; }
.sec_menu  { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title  { }
.menu_title span  { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2  { }
.menu_title2 span  { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
<body ">

<p> </p>
<div align="center">
  <center>
  <table border="0" cellpadding="2" cellspacing="0" width="536" id="AutoNumber1" fpstyle="24,011111100" 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">
    <tr>
      <td style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver" width="459">
      <p align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <span lang="zh-cn"><font size="2"><%=rs("title")%>相关平论</font></span></td>
    </tr>
    <tr>
      <td style="color: black; border-style: none" width="459">
      <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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -