--- a/busui/common.inc.php +++ b/busui/common.inc.php @@ -8,8 +8,6 @@ // you have to open the session to be able to modify or remove it session_start(); - - function isDebug() { return $_SERVER['SERVER_NAME'] == "10.0.1.154" || $_SERVER['SERVER_NAME'] == "localhost" || $_SERVER['SERVER_NAME'] == "127.0.0.1" || !$_SERVER['SERVER_NAME']; @@ -228,8 +226,11 @@ } $center = $totalLat/sizeof($mapPoints).",".$totalLon/sizeof($mapPoints); } - - return ''; + $output = ""; + $output .= '

Open Map...

'; + $output .= '
'; + $output .= '
'; + return $output; } function distance($lat1, $lng1, $lat2, $lng2) @@ -392,6 +393,36 @@ } return implode(", ",$pointNames); } + +function timePlaceSettings() { + global $service_periods; + echo '
+

Change Time/Place...

+
+
+ + +
+
+ + +
+
+ + + +
+ + +
'; +echo " "; +} ?> - -