\n";
}
function menuTopLevelEntry($t, $l, $tt = null) {
$te = is_string($tt) ? tooltip($tt) : "";
$t = preg_replace('/ /', ' ', $t);
echo " | \n";
}
function menuEntry($t, $l, $tt = null) {
$te = is_string($tt) ? tooltip($tt) : "";
echo "\n";
}
function menuSubBegin($t, $l, $tt = null, $sid = null) {
$te = is_string($tt) ? tooltip($tt) : "";
$id = ($sid == "") ? "" : " id='$sid'";
$t = preg_replace('/ /', ' ', $t);
echo "\n";
}
function drawIcon($n, $d) {
$src = getStatic("beta5/pics/icons/$n." . (input::$IE ? 'gif' : 'png'));
echo "';
}
$game = input::$game;
$accounts = $game->getLib('main/account');
$players = $game->getLib('beta5/player');
$alliance = $game->getLib('beta5/alliance');
$player = $_SESSION[game::sessName()]['player'];
$pInfo = $players->call('get', $player);
if ($pInfo['aid']) {
$privileges = $alliance->call('getPrivileges', $player);
$techTrade = ($privileges['tech_trade'] > 0);
} else {
$techTrade = false;
}
$protected = $players->call('getProtectionLevel', $player);
?>
>Player |
>Current funds: |
>Server Time: |
|
Game: =$game->text?>
output;
$c = prefs::get('main/colour', 'red');
$src = getStatic("beta5/pics/ttl/def/en/$c/$n.gif");
if (!is_null($src)) {
echo "";
}
}
$pinf = $players->call('get', $player);
if ($accounts->call('getQuitCountdown', $_SESSION['userid'])) {
?>
CLOSING ACCOUNT |
|
CLOSING ACCOUNT |
LEAVING GAME |
|
LEAVING GAME |
call('isOnVacation', $player)) {
?>
ON VACATION |
|
ON VACATION |
UNDER PROTECTION |
|
UNDER PROTECTION |
|