( 1241 or 18450) ) ) {
//echo(" Member Number is [ ". $_SESSION['MemberNumber']. " ]
");
echo "System is currently down for maintenance.
Please try again later.
";
exit;
}
//if ($_SESSION['MemberNumber'] <> 1241) {
// $auth = "READONLY";
//} else {
// echo "";
//}
//$trace="on"; // comment this line out to turn trace off
//*******************************************************************************************
//*** Get variables ***
//*******************************************************************************************
session_start();
$MemberNumber=$_SESSION['MemberNumber'];
$title = " - Edit My Profile";
require_once("inc_prof_variables.php");
if ($mode == "update") {
//*******************************************************************************************
//*** Apply any updates to the database ***
//*******************************************************************************************
If ($trace) {echo "Applying any updates to the database
";}
require_once("inc_profile_update.php"); // write updates to DB
$query= "select * from $tablename where MemberNumber = '" .$MemberNumber. "'";
require_once'inc_profile_read.php'; // re-read from the DB
//echo "updated database";
//echo '';
if ($trace) {echo "database update complete
";}
}
$pgtitle="Display / Edit";
if ($trace) {echo "Page Title set to $pgtitle.
"; }
$auth="READONLY";
include("head_v2.html"); /* includes