% ' *** Restrict Access To Page: Grant or deny access to this page MM_authorizedUsers="" MM_authFailedURL="../index.asp" MM_grantAccess=false If Session("MM_Username") <> "" Then If (true Or CStr(Session("MM_UserAuthorization"))="") Or _ (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then MM_grantAccess = true End If End If If Not MM_grantAccess Then MM_qsChar = "?" If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&" MM_referrer = Request.ServerVariables("URL") if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString() MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer) Response.Redirect(MM_authFailedURL) End If %><% '====================================================================== '= Copyright (c) 2008-2010 , = '= All rights reserved. = '=--------------------------------------------------------------------= '= ixxm v1.0 = '= = '= 一切版权归:姚波(QQ:16803557) = '= 所有客户均为使用权,如果有问题随时联系! '= 网址:http://yaobo.bbr.cn = '=--------------------------------------------------------------------= '= 用 途:企业通用管理后台 = '= 最后更新:2009-1-1 = '====================================================================== %>