From 29f92dd2e75c1982a6114c969952df44488b5af4 Mon Sep 17 00:00:00 2001 From: Mathias Mayrhofer Date: Sun, 23 Feb 2020 15:08:56 +0100 Subject: Test --- kml/data.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kml') diff --git a/kml/data.php b/kml/data.php index dacdbc8..6b169a7 100644 --- a/kml/data.php +++ b/kml/data.php @@ -390,6 +390,7 @@ foreach ($locations as $location) { $data = $locations[$location->locid]; //printf("\t" . '' . "\n", // $data->locid, $data->locname, $data->lat, $data->lng, $data->pixel_x, $data->pixel_y, $data->state, $data->gallery_link, $data->dnsnames); + if ($data->state!='offline') { printf("\t" .'' . "\n", $data->locid); printf("\t" .' %s' . "\n", $data->locname); printf("\t" .'
%s

%s

#%s, %s
' . "\n", $data->gallery_link, $data->dnsnames, $data->locid, $data->state); @@ -402,6 +403,7 @@ foreach ($locations as $location) { printf("\t" .' ' . "\n"); printf("\t" .' ' . "\n"); printf("\t" .'
' . "\n"); + } } ?> -- cgit v1.2.1