--- a/stop.php
+++ b/stop.php
@@ -73,8 +73,12 @@
//}
}
}
-include_header($stop['stop_name'], "stop");
-
+if (sizeof($stops) > 0) {
+$stopDescParts = explode("
",$stop['stop_desc']);
+include_header(trim(str_replace("Street: ","",$stopDescParts[0])), "stop");
+} else {
+ include_header($stop['stop_name']);
+}
/* $serviceAlerts = json_decode(getPage(curPageURL() . "/servicealerts_api.php?filter_class=stop&filter_id=".$stopid) , true);
foreach($serviceAlerts['entities'] as $serviceAlert) {
@@ -96,29 +100,7 @@
));
}
-// time settings
-echo '
";
+
+ $destination = getTripDestination($trip['trip_id']);
+ echo ' ";
$viaPoints = viaPointNames($trip['trip_id'], $trip['stop_sequence']);
if ($viaPoints != "")
echo ''. $trip['route_short_name'] . " towards " . $destination['stop_name'] . "
Via: ' . $viaPoints . '';
@@ -155,6 +169,7 @@
echo '