include('../Code/confHeader.inc'); $Conf -> connect(); $Me -> goIfInvalid("../"); ?> $Conf->header("Modify Account Information") ?>
if (IsSet($register) ) { if ( $firstEmail != $secondEmail ) { $Conf->errorMsg( "Your first email address ($firstEmail) does not match your " . "second email ($secondEmail). Please correct " . "this problem"); } else if ( $passwd == "") { $Conf->errorMsg( "You used a blank password. This must contain a value"); } else { // // Update Me // $Me -> firstName = $firstName; $Me -> lastName = $lastName; $Me -> email = $firstEmail; $Me -> affiliation = $affiliation; $Me -> street1 = $street1; $Me -> street2 = $street2; $Me -> city = $city; $Me -> state = $state; $Me -> zip = $zip; $Me -> country = $country; $Me -> voicePhoneNumber = $phone; $Me -> faxPhoneNumber = $fax; $Me -> password = $passwd; $result = $Me -> updateDB($Conf); if (DB::isError($result)) { $Conf->errorMsg("There was some problem adding your account. " . "The error message was " . $result -> getMessage() . " " . " Please try again. "); } else { // // Refresh the results // $Me -> lookupByEmail($firstEmail,$Conf); $Conf->confirmMsg("You account was successfully updated. " . "You may make other modifications if you wish, " . "or you may return to conference page ." ); $Conf->log("Updated account", $Me); } } } $Me -> updateContactRoleInfo($Conf); if ($Me -> firstName == "" || $Me -> lastName == "" ) { $Conf->infoMsg("
You can modify your contact information below. Once you're done, hit the button at the bottom on the page. |