%
'****************************************************************************************
'** Copyright Notice
'**
'** EzASPSite™
'**
'** Copyright 2003-2004 VSBrown All Rights Reserved.
'**
'** This program is free software; you can modify (at your own risk) any part of it
'** 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 EzASPSite™ and Powered By EzASPSite™ link 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.
'**
'** No official support is available for EzASPSite™ but you may post support questions at:
'** http://www.ezaspsite.com/forum
'**
'****************************************************************************************
%>
<%
Dim ThisPage, ThisQuery, NullQuery, QueryCheck
ThisPage = Request.ServerVariables("SCRIPT_NAME")
ThisQuery = Request.ServerVariables("QUERY_STRING")
'Checks To See If There Is A Query
NullQuery = InStr(1, ThisQuery, "")
If NullQuery > 0 Then
QueryCheck = "?" & ThisQuery
Else
QueryCheck = ""
End If
%>
<% If forumon = "On" Then %>
<% End If %>
<% If guestbookon = "On" Then %>
<% End If %>
<% Session("DaPage") = ThisPage & QueryCheck %>
<% If strLoggedInUsername = "Guest" or strLoggedInUsername = "" Then %>
<%=strTxtLoggedInAs %>: <%=strLoggedInUsername %>