📄 updatenotice.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!-- #include file="conn.asp" -->
<%
'if (session("userright")="") then
' response.Redirect("../error.asp?err_on=5")
'end if
%>
<%
Dim noticeid,strTitle,content,strSQL
noticeid=request.FORM("noticeid")
strTitle=request.FORM("title")
content=request.FORM("content")
if(content="" or strTitle="") then
response.Redirect("error.asp?err_on=6")
end if
strSQL= "update notice set title='"&strTitle&"', content='"&content&"' where id="¬iceid
db.execute(strSQL)
%>
<body bgcolor="#799ae1">
<table width="75%" height="89" border="1" bordercolor="#FFFFFF" >
<tr>
<td height="62">
<Script language=JavaScript>alert('修改成功!');JavaScript:history.go(-2);</Script>
</td>
</tr>
</table>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -