From 93043ee4d1292cfa8316315e337559502ab08cb5 Mon Sep 17 00:00:00 2001 From: Catalin Novgorodschi <1140613+Shadowss@users.noreply.github.com> Date: Thu, 7 Jun 2018 13:29:16 +0300 Subject: [PATCH] Added crop oasis on crop finder +must to be coded --- crop_finder.php | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/crop_finder.php b/crop_finder.php index d367102f..ead411d2 100644 --- a/crop_finder.php +++ b/crop_finder.php @@ -112,12 +112,26 @@ if(is_numeric($_GET['x']) && is_numeric($_GET['y'])) {
- + + + + + @@ -129,6 +143,7 @@ if(is_numeric($_GET['x']) && is_numeric($_GET['y'])) {
Search for:Cropper Type: /> 15 crop /> 9 crop /> both
Oasis Crop Bonus (at least): + +
Startposition:
+ dblink,"SELECT id, x, y, occupied, fieldtype FROM ".TB_PREFIX."wdata WHERE $fieldType"); @@ -143,10 +158,11 @@ if(is_numeric($_GET['x']) && is_numeric($_GET['y'])) { if($_GET['s'] >= 1 && $_GET['s'] <= 3) { ?> + - + @@ -154,6 +170,7 @@ if($_GET['s'] >= 1 && $_GET['s'] <= 3) { + @@ -177,6 +194,7 @@ foreach($rows as $row) { echo ""; } echo ""; + echo ""; } ?>
Crop Finder - 9c and 15cCrop Finder - 9c and 15c
TypeOwner Occupied DistanceOasis
".OCCUPIED."
".$database->getDistance($coor['x'], $coor['y'], $row['x'], $row['y'])."
-