Location: PHPKode > projects > DataDivisions > logout.php
<?
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# DataDivisions, Build 1.0, 12/11/2003                                      #
# FileName: logout.php                                                      #
# File Description:                                                         #
#   Semi-static page confirming user has logged out (includes cookie        #
#   deleting functions)                                                     #
#                                                                           #
# +-----------------------------------------------------------------------+ #
# | DataDivisions - Website Statistic Visualization Software              | #
# | Copyright (c) 2003, Brian Willison                                    | #
# +-----------------------------------------------------------------------+ #
# | The contents of this file are subject to the GNU General Public       | #
# | License version 2 (June 1991). This file and all its contents (incl.  | #
# | functions, methods, etc.) are free for general use within any         | #
# | community. This software is distributed with the intent to allow      | #
# | developers the opportunity to copy, manipulate and revamp this        | #
# | application in part or whole for best use cases.                      | #
# |                                                                       | #
# | This software is distributed "AS-IS" with no warranties of any kind   | #
# | either expressed or implied.                                          | #
# |                                                                       | #
# | Please refer to the GPL license document for more information:        | #
# | (_docs/gplLicense.pdf)                                                | #
# +-----------------------------------------------------------------------+ #
# | Developer, Designer, Initial Creator:                                 | #
# | Brian Willison (hide@address.com)                       | #
# +-----------------------------------------------------------------------+ #
# | Initial Download Reference:                                           | #
# | http://datadivisions.sourceforge.net                                  | #
# +-----------------------------------------------------------------------+ #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

// Include Necessary Files
require("includes/varFile.php");
require(funcGlobalFile);

// Generate Logout Page
deleteCookies();					// delete username and appSession cookies
genAppSmHeader(pageName);			// generate application header
?>
	<tr>
	<form name="logout" method="post" action="<?=phpSelf?>">
	<td><input type="text" style="width:0px;height0px;border:0px;"></td>
	<td valign="top" colspan="3"><p class="header">You are now logged out of DataDivisions.
	<p class="header">If you mistakenly logged out and wish to log back in, please click <a href="<?=loginPage?>">here</a>.</td>
	<td></td>
	</tr>
	<tr>
	<td valign="top" colspan="5"><?writeSpacer(1,10);?></td>
	</tr>
	</form>
<?
genAppSmFooter(pageName);			// generate application footer
?>
Return current item: DataDivisions