Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
if session("user")="" and session("zdqx")"alladmin" then
response.write"alert('你不能执行该操作,可能原因\n\n1、不是管理员\n\n2、你还没有登陆\n\n3、或者登陆超时\n\n4、没有该操作权限');location.href='index.asp' "
response.End()
end if%>
if request.form("del")="" and request.querystring("id")="" then
response.write"alert('请至少选择一个要删除的帖子!');location.href='index.asp' "
else
id=replace(request.form("del")," ","")
sql="delete from zdi where m_id in ("&id&") or m_con in ("&id&")"
conn.execute(sql)
%>
alert("批量删除成功!");
location.href="index.asp";