<% Option Explicit %> <% '**************************************************************************************** '** Copyright Notice '** '** Web Wiz Guide - Web Wiz Guestbook '** http://www.webwizguestbook.com '** '** Copyright 2001-2006 Bruce Corkhill All Rights Reserved. '** '** This program is free software; you can modify (at your own risk) any part of it '** under the terms of the License that accompanies this software and use it both '** privately and commercially. '** '** All copyright notices must remain in tacked in the scripts and the '** outputted HTML. '** '** You may use parts of this program in your own private work, but you may NOT '** redistribute, repackage, or sell the whole or any part of this program even '** if it is modified or reverse engineered in whole or in part without express '** permission from the author. '** '** You may not pass the whole or any part of this application off as your own work. '** '** All links to Web Wiz Guide and powered by logo's must remain unchanged and in place '** and must remain visible when the pages are viewed unless permission is first granted '** by the copyright holder. '** '** This program is distributed in the hope that it will be useful, '** but WITHOUT ANY WARRANTY; without even the implied warranty of '** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER '** WARRANTIES WHETHER EXPRESSED OR IMPLIED. '** '** You should have received a copy of the License along with this program; '** if not, write to:- Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom. '** '** '** No official support is available for this program but you may post support questions at: - '** http://www.webwizguide.info/forum '** '** Support questions are NOT answered by e-mail ever! '** '** For correspondence or non support questions contact: - '** info@webwizguide.info '** '** or at: - '** '** Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom '** '**************************************************************************************** 'Set the response buffer to true Response.Buffer = True 'If the session variable is False or does not exsist then redirect the user to the unauthorised user page If Session("blnIsUserGood") = False or IsNull(Session("blnIsUserGood")) = True then 'Reset Server Variables Set rsCommon = Nothing adoCon.Close Set adoCon = Nothing 'Redirect to unathorised user page Response.Redirect"unauthorised_user_page.htm" End If Dim blnLinksRemoved, blnWrongCode, strEnteredSerial, strFID, blnFieldsXX, strLiName, strLiType, strEmailBody, strXCode, strSubject, strLiEM, strLiURL, saryLiEnteredSerial, strLiEncodedCode,strLiS1,strLiS2 blnLinksRemoved = False blnWrongCode = False strFID = decodeString(strCodeField) strCode = "BFE33F5B3BEC351BF32F9FE55DC2F8EFF33C297D" strCode2 = "F2F8B11EAED31967DE8DB265A37398AF3AA769C9" strSQL = "SELECT " & strDbTable & "Configuration.* From " & strDbTable & "Configuration WHERE " & strDbTable & "Configuration.ID=1;" rsCommon.Open strSQL, adoCon,2,3 If NOT rsCommon.EOF Then If rsCommon.Fields(strFID) = False Then blnLinksRemoved = True End If If Request.Form("postBack") Then strLiName = Request.Form("liname") strLiEM = Request.Form("email") strLiType = Request.Form("cType") strLiURL = LCase(Trim(Request.Form("URL"))) strXCode = UCase(Trim(Replace(Request.Form("code"), "'", "", 1, -1, 1))) strSubject = "WWGB Code Details" strEmailBody = "Guestbook Link Code Details.....
" & _ vbCrLf & "
Name: " & strLiName & _ vbCrLf & "
Email: " & strLiEM & _ vbCrLf & "
URL: " & strLiURL & _ vbCrLf & "
Type: " & strLiType & _ vbCrLf & "
Code: " & strXCode & _ vbCrLf & vbCrLf & "

Guestbook Email: " & strWebSiteEmailAddress & _ vbCrLf & "
Server IP: " & Request.ServerVariables("LOCAL_ADDR") & _ vbCrLf & "
Version: " & strVersion & _ vbCrLf & vbCrLf & "

HTTP Headers: -
" & vbCrLf & Request.ServerVariables("ALL_HTTP") If strLiName = "" OR strLiEM = "" OR strLiType = "" OR strLiURL = "" Then blnFieldsXX = true If NOT rsCommon.EOF AND blnFieldsXX = false Then If Len(strXCode) > 40 Then strLiS1 = Left(strXCode, 2) strLiS2 = Right(strXCode, 3) strEnteredSerial = Mid(strXCode, 4, 40) strLiEncodedCode = HashEncode(strLiS2 & LCase(strLiURL) & strLiS1) Else strEnteredSerial = HashEncode((LCase(strXCode) & strSalt)) End If If strEnteredSerial = strCode OR strEnteredSerial = strCode2 OR strEnteredSerial = strLiEncodedCode Then rsCommon.Fields(strFID) = False rsCommon.Update blnLinksRemoved = True Application("blnConfigurationSet") = false On Error Resume Next Call SendMail(strEmailBody, "links@webwizguestbook.com", strSubject, strMailComponent) On Error goto 0 Else blnWrongCode = True End If End If End If %> Remove Link Buttons <% '***** START WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ****** Response.Write("" & vbCrLf & vbCrLf) '***** END WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ****** %>

Remove Web Wiz Guide Ads/Links

Return to the the Administration Menu

<% If blnLinksRemoved = True Then %>
Thank-you for your purchase from Web Wiz Guide, the ads/links should now be removed from the Guestbook.

If there are any problems please e-mail Web Wiz Guide at: -
purchase@webwizguide.com

<% Else %>
As part of the license for the Web Wiz Guestbook you are required to leave Powered By
Web Wiz Guide links and advertising in place. I believe that this is a small price to pay for the many hours of
ongoing time that have gone into the development and support of the Guestbook.

However, many people have asked if they can remove these links for various reasons so
I am asking for a small amount to help cover some of the costs involved in the many 1,000's of
hours of
ongoing development, support, and distribution of this and other
free applications and services from Web Wiz Guide.

For more information or to find out how you can purchase a link removal license key for
Web Wiz Guestbook from Web Wiz Guide click on the link below: -

Click here to purchase Ad/Link Removal License Key from Web Wiz Guide for this Application

<% If blnWrongCode = True Then %>
Sorry, one or more fields are entered incorrectly!!

Please make sure the License Key Code and Registered URL are exactly the same as in your license email.


<% End If %>
Enter the license code in the box below 
Registration Name:
Registration Email:
Registration URL:
This needs to be the exact URL you registered for your link removal key to work.
License Key:
Please copy and paste the exact link removal key sent to you via email.
Licensel Type:
<% End If %>

For more info contact: -
purchase@webwizguide.com
Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom.
<% 'Reset Server Variables rsCommon.Close Set rsCommon = Nothing adoCon.Close Set adoCon = Nothing %>