. */ /** * @package Base * @subpackage Forms */ require('header.php'); if( isset($_REQUEST['logoff']) AND $User->type['User'] ) { // If the user is logged on, and wants to log off, now we do it. libAuth::key_wipe(); unset($User); // Unset his cookie and $User $User = new User(GUESTID); // Give him a guest $User header('refresh: 3; url=index.php'); libHTML::notice('Logged off', "You have successfully logged off, and will be redirected in a moment."); } libHTML::starthtml(); if( ! $User->type['User'] ) { print '