mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-04 11:54:25 +00:00
@@ -40,7 +40,7 @@ while($row = mysql_fetch_array($sql)){
|
||||
<tr>
|
||||
<td class="checkbox edit"></td>
|
||||
<td class="village sortable" onclick="Travian.Game.RaidList.sort(<?php echo $lid; ?>, 'village');">Village</td>
|
||||
<td class="ew sortable" onclick="Travian.Game.RaidList.sort(<?php echo $lid; ?>, 'ew');">Ew</td>
|
||||
<td class="ew sortable" onclick="Travian.Game.RaidList.sort(<?php echo $lid; ?>, 'ew');">Pop</td>
|
||||
<td class="distance sortable" onclick="Travian.Game.RaidList.sort(<?php echo $lid; ?>, 'distance');">Distance</td>
|
||||
<td class="troops sortable" onclick="Travian.Game.RaidList.sort(<?php echo $lid; ?>, 'troops');">Troops</td>
|
||||
<td class="lastRaid sortable" onclick="Travian.Game.RaidList.sort(<?php echo $lid; ?>, 'lastRaid');">LastRaid</td>
|
||||
@@ -53,7 +53,7 @@ while($row = mysql_fetch_array($sql)){
|
||||
$sql2 = mysql_query("SELECT * FROM ".TB_PREFIX."raidlist WHERE lid = $lid ORDER BY distance ASC");
|
||||
$query2 = mysql_num_rows($sql2);
|
||||
if($query2 == 0) {
|
||||
echo '<td class="noData" colspan="7">There is no any raid list.</td>';
|
||||
echo '<td class="noData" colspan="7">There is not any raid list.</td>';
|
||||
}else{
|
||||
while($row = mysql_fetch_array($sql2)){
|
||||
$id= $row['id'];$lid = $row['lid'];$towref = $row['towref'];$x = $row['x'];$y = $row['y'];
|
||||
@@ -94,22 +94,22 @@ $vdata = $database->getVillage($towref);
|
||||
?>
|
||||
<label for="slot<?php echo $id; ?>">
|
||||
<?php
|
||||
$type = $database->getVillageType2($towref);
|
||||
$oasistype = $type['oasistype'];
|
||||
$oasistype = $database->getVillageType2($towref);
|
||||
if($oasistype != 0){
|
||||
$thisVillageName = 'Oasis';
|
||||
}
|
||||
else
|
||||
{
|
||||
$thisVillageName = $vdata["name"];
|
||||
}
|
||||
?>
|
||||
<span class="coordinates coordinatesWithText">
|
||||
<span class="coordText">Oasis</span>
|
||||
<span class="coordText"><?php echo $thisVillageName; ?></span>
|
||||
<span class="coordinatesWrapper">
|
||||
<span class="coordinateY">(<?php echo $x; ?></span>
|
||||
<span class="coordinatePipe">|</span>
|
||||
<span class="coordinateX"><?php echo $y; ?>)</span>
|
||||
</span></span><?php;}else{?>
|
||||
<span class="coordinates coordinatesWithText">
|
||||
<span class="coordText"><?php echo $vdata['name']; ?></span>
|
||||
</span>
|
||||
<?php } ?>
|
||||
|
||||
</span></span>
|
||||
<span class="clear"></span>
|
||||
</label>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user