<!--#include file="setup.asp"-->
<!--#include file="z_adv_conn.asp"-->
<link href="images/skins/<%=Request.Cookies("skins")%>/bbs.css" rel="stylesheet">
<%
top
if membercode<5 then error("<li>您不是指定的社区广告管理员，不能登陆后台管理!")
set rs_adv=server.createobject("adodb.recordset")
sql_adv="select * from [adv_broker] order by addtime desc"
rs_adv.Open sql_adv,Conn_adv
select case Request("menu")
case "userdel"
for each ho in Request("username")
conn_adv.execute("delete from [adv_broker] where username='"&ho&"'")
next
error2("成功删除了选择的用户")
end select
%>
<table border=0 width=97% align=center cellspacing=1 cellpadding=4 class=a2>
<tr class=a3>
<td height=25>&nbsp;<img src=images/Forum_nav.gif>&nbsp; <%ClubTree%> → 
<a href="z_adv.asp">返回广告公司</a></td>
</tr>
</table>
<br>

<table cellspacing="1" cellpadding="2" width="100%" border="0" class="a2" align="center">
<TR align=middle>
<TD class=a1>用户名</TD>
<TD class=a1>有效反馈量</TD>
<TD class=a1>加入时间</TD>
<TD class=a1>删除</TD>
</TR>
<form method="post" action="z_adv_del.asp?menu=userdel">
<%Do While Not rs_adv.EOF%> 
<TR align=middle>
<TD class=a4><a target="_blank" href=Profile.asp?username=<%=rs_adv("username")%>><%=rs_adv("username")%></a>　</TD>
<TD class=a3><%=rs_adv("count_z")%></TD>
<TD class=a4><%=rs_adv("addtime")%></TD>
<TD class=a3><input type="checkbox" value="<%=rs_adv("username")%>" name="username"></TD></TR>
<%
rs_adv.MoveNext
loop
rs_adv.Close
set rs_adv=nothing
%>

	<TR align=middle class=a3>
<TD colspan="7" align="right">&nbsp;<input onclick="{if(confirm('您确定要删除所选择的用户?')){return true;}return false;}"  type="submit" value="   确 定   "></TD></form>
	</TR>
</TABLE><center><br>
<a href="z_adv_admin.asp">广告公司参数设置</a>    <a href="z_adv_del.asp">广告公司用户管理</a>

<%
htmlend
%>