diff --git a/ShowStop.php b/ShowStop.php new file mode 100644 index 0000000..ecdb911 --- /dev/null +++ b/ShowStop.php @@ -0,0 +1,57 @@ + + + + uBus - ShowStop + + + + + +

ShowStop

+

Below you can find two tables. One of them shows a list of routes tha visit +this bus stop. Click on a route's name to see a list of its bus stops and the +position of the bus on the map. The other table shows upcoming arrivals. There +is also a map showing the location of the requested stop.

+ + + +No such stop. Go back?'; +} + +function PrintRoutes($stp){ + global $routes; + echo ''; + echo ''; + echo ''; + foreach ($routes as $route){ + foreach ($route['stops'] as $direction){ + foreach ($direction as $stop){ + if ($stop == $stp){ + echo ''; + echo ''; + } + } + + } + } + echo '
Line #Route Name
' . $route['line'] . '' . $route['name'] . '
'; +} +?> + + + + + + + + + +