www.gusucode.com > 星云DJ舞曲 4.5a源码程序 > admin/admin_announcemana.asp
<!--#include file="const.asp"--> <!--#include file="checkadmin.inc"--> <% set rs=server.createobject("adodb.recordset") sql="select * from Announce order by id desc" rs.open sql,conn,1,1 %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="GENERATOR" content="Microsoft FrontPage 6.0"> <title>后台管理</title> <link rel="stylesheet" type="text/css" href="Admin_Style.css"> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align=center> <form method="POST" action="admin_AnnounceSet.asp"> <tr class="tdbg"> <td height="22" align="center" class="title" colspan="7"><b>管 理 公 告</b></td> </tr> <tr class="tdbg"> <td width="5%" align="center">选择</td> <td width="5%" align="center">ID</td> <td width="40%" align="center">主题</td> <td width="12%" align="center">发布人</td> <td width="22%" align="center">发布时间</td> <td width="8%" align="center">修改</td> <td width="8%" align="center">删除</td> </tr> <% do while not rs.eof %> <tr class="tdbg"> <td width="5%" align="center"><input type="radio" value=<%=rs("ID")%><%if rs("IsChecked")=true then%> checked<%end if%> name="Checked"></td> <td width="5%" align="center"><%=rs("ID")%> </td> <td width="40%" align="center"><%=rs("Title")%> </td> <td width="12%" align="center"><%=rs("Author")%> </td> <td width="22%" align="center"><%=rs("DateAndTime")%> </td> <td width="8%" align="center"><a href="admin_AnnounceModify.asp?id=<%=rs("ID")%>">修改</a></td> <td width="8%" align="center"><a href="admin_AnnounceDel.asp?id=<%=rs("ID")%>">删除</a></td> </tr> <% rs.movenext loop rs.close %> <tr class="tdbg"> <td colspan=7 align=center><input type="submit" value="选定公告项" name="submit"> <input onclick="javascript:window.open('admin_AnnounceAdd.asp','_self','')" type="button" value="添加新公告" name="button"></td> </tr> </form> </table> </td> </tr> </table> </center> </div> <% set rs=nothing conn.close set conn=nothing%></body></html>