frame.asp
上传用户:yjkj1008
上传日期:2020-10-17
资源大小:1496k
文件大小:1k
源码类别:

电子政务应用

开发平台:

HTML/CSS

  1. <%@LANGUAGE="VBSCRIPT"%>
  2. <%
  3. ' *** Restrict Access To Page: Grant or deny access to this page
  4. MM_authorizedUsers="1,2,3"
  5. MM_authFailedURL="default.asp"
  6. MM_grantAccess=false
  7. If Session("MM_Username") <> "" Then
  8.   If (false Or CStr(Session("MM_UserAuthorization"))="") Or _
  9.          (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
  10.     MM_grantAccess = true
  11.   End If
  12. End If
  13. If Not MM_grantAccess Then
  14.   MM_qsChar = "?"
  15.   If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
  16.   MM_referrer = Request.ServerVariables("URL")
  17.   if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
  18.   MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
  19.   Response.Redirect(MM_authFailedURL)
  20. End If
  21. %>
  22. <html>
  23. <head>
  24. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  25. <title>武宁网</title>
  26. </head>
  27. <frameset rows="80,*" cols="*" framespacing="2" frameborder="no" border="2" bordercolor="#000000">
  28.   <frame src="yns_top.asp" name="topFrame" scrolling="no" noresize >
  29. <frameset rows="*" cols="120,*" framespacing="1" frameborder="no" border="1" bordercolor="#000000">
  30.   <frame src="yns_left.asp" name="leftFrame" scrolling="no" noresize >
  31.   <frame src="yns_right.asp" name="mainFrame" scrolling="auto" noresize>
  32. </frameset>
  33. </frameset>
  34. <noframes>
  35. <body>
  36. 对不起,本页面使用了框架!你的浏览器不支持!
  37. </body>
  38. </noframes>
  39. </html>