?? fabgg.asp
字號:
<!--#include file="conn.asp"--><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
<title>公告發(fā)布</title>
<style type="text/css">
<!--
.style1 {color: #4296E7}
.an {
border: #000000;
#000000: #ffffff; border: 1px #000000 solid; font-family: "宋體", "Tahoma", "Verdana"; font-size: 12px; line-height: 120%; text-decoration: none; background-color: #ffffff}
-->
</style>
</head>
<%
if request("action")="save" then
admin_gg=request("admin_gg")
sql="select * from admin"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,3
rs.addnew
rs("admin_gg")=admin_gg
rs.update
rs.close
response.write "<br><a href='javascript:history.go(-1);'>填加公告成功 返回</a>"
else
%>
<form method="POST" action="fabgg.asp?action=save" name="form" onSubmit="return chkform(this)">
<table border="0" width="100%" cellspacing="1">
<tr>
<td width="100%">
<table border="1" bordercolordark=#9CC7EF bordercolorlight=#145AA0 cellspacing="0" cellpadding="4" align="center">
<tr>
<td width="100%" bgcolor="#4296E7">
<div align="center"><font color="#FFFFFF">公告發(fā)布</font></div>
</td>
</tr>
<tr>
<td><p>
<textarea name="admin_gg" cols="55" rows="15" class=an id="admin_gg"></textarea>
<br>
管理員可以在這里發(fā)布連接(連接代碼:<a href="你要連接<br>
到的URL">這里是連接的文字</a>)<br>
如:<a href="www.yahoo.com.cn">yahoo主頁</a>
<br>顯示為:<a href="www.yahoo.com.cn">yahoo主頁</a></p>
</td>
</tr>
<tr>
<td>
<p align="right">
<input type="submit" value="提交" name="B1" class=input>
<input type="reset" value="重寫" name="B2" class=input>
</p>
</td>
</tr>
</table>
<p> </p>
</td>
</tr>
</table>
</form>
<%
end if
set rs=nothing
conn.close
set conn=nothing
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -