mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-24 03:57:15 +00:00
fix: Admin Map shows Natars when Player villages are not showing
This commit is contained in:
@@ -15,12 +15,12 @@ if(isset($_POST['show1']) || isset($_POST['show2'])) {
|
|||||||
$check2=isset($_POST['show2'])? "checked ":"";
|
$check2=isset($_POST['show2'])? "checked ":"";
|
||||||
if ($check1!="" && $check2!="") {$criteria="";}
|
if ($check1!="" && $check2!="") {$criteria="";}
|
||||||
if ($check1!="" && $check2=="") {$criteria="WHERE tribe<>5";}
|
if ($check1!="" && $check2=="") {$criteria="WHERE tribe<>5";}
|
||||||
if ($check1=="" && $check2!="") {$criteria="WHERE tribe IN(0,5)";}
|
if ($check1=="" && $check2!="") {$criteria="WHERE tribe IN(0,5) OR tribe IS NULL";}
|
||||||
}elseif(!isset($_GET['c'])){
|
}elseif(!isset($_GET['c'])){
|
||||||
$check1="checked ";
|
$check1="checked ";
|
||||||
$criteria="WHERE tribe<>5";
|
$criteria="WHERE tribe<>5";
|
||||||
}
|
}
|
||||||
if ($check1=="" && $check2=="") {$criteria="WHERE tribe=0)";}
|
if ($check1=="" && $check2=="") {$criteria="WHERE tribe=0";}
|
||||||
?>
|
?>
|
||||||
<link rel="stylesheet" href="../img/admin/map.css" type="text/css" media="all">
|
<link rel="stylesheet" href="../img/admin/map.css" type="text/css" media="all">
|
||||||
<div id="start">
|
<div id="start">
|
||||||
|
|||||||
Reference in New Issue
Block a user