📄 bulletin.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="session2.asp"-->
<%
dim action
action=request.QueryString("action")
select case action
case "savegongao"
set rs=server.CreateObject("adodb.recordset")
rs.open "select gonggao from wq_config",conn,1,3
rs("gonggao")=request("gonggao")
rs.update
set rs=nothing
response.Write "<script language=javascript>alert('公告修改成功!');history.go(-1);</script>"
response.End
end select
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="style.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br><br><br><br><br>
<form name="form1" method="post" action="bulletin.asp?action=savegongao" id="Form1">
<table cellpadding="3" cellspacing="1" border="0" width="100%" class="tableBorder" align=center>
<tr>
<th class="tableHeaderText" colspan=6 height=25>更改首页公告</th>
</tr>
<tr>
<td class="forumRowHighlight"><div align="center">
<textarea name="gonggao" cols="60" rows="10" id="Textarea1">
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select gonggao from wq_config",conn,1,1
response.Write trim(rs("gonggao"))
rs.Close
set rs=nothing
%></textarea>
</div></td>
</tr>
<tr>
<td height="20" class="forumRowHighlight"> <div align="center">
<input class="button" type="submit" name="Submit" value="提 交" id="Submit1">
<input class="button" type="reset" name="Submit2" value="恢 复" id="Reset1">
</div></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -