<!--#include file="admin_start.asp"-->
<%
ids=trim(request("ids_list"))
rs.open "select admin_id,admin_open from sys_admin_list where admin_id in ("&ids&") and sort_id in (select sort_id from sys_admin_sort where sort_grade<"&MySys.admin_grade&" ) ",conn,1,3
do while not rs.eof 
	if request.form("admin_open_"&rs("admin_id"))<>"" then rs("admin_open")=int(request.form("admin_open_"&rs("admin_id")))
	rs.update
	rs.movenext
loop
rs.close

MySys.error.info="用户列表设置成功！"
MySys.error.location="back"
MySys.error.suc()
%>
<!--#include file="admin_end.asp"-->
