Update to version 8.3.5

Many Fixes
This commit is contained in:
Shadow
2022-02-18 13:56:17 +02:00
parent 2565d99549
commit 4c68d8dd39
62 changed files with 467 additions and 332 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
if(isset($_GET['z'])) {
$currentcoor = $database->getCoor($_GET['z']);++$requse2;
$currentcoor = $database->getCoor($_GET['z']);
$y = $currentcoor['y'];
$x = $currentcoor['x'];
$bigmid = $_GET['z'];
+3 -2
View File
@@ -14,7 +14,7 @@ echo !$oasis['conqured']? UNOCCUOASIS : OCCUOASIS; echo " (".$basearray['x']."|"
$otext = !$oasis['conqured']? UNOCCUOASIS : OCCUOASIS;
} ?></h1>
<?php if($basearray['occupied'] && $basearray['capital']) { echo "<div id=\"dmain\">(capital)</div>"; }
if($uinfo['owner'] == 3 && $uinfo['name'] == PLANVILLAGE){
if($uinfo && $uinfo['owner'] == 3 && $uinfo['name'] == PLANVILLAGE){
?>
<img src="img/x.gif" id="detailed_map" class="f99" alt="<?php echo PLANVILLAGE;?>" />
<?php }else{ ?>
@@ -154,7 +154,8 @@ if($oasis['owner'] == 2){
</tr></thead>
<tbody>
<?php
if($session->uid == $database->getVillage($_GET['d'])['owner']){
$vilData = $database->getVillage($_GET['d']);
if( $vilData && $session->uid == $vilData['owner'] ){
$limit = "ntype > 3 AND ntype < 8";
}
else $limit = "ntype < 8 OR ntype > 17";