echo 'color="' . $path['gps_path_color'] . '" '; echo '>'; // Iterate through the rows, printing XML nodes for each while ($row = @mysqli_fetch_assoc($result)) { echo '<coord '; echo 'lat="' . $row['gps_latitude'] . '" '; echo 'lng="' . $row['gps_longitude'] . '" '; echo '/>'; } echo "</path>"; } // End XML file echo '</paths>'; } $showPathMarkers = false; if (isset($_GET['showPathMarkers']) && $_GET['showPathMarkers'] == "true") { $showPathMarkers = true; } $markerDelay = 0; if ($loginT == null || $loginT->getStatus() == false) { $markerDelay = phpGPS_Settings::$_markerDelay; } header("Content-type: text/xml"); echo "<mapInfo>\n"; if (isset($_GET['marker_id']) && $_GET['marker_id'] != "") { generateMarkers($con, $_GET['marker_id'], $markerDelay); } else { generateMarkers($con, '', $showPathMarkers, $markerDelay); generatePaths($con, $markerDelay); } echo "</mapInfo>\n";
<span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.php">phpGPS</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li<?php echo showActive("viewMap.php"); ?> ><a href="viewMap.php">View <span class="sr-only">(current)</span></a></li> <?php if ($loginT != null && $loginT->getStatus() == true) { ?> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Edit <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li<?php echo showActive("editMap.php"); ?> ><a href="editMap.php">Edit Map</a></li> <li class="divider"></li> <li<?php echo showActive("editMarkers.php"); ?> ><a href="editMarkers.php">Edit Markers</a></li> <li<?php echo showActive("editPaths.php");