frame.asp
资源名称:gov_1.0.rar [点击查看]
上传用户:yjkj1008
上传日期:2020-10-17
资源大小:1496k
文件大小:1k
源码类别:
电子政务应用
开发平台:
HTML/CSS
- <%@LANGUAGE="VBSCRIPT"%>
- <%
- ' *** Restrict Access To Page: Grant or deny access to this page
- MM_authorizedUsers="1,2,3"
- MM_authFailedURL="default.asp"
- MM_grantAccess=false
- If Session("MM_Username") <> "" Then
- If (false 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
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>武宁网</title>
- </head>
- <frameset rows="80,*" cols="*" framespacing="2" frameborder="no" border="2" bordercolor="#000000">
- <frame src="yns_top.asp" name="topFrame" scrolling="no" noresize >
- <frameset rows="*" cols="120,*" framespacing="1" frameborder="no" border="1" bordercolor="#000000">
- <frame src="yns_left.asp" name="leftFrame" scrolling="no" noresize >
- <frame src="yns_right.asp" name="mainFrame" scrolling="auto" noresize>
- </frameset>
- </frameset>
- <noframes>
- <body>
- 对不起,本页面使用了框架!你的浏览器不支持!
- </body>
- </noframes>
- </html>
English
