diff --git a/ShowRoute.php b/ShowRoute.php new file mode 100644 index 0000000..455fc07 --- /dev/null +++ b/ShowRoute.php @@ -0,0 +1,51 @@ + + + + uBus - ShowRoute + + + + + +

ShowRoute

+

There are two tables below that list the bus stops of a route; one for each +direction. Click on a bus stop's name to see a list of routes that visit it +and view its position on a map.

+ + + +No such route. Go back?'; +} + +function PrintStops($rt,$dir){ + echo ''; + echo ''; + echo ''; + foreach ($rt['stops'][$dir] as $stp){ + $stop = getStopInfo($stp); + echo ''; + echo ''; + } + echo '
Stop #Stop Name
' . $stop['id'] . '' . $stop['name'] . '
'; +} +?> + + + + + + + + + +