% dim strFileName const MaxPerPage=15 dim totalPut,CurrentPage,TotalPages dim i,j dim ArticleID dim Title dim sql,rs dim BigClassName,SmallClassName,SpecialName dim PurviewChecked dim strAdmin,arrAdmin PurviewChecked=false strFileName=Request.ServerVariables("admin/SCRIPT_NAME")&"?" if request("page")<>"" then currentPage=cint(request("page")) else currentPage=1 end if bigid=request("bigid") if request("Action")="passed" then if bigid<>"" then if request("act")="clock" then sql="Update [User] set passed=true where id=" & CLng(bigid) else sql="Update [User] set passed=false where id=" & CLng(bigid) end if conn.Execute sql call CloseConn() end if response.redirect "?page="¤tPage end if if request("Action")="Del" then sql="delete from User where id=" &bigid& "" conn.Execute sql end if sql="select * from User where id>0" sql=sql & " order by id desc" Set rs= Server.CreateObject("ADODB.Recordset") rs.open sql,conn,1,1 %>
| 管 理 |
| 用户 | 邮箱 | 姓名 | 电话 | 公司名称 | 地址 | 登录IP | 操作 |
| <%=rs("username")%> | <%=rs("email")%> | <%=rs("realname")%> | <%=rs("tel")%> | <%=rs("companyname")%> | <%=rs("address")%> | <%=rs("lastIP")%> | &Action=Del" onClick="return ConfirmDel();">删除 |