/** * UserEdit.php * * This page is for users to edit their account information * such as their password, email address, etc. Their * usernames can not be edited. When changing their * password, they must first confirm their current password. * * Written by: Jpmaster77 a.k.a. The Grandmaster of C++ (GMC) * Last Updated: August 26, 2004 */ include("include/session.php"); if (!$session->logged_in) { header("Location: /basecamp/login"); } //phpinfo(); $timezones = array('Europe/London' => 'GMT', 'America/New_York' => "U.S. Eastern", 'America/Chicago' => "U.S. Central", 'America/Los_Angeles' => "U.S. Pacific", 'America/Anchorage' => 'U.S. Alaska', 'Pacific/Honolulu' => 'U.S. Hawaii'); $subtitle = "My Account"; ?>
$session->username, your account has been successfully updated. " ."Home.
"; } else{ ?> /** * If user is not logged in, then do not display anything. * If user is logged in, then display the form to edit * account information, with the current email address * already in the field. */ if($session->logged_in){ ?>