diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -99,7 +99,7 @@ if (isset($_GET['route'])) { echo '<p><br><b>' . ucfirst($direction) . ' | ' . $displayDay . '</b>'; echo '<table align="left" border="1" cellpadding="3" width="100%">'; $trips = getData('trips', $route, $direction, $day); - // TODO: sort stopList by stopList['order'] + // TODO: sort $stopList by $stopList['order'] // TODO: must be a more efficient way to search for $rowStop['stop_name'] in $trip? foreach ($stopList as $rowStop) { echo '<tr><td><b>' . $rowStop['stop_name'] . '</b></td>'; @@ -129,7 +129,7 @@ else { $routes = getData('routes', false, false, false); $meta = getData('meta', false, false, false); echo '<h3>' . $meta['name']. ' | ' . $meta['from'] . ' - ' . $meta['to'] . '</h3>'; - echo '<h4>Service Updates:</h4>\n<p>'; + echo '<h4>Service Updates:</h4><p>'; foreach ($servUpdates as $update) { echo $update['content'] . '- <b>Affected Routes: </b>' . implode(", ",$update['services']) . '<br><br>'; } |