From 412cca2e016e6fe1b7998c84262a70e3ea79dbd7 Mon Sep 17 00:00:00 2001 From: Mathias Mayrhofer Date: Sun, 23 Feb 2020 15:00:54 +0100 Subject: Test --- kml/data.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'kml/data.php') diff --git a/kml/data.php b/kml/data.php index df18697..01b4f2c 100644 --- a/kml/data.php +++ b/kml/data.php @@ -48,7 +48,8 @@ $links = array(); $already = array(); $count = array(); -printf("def %s"); +printf("abc %s", $locations); +exit; $db->query("SELECT ip, ip.name as ipname,location.id as locid,location.name as locname, node.name as nodename FROM ip, node, location WHERE ip.node_id = node.id and node.location_id=location.id"); while ($data = $db->getNextObject()) { @@ -68,10 +69,6 @@ if($conf['acl']['auth']) else $db->query("SELECT id as locid, name as locname, pixel_x, pixel_y, gallery_link, location.hastinc as hastinc FROM location WHERE location.hidden = 0 ORDER BY name ASC"); -printf("abc %s", $locations); -exit; - - while ($data = $db->getNextObject()) { if ($data->pixel_x == "0") continue; -- cgit v1.2.1