<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="ChkUser.asp" -->
<!--#include file="ChkManage.asp" -->
<!--#include file="ChkURL.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
	id=ChkRequest(request.QueryString("id"),1)	'防注入
	set rs=server.createobject("adodb.recordset")
	sql="delete from "& db_board_Table &" where ID="&id
	rs.open sql,conn,1,3
	conn.close
	set conn=nothing
	response.write "<meta http-equiv=""refresh"" content="""&freetime&";url=E_BoardManage.asp"">"
	Show_Message("<p align=center><font color=red>恭喜您!公告删除成功!<br><br>"&freetime&"秒钟后返回上页!</font>")
	response.end
end if%>