getPhrases('browse', 'logout', 'home', 'home_set'); } catch ( Phrasebook_Exception $except ) { $phrases = array('browse' => 'Browse', 'logout' => 'Logout', 'home' => 'Home', 'home_set' => 'Set to Home'); $result = array('breadcrumb' => 'ERROR', 'body' => "
".$except->getError()."
"); } echo "
".LFG_Controller_PrintLink(LFG_PAGE_FORM, $_SESSION['user_name'], array('type' => 'account'))."
\n"; echo "
".LFG_Controller_PrintLink(LFG_PAGE_BROWSE, $phrases['browse'], array('type' => 'game', 'list' => 1))."
\n"; echo "
".LFG_Controller_PrintLink(LFG_PAGE_ACTION, $phrases['logout'], array('type' => 'logout'))."
\n"; echo "
".LFG_Controller_PrintLink(LFG_PAGE_BROWSE, $phrases['home'], array('type' => 'home'))."
\n"; echo "
".LFG_Controller_PrintLink(LFG_PAGE_ACTION, $phrases['home_set'], array('type' => 'home_set'))."
\n"; } else { try { $phrases = $GLOBALS['Phrasebook']->getPhrases('guest', 'browse', 'login', 'register'); } catch ( Phrasebook_Exception $except ) { $phrases = array('guest' => 'Guest', 'browse' => 'Browse', 'login' => 'Login', 'register' => 'Register'); $result = array('breadcrumb' => 'ERROR', 'body' => "
".$except->getError()."
"); } echo "
".ucfirst($phrases['guest'])."
\n"; echo "
".LFG_Controller_PrintLink(LFG_PAGE_BROWSE, $phrases['browse'], array('type' => 'game', 'list' => 1))."
\n"; echo "
".LFG_Controller_PrintLink(LFG_PAGE_FORM, $phrases['login'], array('type' => 'login'))."
\n"; echo "
".LFG_Controller_PrintLink(LFG_PAGE_FORM, $phrases['register'], array('type' => 'register'))."
\n"; } ?>
{$result['message']}"; } ?>