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'])) {
+ 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) { ?> +| Crop Finder - 9c and 15c | +Crop Finder - 9c and 15c | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Type | @@ -154,6 +170,7 @@ if($_GET['s'] >= 1 && $_GET['s'] <= 3) {Owner | Occupied | Distance | +Oasis | ".OCCUPIED." | "; } echo "".$database->getDistance($coor['x'], $coor['y'], $row['x'], $row['y'])." | ";
+ echo "- | "; } ?>|||