// Copyright 2001,2002,2003,2004,2005,2006, Chris Heart - ALL RIGHTS RESERVED WORLDWIDE // logout.html include("../tpnsecurity.inc"); include("../tpndblib.inc"); include("../tpnuserlib.inc"); checkSessionActive(); ?> include("../tpnheadwords.inc"); ?>
Logoutinclude("../tpnfooter.inc"); ?> Last updated on print date( "d M Y \a\\t H:i:s", filemtime( basename( $PHP_SELF ) ) ) ?> Australian EST.
if ( $tpn[logged_in] == true) { // Set up table 2 x 2 cells to hold values ?>log_user( $tpn[id], $tpn[username], "TPN-logout", $REMOTE_ADDR, getHostByAddr($REMOTE_ADDR) ); $result = session_unregister("tpn"); // session_destroy(); if ($result) print "
You were logged in as: print $tpn[login] ?> User ID Number: print $tpn[id] ?>You have been Logged Out ...
"; else print "Could NOT log you out !!
"; } ?>Click Here !