mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-29 00:54:31 +00:00
fix trade routes: now if you have not more than one village you cannot use them
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php if($session->goldclub == 1 && $database->getProfileVillages($session->uid) > 1) { ?>
|
||||
<?php if($session->goldclub == 1 && count($database->getProfileVillages($session->uid)) > 1) { ?>
|
||||
<div id="build" class="gid17"><a href="#" onClick="return Popup(17,4);" class="build_logo">
|
||||
<img class="building g17" src="img/x.gif" alt="Marketplace" title="Marketplace" />
|
||||
</a>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php if($session->goldclub == 1 && $database->getProfileVillages($session->uid) > 1) {
|
||||
<?php if($session->goldclub == 1 && count($database->getProfileVillages($session->uid)) > 1) {
|
||||
?>
|
||||
| <a href="build.php?id=<?php echo $id; ?>&t=4" <?php if(isset($_GET['t']) && $_GET['t'] == 4) { echo "class=\"selected\""; } ?>>trade routes</a>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user