mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-11 05:41:01 +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">
|
<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" />
|
<img class="building g17" src="img/x.gif" alt="Marketplace" title="Marketplace" />
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<?php
|
<?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>
|
| <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
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user