--- a/routeList.php +++ b/routeList.php @@ -1,133 +1,167 @@
'; } -if ($_REQUEST['bysuburb']) { - include_header("Routes by Suburb", "routeList"); - navbar(); - echo '" . $headsign['trip_headsign'] . (strstr($headsign['trip_headsign'], "bound") === false ? "bound" : "") . ", starting at " . $headsign['stop_name'] . " (" . ucwords($headsign['service_id']) . ")
"; + + echo"" . $time['trip_headsign'] . (strstr($time['trip_headsign'], "bound") === false ? "bound" : "") . " from " . $start['stop_name'] . " to " . $end['stop_name'] . " (" . ucwords($time['service_id']) . ")
"; + $stop = getStop($route['stop_id']); + echo "Board at " . $stop['stop_name'] . "
"; + echo '' . ($time['arrival_time'] ? $time['arrival_time'] : "No more trips today") . "