summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kml/data.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/kml/data.php b/kml/data.php
index 72f7056..6b169a7 100644
--- a/kml/data.php
+++ b/kml/data.php
@@ -390,7 +390,7 @@ foreach ($locations as $location) {
$data = $locations[$location->locid];
//printf("\t" . '<node id="%s" name="%s" lat="%s" lng="%s" pixel_x="%s" pixel_y="%s" state="%s" gallery_link="%s" router_links="%s"/>' . "\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=='online') {
+ if ($data->state!='offline') {
printf("\t" .'<Placemark id="%s">' . "\n", $data->locid);
printf("\t" .' <name>%s</name>' . "\n", $data->locname);
printf("\t" .' <description><br>%s</br><br>%s</br><br>#%s, %s</br></description>' . "\n", $data->gallery_link, $data->dnsnames, $data->locid, $data->state);