<!--#include virtual="incfiles/config.asp"-->
<%
if session("syspower")<>0 and session("syspwrcls")<>1 and session("sysclass")>=4  then
session("sysclass")=0
elseif session("syspwrcls")<>0  and session("syspwrcls")<>1 and session("sysclass")=0 then
conn.open constr
query="select * from memlst where u_id="&session("usrid")
rs.open query,conn,1,1
if rs.eof then
	call errorpage(-2,"对不起，系统发生错误，请返回！")
	session.abandon
else
   session("sysclass")=rs("u_sys")	
end if
rs.close
end if
response.redirect "/control/"
   %>
		
