Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Asa Venton
bus.of.je
Commits
246ac263
Commit
246ac263
authored
5 years ago
by
Asa Venton
Browse files
Options
Download
Patches
Plain Diff
spelling
parent
bf914a5e
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
getjson.sh
+0
-0
getjson.sh
index.php
+2
-2
index.php
with
2 additions
and
2 deletions
+2
-2
getjson.sh
100755 → 100644
+
0
−
0
View file @
246ac263
File mode changed from 100755 to 100644
This diff is collapsed.
Click to expand it.
index.php
+
2
−
2
View file @
246ac263
...
...
@@ -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>'
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets