% @ Language=VBScript %> <% Option Explicit %> <% '**************************************************************************************** '** Copyright Notice '** '** Web Wiz Forums(TM) '** http://www.webwizforums.com '** '** Copyright (C)2001-2010 Web Wiz(TM). All Rights Reserved. '** '** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS UNDER LICENSE FROM 'WEB WIZ'. '** '** IF YOU DO NOT AGREE TO THE LICENSE AGREEMENT THEN 'WEB WIZ' IS UNWILLING TO LICENSE '** THE SOFTWARE TO YOU, AND YOU SHOULD DESTROY ALL COPIES YOU HOLD OF 'WEB WIZ' SOFTWARE '** AND DERIVATIVE WORKS IMMEDIATELY. '** '** If you have not received a copy of the license with this work then a copy of the latest '** license contract can be found at:- '** '** http://www.webwiz.co.uk/license '** '** For more information about this software and for licensing information please contact '** 'Web Wiz' at the address and website below:- '** '** Web Wiz, Unit 10E, Dawkins Road Industrial Estate, Poole, Dorset, BH15 4JD, England '** http://www.webwiz.co.uk '** '** Removal or modification of this copyright notice will violate the license contract. '** '**************************************************************************************** '*************************** SOFTWARE AND CODE MODIFICATIONS **************************** '** '** MODIFICATION OF THE FREE EDITIONS OF THIS SOFTWARE IS A VIOLATION OF THE LICENSE '** AGREEMENT AND IS STRICTLY PROHIBITED '** '** If you wish to modify any part of this software a license must be purchased '** '**************************************************************************************** Response.Buffer = True 'Make sure this page is not cached Response.Expires = -1 Response.ExpiresAbsolute = Now() - 2 Response.AddHeader "pragma","no-cache" Response.AddHeader "cache-control","private" Response.CacheControl = "No-Store" 'Dimension variables Dim strUsername Dim strPassword 'If active users is enabled update the active users application array If blnActiveUsers Then 'Call active users function saryActiveUsers = activeUsers(strTxtAccessDenied, "", "", 0) End If 'Set bread crumb trail strBreadCrumbTrail = strBreadCrumbTrail & strNavSpacer & strTxtAccessDenied %>
<% = strTxtAccessDenied %> |
<% = strTxtError %> |
| <%
'Display insuficient meesage
Response.Write("" & strTxtInsufficientPermison & "")
If Request.QueryString("M") = "DEMO" Then
Response.Write(" Sorry this feature is not available in the Demo Version.") 'If this is a banned IP then display an error message ElseIf Request.QueryString("M") = "IP" Then Response.Write(" " & strTxtSorryFunctionNotPermiitedIPBanned) 'If the session ID's don't match then make sure the user has cookies enabled on there system ElseIf Request.QueryString("M") = "sID" Then Response.Write(" " & strTxtSessionIDErrorCheckCookiesAreEnabled) 'If the users account is suspended then let them know ElseIf Request.QueryString("M") = "ACT" AND (blnActiveMember = False OR blnBanned)Then 'If mem suspended display message If blnBanned Then Response.Write(" " & strTxtForumMemberSuspended) 'Else account not yet active Else Response.Write(" " & strTxtForumMembershipNotAct) If blnMemberApprove = False Then Response.Write(" " & strTxtToActivateYourForumMem) 'If admin activation is enabled let the user know If blnMemberApprove Then Response.Write(" " & strTxtYouAdminNeedsToActivateYourMembership) 'If email is on then place a re-send activation email link ElseIf blnEmailActivation AND blnLoggedInUserEmail Then Response.Write(" " & strTxtResendActivationEmail & "") End If End If End If %> |