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

📄 talk.asp

📁 廣告聯盟系統,發布廣告信息,很不錯的一款
💻 ASP
字号:

<!--#include file="articleconn.asp"-->
<!--#include file="security.asp"-->
<%if session("flag")>1 then
    response.write "<script>alert('您的操作权限不够!');history.back();</script>"
    response.end
end if
%>
<%
if request.form("talk")="" and request.form("talk1")="" then
set rs=server.createobject("adodb.recordset")
sql="select * from talk where id=id" 
rs.open sql,conn,1,1
talk=replace(rs("talk"),"<br>",vbcrlf)
talk=replace(talk,"&nbsp;"," ")
end if

if request.form("talk")<>"" then
set rs=server.createobject("adodb.recordset")
sql="select * from talk where id=id" 
rs.open sql,conn,1,3
talk=request.form("talk")
rs("talk")=replace(talk,vbcrlf,"<br>")
rs.update
response.redirect "talk.asp"
end if

%>
<html><!--#include file="../checkpost.asp"-->

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>修改公告</title>
</head>
<style type=text/css>
body  {
	background:#336699;
	margin:0px;
	font:9pt 宋体;
	background-color: #eeeeee;
}
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; }
.样式1 {
	color: #345b9c;
	font-weight: bold;
}
</style>
<body>

<p align="center"> </p>
<p align="center" class="样式1">修改首页公告</p>
<form method="POST" action="talk.asp">
  <p align="center">
  <textarea rows="18" name="talk" cols="79" style="border-style: solid; border-width: 1"><%=talk%></textarea><br>
  <input type="submit" value=" 点 击 修 改 ">&nbsp;&nbsp;&nbsp;<input type="reset" name="Submit2" value=" 重 新 填 写 "></p>
</form>
<p align="center"> </p>
<%rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</body>

</html>
</body>
</html>

⌨️ 快捷键说明

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