?? admin_gg.asp
字號(hào):
<!--#include file="conn.asp"-->
<!--#include file="inc.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>無(wú)標(biāo)題文檔</title>
<link href="../style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
color: #FF0000;
font-size: 36px;
}
-->
</style>
</head>
<body>
<div align="center">
<%
if request.form("submit")="提交" then
if request.form("gg")="" then
%>
<script language="javascript">
alert("提交留言不能為空");
history.back();
</script>
<%
response.end()
end if
sql="insert into liuyan(content) values('"&request.form("gg")&"')"
conn1.execute sql
%>
<script language="javascript">
alert("提交留言成功");
history.back();
</script>
<%
end if
%>
<span class="style1">發(fā)布公告</span></div>
<form name="form1" method="post" action="admin_gg.asp">
<table width="600" border="0" align="center" cellspacing="1">
<tr>
<td><p>公告內(nèi)容:</p>
<p>
<textarea name="gg" id="gg"></textarea>
</p>
<p>
<input type="submit" name="Submit" value="提交">
</p></td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -