% '登录检测 user=trim(request.form("user")) password=ucase(md5(trim(request.form("password")))) if instr(user,"'")<>0 then m=9 end if if instr(user,"&")<>0 then m=9 end if if user<>"" and password<>"" and m<>9 then str="select * from user where 用户名='"&user&"' and 密码='"&password&"'" set rs=conn.execute(str) if not rs.eof then if rs("用户类别")="超级管理员" then session("adminadminadmin")=true session("adminadmin")=true session("admin")=true else if rs("用户类别")="栏目管理员" then session("adminadmin")=true session("admin")=true else if rs("用户类别")="一般用户" then session("admin")=true else end if end if end if session("user_name")=rs("单位") session("user")=user response.redirect("send.asp?doing=list_user_all") else end if end if %>
| |
![]() |
|
|
|||
![]() |
|
|
||||
![]() |
|
|
||||
| |
|
|||||
| |
|
|
||||
| |
|
|||||