<!--#include file="conn.asp"-->
<!--#include file="chk_logs.asp"-->

<%
if session("AdminName")="" then
	response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='index.asp';</script>"
	response.End
else
	if session("flag")>1 then
	response.Write "<script LANGUAGE='javascript'>alert('您没有此项目管理权限！请于管理员联系!!!');window.location.href='admin.asp';</script>"
	response.End
	end if
end if
%>
<%
dim flag
id=trim(request("id"))
set rs=server.createobject("adodb.recordset")
rs.open "select * from lb where id="&id&"",conn,1,3
flag=rs("flag")
rs.delete
rs.update
rs.close
set rs=nothing
response.Redirect("leibie.asp?flag="&flag)
%>