<% '**************************************************************************************** '** Copyright Notice '** '** Web Wiz Guide - Web Wiz Journal '** '** Copyright 2001-2002 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.com '** '** or at: - '** '** Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom '** '**************************************************************************************** 'Set the response buffer to true Response.Buffer = True Private Function decodeString(strInputEntry) strInputEntry = Replace(strInputEntry, "a", "a", 1, -1, 0) strInputEntry = Replace(strInputEntry, "b", "b", 1, -1, 0) strInputEntry = Replace(strInputEntry, "c", "c", 1, -1, 0) strInputEntry = Replace(strInputEntry, "d", "d", 1, -1, 0) strInputEntry = Replace(strInputEntry, "e", "e", 1, -1, 0) strInputEntry = Replace(strInputEntry, "f", "f", 1, -1, 0) strInputEntry = Replace(strInputEntry, "g", "g", 1, -1, 0) strInputEntry = Replace(strInputEntry, "h", "h", 1, -1, 0) strInputEntry = Replace(strInputEntry, "i", "i", 1, -1, 0) strInputEntry = Replace(strInputEntry, "j", "j", 1, -1, 0) strInputEntry = Replace(strInputEntry, "k", "k", 1, -1, 0) strInputEntry = Replace(strInputEntry, "l", "l", 1, -1, 0) strInputEntry = Replace(strInputEntry, "m", "m", 1, -1, 0) strInputEntry = Replace(strInputEntry, "n", "n", 1, -1, 0) strInputEntry = Replace(strInputEntry, "o", "o", 1, -1, 0) strInputEntry = Replace(strInputEntry, "p", "p", 1, -1, 0) strInputEntry = Replace(strInputEntry, "q", "q", 1, -1, 0) strInputEntry = Replace(strInputEntry, "r", "r", 1, -1, 0) strInputEntry = Replace(strInputEntry, "s", "s", 1, -1, 0) strInputEntry = Replace(strInputEntry, "t", "t", 1, -1, 0) strInputEntry = Replace(strInputEntry, "u", "u", 1, -1, 0) strInputEntry = Replace(strInputEntry, "v", "v", 1, -1, 0) strInputEntry = Replace(strInputEntry, "w", "w", 1, -1, 0) strInputEntry = Replace(strInputEntry, "x", "x", 1, -1, 0) strInputEntry = Replace(strInputEntry, "y", "y", 1, -1, 0) strInputEntry = Replace(strInputEntry, "z", "z", 1, -1, 0) strInputEntry = Replace(strInputEntry, "0", "0", 1, -1, 0) strInputEntry = Replace(strInputEntry, "1", "1", 1, -1, 0) strInputEntry = Replace(strInputEntry, "2", "2", 1, -1, 0) strInputEntry = Replace(strInputEntry, "3", "3", 1, -1, 0) strInputEntry = Replace(strInputEntry, "4", "4", 1, -1, 0) strInputEntry = Replace(strInputEntry, "5", "5", 1, -1, 0) strInputEntry = Replace(strInputEntry, "6", "6", 1, -1, 0) strInputEntry = Replace(strInputEntry, "7", "7", 1, -1, 0) strInputEntry = Replace(strInputEntry, "8", "8", 1, -1, 0) strInputEntry = Replace(strInputEntry, "9", "9", 1, -1, 0) 'Return decodeString = strInputEntry End Function 'Dimension variables Dim rsRemoveLinks 'recordset holding the admin details Dim strMode 'holds the mode of the page, set to true if changes are to be made to the database Dim blnLinksRemoved Dim blnWrongCode blnLinksRemoved = False blnWrongCode = False strCodeField = decodeString(strCodeField) strCode = decodeString(strCode) strMode = Request.Form("mode") Set rsRemoveLinks = Server.CreateObject("ADODB.Recordset") strSQL = "SELECT tblConfiguration." & strCodeField & " From tblConfiguration;" rsRemoveLinks.LockType = 3 rsRemoveLinks.CursorType = 2 rsRemoveLinks.Open strSQL, strCon If NOT rsRemoveLinks.EOF Then If rsRemoveLinks.Fields(strCodeField) = False Then blnLinksRemoved = True End If If strMode = "change" Then If NOT rsRemoveLinks.EOF Then If LCase(Request.Form("code")) = LCase(strCode) Then rsRemoveLinks.Fields(strCodeField) = False rsRemoveLinks.Update blnLinksRemoved = True Else blnWrongCode = True End If End If End If %> Remove Link Buttons

Remove Web Wiz Guide Links

Return to the the Administration Menu

<% If blnLinksRemoved = True Then %>
Thank-you for your donation to Web Wiz Guide, the links should now be removed from the Site Journal.

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

<% Else %>
As part of the license for the Web Wiz Site Journal you are required to leave Powered By
Web Wiz Guide links 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 Journal.

However, many people have asked if they can remove these links for various reasons so
I am asking for a small donation of any amount you like to help me 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 make a donation to Web Wiz Guide click on the link below: -

Click here to make a donation to Web Wiz Guide and receive the link removal code

<% If blnWrongCode = True Then %>

Sorry the code you have entered is incorrect!
<% End If %>
Enter the link removal code in the box below 
Code: 
<% End If %>

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