📄 e_boardmanage.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="ChkUser.asp" -->
<!--#include file="ChkManage.asp" -->
<%
if not(request.cookies(eChuang)("ManageKEY")="super" or request.cookies(eChuang)("ManageKEY")="bigmaster" or request.cookies(eChuang)("ManageKEY")="check" or request.cookies(eChuang)("ManageKEY")="typemaster") then
Show_Err("对不起,您的管理权限不够!")
response.end
else
%>
<head><meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyright%><%=version%> <%=ver%> - 公告管理_建站铺修正版_bbs.jzpu.com</title>
</head>
<body topmargin="0">
<!--#include file=Admin_Top.asp-->
<table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFDFBF" width="100%" id="AutoNumber1">
<form method="POST" action="E_BoardSet.asp">
<tr class="TDtop">
<td width="100%" height="25" colspan=5 align=center>┊ <strong>公告管理</strong> ┊</td>
</tr>
<tr class="TDtop1" height=20>
<td width="10%" align="center">选择</td>
<td width="10%" align="center">ID</td>
<td width="60%" align="center">主题</td>
<td width="10%" align="center">修改</td>
<td width="10%" align="center">删除</td>
</tr>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from "& db_board_Table &" order by id desc"
rs.open sql,conn,1,1
do while not rs.eof
%>
<tr>
<td width="10%" align="center">
<input type="radio" value=<%=rs("ID")%><%if rs("inuse")=1 then%> checked<%end if%> name="inuse">
</td>
<td width="10%" align="center"><%=rs("ID")%></td>
<td width="60%"><%=CheckStr(rs("Title"))%></td>
<td width="10%" align="center">
<a href='E_BoardModify.asp?id=<%=rs("ID")%>' style="font-size: 9pt; color: #000000; background-color: #ffffff; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#EAEAF4'" onMouseOut ="this.style.backgroundColor='#ffffff'">修改</a>
</td>
<td width="10%" align="center">
<a href='E_BoardDel.asp?id=<%=rs("ID")%>' style="font-size: 9pt; color: #000000; background-color: #ffffff; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#EAEAF4'" onMouseOut ="this.style.backgroundColor='#ffffff'">删除</a>
</td>
</tr>
<%
rs.movenext
loop
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<tr>
<td colspan=5 align=center>
<input type="submit" value="选定公告项" name="submit" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
<input onClick="javascript:window.open('E_BoardAdd.asp','_self','')" type="button" value="添加新公告" name="button" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
</tr>
</form>
</table>
</div>
</body>
</html>
<!--#include file=Admin_Bottom.asp-->
<%
end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -