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

📄 noeditok.asp

📁 wapgo网址导航整站源码,WAP源码,更多登陆http://xywap.cn
💻 ASP
字号:
<%@ LANGUAGE="VBSCRIPT" %>
<%option explicit%>
<%Dim id,title,text,rs,rsstr%>
<!--#include file="conn.asp"-->

<%
if session("admin")="" then
response.redirect "admin.asp"
end if

id=request("id")
title=request("title")
text=request("text")

set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [notice] where [id]=" & id
rs.open rsstr,conn,1,2

if title<>"" then rs("title")=title
if text<>"" then rs("text")=text
rs("time")=date()
rs.update

rs.close
set rs=Nothing
conn.close
set conn=nothing
%>
<html>
<head>
<title>修改成功</title>
<meta http-equiv="refresh" content='2; URL=notice.asp'>
</head>
<body>
<p align="center"><b>公告修改成功!</b></p>
</body>
</html>

⌨️ 快捷键说明

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