mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-03 17:07:17 +00:00
Correctly show Oasis or the Village Name
This commit is contained in:
@@ -96,19 +96,20 @@ $vdata = $database->getVillage($towref);
|
|||||||
<?php
|
<?php
|
||||||
$oasistype = $database->getVillageType2($towref);
|
$oasistype = $database->getVillageType2($towref);
|
||||||
if($oasistype != 0){
|
if($oasistype != 0){
|
||||||
|
$thisVillageName = 'Oasis';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$thisVillageName = $vdata["name"];
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<span class="coordinates coordinatesWithText">
|
<span class="coordinates coordinatesWithText">
|
||||||
<span class="coordText">Oasis</span>
|
<span class="coordText"><?php echo $thisVillageName; ?></span>
|
||||||
<span class="coordinatesWrapper">
|
<span class="coordinatesWrapper">
|
||||||
<span class="coordinateY">(<?php echo $x; ?></span>
|
<span class="coordinateY">(<?php echo $x; ?></span>
|
||||||
<span class="coordinatePipe">|</span>
|
<span class="coordinatePipe">|</span>
|
||||||
<span class="coordinateX"><?php echo $y; ?>)</span>
|
<span class="coordinateX"><?php echo $y; ?>)</span>
|
||||||
</span></span><?php;}else{?>
|
</span></span>
|
||||||
<span class="coordinates coordinatesWithText">
|
|
||||||
<span class="coordText"><?php echo $vdata['name']; ?></span>
|
|
||||||
</span>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<span class="clear"></span>
|
<span class="clear"></span>
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user