📄 pub.asp
字号:
<!--#include file=conn.asp-->
<link href="../css.css" rel="stylesheet" type="text/css">
<body bgcolor="#CCCCCC">
<table width="700" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td height="72" bgcolor="#FF9933"> </td>
<td height="72" colspan="2" bgcolor="#FF9933"> <p align="center"><font
color="#FFFFFF" size="+3">计026 第(9)小组</font></p>
<p align="right"><font color="#FFFFFF">成员:林瑞云 石春晓 </font></p></td>
</tr>
<tr>
<td width="142" height="23" bgcolor="#66CCFF"><div
align="center"><font color="#FFFFFF" size="2">书籍管理</font></div></td>
<td width="275" rowspan="9" valign="top" bgcolor="#FFFFFF">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from pub"
rs.open sql,conn,3,3
response.write "<table border=1>"
while Not rs.eof
response.write "<tr>"
response.write "<td>"
response.write "<font size=2>"
response.write rs("pub_title")
response.write "</font>"
response.write "</td>"
response.write "<td>"
%>
<a href="delpub.asp?n=<%=rs("pub_title")%>"><font size=2>删除</font></a>
<%
response.write "</td>"
response.write "</tr>"
rs.movenext
wend
response.write "</table>"
rs.close
set rs=nothing
%>
</td>
<td width="258" rowspan="9" valign="top" bgcolor="#FFFFFF"> <form method="post" action="addpub.asp">
<table height="0%" border=0>
<tr>
<td height="20%" colspan="2"> <div><font size="2">公告标题:</font></div>
<div> </div></td>
</tr>
<tr>
<td height="20%" colspan="2"> <div></div>
<div>
<input name="pub_title" type="text" id="pub_title" value="" size="24">
</div></td>
</tr>
<tr>
<td height="17" colspan="2"> <div></div>
<div><font size="2">新闻内容:</font></div></td>
</tr>
<tr>
<td height="35" colspan="2"> <textarea name="pub_msg" cols="24" id="pub_msg"></textarea></td>
</tr>
<tr>
<td height="17" colspan="2"><font size="2">日期和时间:</font></td>
</tr>
<tr>
<td height="17"><input name="pub_date" type="text" id="pub_date" size="15"></td>
<td height="17"><input name="pub_time" type="text" id="pub_time" size="15"></td>
</tr>
<tr>
<td colspan="2"> <div></div>
<div> </div></td>
</tr>
<tr>
<td width="105"><div><font size=2>
<input name="submit" type="submit" value="添加">
</font></div></td>
<td width="105"><div><font size=2>
<input name="reset" type="reset" value="重置">
</font></div></td>
</tr>
</table>
</form></td>
</tr>
<tr>
<td height="18" bgcolor="#CCCCCC"><div align="center"><font
color="#000000" size="2"><a href="menage.asp">书籍</a></font></div></td>
</tr>
<tr>
<td height="18" bgcolor="#CCCCCC"><div align="center"><font size="2"> <a href="newsbooks.asp">新书</a></font></div></td>
</tr>
<tr>
<td bgcolor="#CCCCCC"> </td>
</tr>
<tr>
<td height="22" bgcolor="#66CCFF"><div align="center"><font
color="#FFFFFF" size="2">用户管理</font></div></td>
</tr>
<tr>
<td height="19" bgcolor="#CCCCCC">
<div align="center"><font
color="#000000" size="2"><a href="ps.asp">会员</a></font></div>
<div align="center"><font size="2"> </font></div></td>
</tr>
<tr>
<td height="24" bgcolor="#CCCCCC"><div align="center"><font size="2"> <a href="pub.asp">公告</a></font></div></td>
</tr>
<tr>
<td height="29" bgcolor="#CCCCCC"><div align="center"><font size="2"> <a href="admin1.asp">管理员</a></font></div></td>
</tr>
<tr>
<td height="25" bgcolor="#66CCFF"> </td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -