|
/**
* User has submitted form without errors and user's
* account has been edited successfully.
*/
if(isset($_SESSION['useredit'])){
unset($_SESSION['useredit']);
?>
User Account Edit Success! , your account has been successfully updated. Click here to return to the main page. |
}
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){
?>
User Account Edit : echo $session->realName; ?>
This is where you can change your password or e-mail address.
if($form->num_errors > 0){
echo "".$form->num_errors." error(s) found";
}
?>
}
}
$query = sprintf("select adsAllowed, membershipLevel from users where username = '%s'",$username);
//printf($query);
$mysqldb->query($query);
$row = $mysqldb->fetchObject();
$adsAllowed = $row->adsAllowed;
$membershipLevel = $row->membershipLevel;
?>
// if they are not full member yet...
if($membershipLevel<1 || $membershipLevel =="")
{
?>
}
?>
Show me My listings
|
|