<!--#include file="conn.asp"-->
<%act=request("act")
'=======绑用户========

if act="addban" then
name = Request.Form("name")
sql="insert into forbid(name) values('"&name&"')"
conn.execute(sql)
response.write "打了鸭子一闷棍。。哑巴了"
'response.redirect "manage.asp"

'=======解绑用户========
elseif act="cban" then
names=request("names")
sql="delete * from forbid where name='"&names&"'"
conn.execute(sql)
response.write "该用户已被解除BAN 请按后退返回后刷新"
'response.redirect "manage.asp"
end if
response.redirect "manage.asp"
%>