/**
* User has already logged in, so display relavent links, including
* a link to the admin center if the user is an administrator.
*/
if($session->logged_in){
echo "
Logged In
";
echo "Welcome
$session->username, you are logged in.
"
."[
username\">My Account] "
."[
Edit Account] ";
if($session->isAdmin()){
echo "[
Admin Center] ";
}
echo "[
Logout]";
}
else{
?>