From 18daa125c7eb08a246e4540f1d740afa07a91006 Mon Sep 17 00:00:00 2001 From: George Kaklamanos Date: Fri, 17 Jul 2015 15:27:27 +0300 Subject: [PATCH] Display routes that belong to a line. --- ShowLine.php | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ShowLine.php diff --git a/ShowLine.php b/ShowLine.php new file mode 100644 index 0000000..9001d71 --- /dev/null +++ b/ShowLine.php @@ -0,0 +1,45 @@ + + + + uBus - ShowLine + + + + + +

ShowLine

+

Here you can find a list of routes that have a specified line number. Click +on a route's name to see a list of its bus stops and the position of the bus +on the map.

+ + + +No such line. Go back?'; +} + +function PrintRoutes($line){ + $routes = getRoutesOfLine($line); + echo ''; + echo ''; + echo ''; + foreach ($routes as $route){ + echo ''; + echo ''; + } + echo '
Route #Route Name
' . $route['id'] . '' . $route['name'] . '
'; +} +?> + + + + + +