--- a/busui/stopList.php
+++ b/busui/stopList.php
@@ -2,7 +2,8 @@
include('common.inc.php');
include_header("Stops");
echo '
';
-$url = $APIurl."/json/stops";
+$url = $APIurl."/json/timingpoints";
+if ($_REQUEST['allstops']) $url = $APIurl."/json/stops";
if ($_REQUEST['lat'] && $_REQUEST['lon']) $url = $APIurl."/json/neareststops?lat={$_REQUEST['lat']}&lon={$_REQUEST['lon']}&limit=15";
$contents = json_decode(getPage($url));
foreach ($contents as $key => $row) {
@@ -19,16 +20,14 @@
echo '- '.$row[1].'
';
}
echo '
';
-/*
+echo'
-*/
+ ';
include_footer();
?>