mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-20 10:11:00 +00:00
@@ -13,12 +13,12 @@ $WrefY = $WrefCoor['y'];
|
|||||||
$type = $database->getVillageType2($Wref);
|
$type = $database->getVillageType2($Wref);
|
||||||
$oasistype = $type['oasistype'];
|
$oasistype = $type['oasistype'];
|
||||||
$vdata = $database->getVillage($Wref);
|
$vdata = $database->getVillage($Wref);
|
||||||
}elseif($_POST['x']!="" && $_POST['y']!="" && is_numeric($_POST['x']) && is_numeric($_POST['y'])){
|
}elseif($_POST['x']!="" && $_POST['y']!="" && is_numeric($_POST['x']) && is_numeric($_POST['y']) && $_POST['x']<= WORLD_MAX && $_POST['y']<= WORLD_MAX){){
|
||||||
$Wref = $database->getVilWref($_POST['x'], $_POST['y']);
|
$Wref = $database->getVilWref($_POST['x'], $_POST['y']);
|
||||||
$WrefX = $_POST['x'];
|
$WrefX = $_POST['x'];
|
||||||
$WrefY = $_POST['y'];
|
$WrefY = $_POST['y'];
|
||||||
$type = $database->getVillageType2($Wref);
|
$type = $database->getVillageType2($Wref);
|
||||||
$oasistype = $type['oasistype'];
|
$oasistype = $type;
|
||||||
$vdata = $database->getVillage($Wref);
|
$vdata = $database->getVillage($Wref);
|
||||||
}
|
}
|
||||||
if($_POST['x']=="" && $_POST['y']=="" && $_POST['target_id'] == ""){
|
if($_POST['x']=="" && $_POST['y']=="" && $_POST['target_id'] == ""){
|
||||||
|
|||||||
Reference in New Issue
Block a user