mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-30 17:44:22 +00:00
fe6ff01396
Fix Some PHP 8+ view error in Build & Credits TO DO : Full audit in build directory
33 lines
2.0 KiB
Smarty
33 lines
2.0 KiB
Smarty
<?php
|
|
|
|
#################################################################################
|
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
|
## --------------------------------------------------------------------------- ##
|
|
## Filename : RALLYPOINT MENU ##
|
|
## Type : BUILDING TEMPLATE ##
|
|
## --------------------------------------------------------------------------- ##
|
|
## Refactored by : Shadow ##
|
|
## Redesign by : Shadow ##
|
|
## --------------------------------------------------------------------------- ##
|
|
## Contact : cata7007@gmail.com ##
|
|
## Project : TravianZ ##
|
|
## Test Server : https://travianz.org ##
|
|
## GitHub : https://github.com/Shadowss/TravianZ ##
|
|
## --------------------------------------------------------------------------- ##
|
|
## License : TravianZ Project ##
|
|
## Copyright : TravianZ (c) 2010-2026. All rights reserved. ##
|
|
## --------------------------------------------------------------------------- ##
|
|
#################################################################################
|
|
|
|
$t = isset($_GET['t']) ? (int)$_GET['t'] : 0;
|
|
$isOverview = ($t === 0) || ($t === 99 && !$session->goldclub);
|
|
$isGold = ($t === 99 && $session->goldclub);
|
|
?>
|
|
<div id="textmenu">
|
|
<a href="build.php?id=<?= $id ?>" <?= $isOverview ? 'class="selected"' : '' ?>><?= OVERVIEW ?></a> |
|
|
<a href="a2b.php"><?= SEND_TROOPS ?></a> |
|
|
<a href="warsim.php"><?= Q20_RESP1 ?></a>
|
|
<?php if ($session->goldclub == 1): ?> |
|
|
<a href="build.php?id=<?= $id ?>&t=99" <?= $isGold ? 'class="selected"' : '' ?>><?php echo GOLD_CLUB; ?></a>
|
|
<?php endif; ?>
|
|
</div> |