📄 report_manage.asp
字号:
<!--#include file="../film_conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../set_url.asp"-->
<!--#include file="code.asp"-->
<%Response.Buffer=true%>
<%
if session("flag")>1 then
response.write "<br><p align=center>您的操作权限不够!</p>"
response.end
end if
%>
<%
if request("n")=1 then
set rs=server.createobject("adodb.recordset")
sql="select * from talk where id=1"
rs.open sql,conn,1,3
if request("html")="on" then
xnr=request("nr")
else
xnr=replace(server.htmlencode(request("nr")),chr(13),"<br>")
end if
rs("talk")=xnr
rs.update
response.redirect "report_manage.asp"
end if
%>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from talk where id=1"
rs.open sql,conn,1,1
talk=rs("talk")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>修改公告</title>
</head>
<body bgcolor="#F6F6F6">
<p align="center"> </p>
<p align="center"><font size="3">修改公告</font></p>
<div align="center">
<center>
<table width="98%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="34%" height="23" bgcolor="#CCCCCC">HTML代码标签:『<A href="javascript:openscriphtml()"><FONT color=#990000>使用HTML
编辑器</FONT></A>』 </td>
<td width="64%" height="23" bgcolor="#CCCCCC">
<a class="olink" onclick="window.open(this.href,'','location=no,menu=no,scrollbars=yes,resizable=no,top=0,left=0,width=600,height=480');return false;" target="_blank" href="help.htm"><font color="#990000">查看帮助?</font></a></td>
</tr>
<form name="form1" method="POST" action="report_manage.asp?n=1">
<tr>
<td width="34%">内容: </td>
<td width="64%">
<input type="checkbox" name="html" value="on" checked>
是否支持HTML(<b><font color="#990000">内容包含<span lang="en-us">HTML</span>代码时必须打勾</font></b>)</td>
</tr>
</table>
</center>
</div>
<p align="center">
<textarea name="nr" cols="78" rows="15"><%
content=replace(talk,"<br>",chr(13))
content=replace(content," "," ")
response.write content%></textarea><br>
<input type="submit" value="修改"></p>
</form>
<p align="center"> </p>
<%rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -