';
- $overrides = getServiceOverride();
- if ($overrides['service_id']) {
- if ($overrides['service_id'] == "noservice") {
- echo '
';
- }
- }
- if ($GTFSREnabled) {
- $serviceAlerts = getServiceAlertsAsArray("agency","0");
- foreach ($serviceAlerts['entity'] as $entity) {
- echo "
".date("F j, g:i a",strtotime($entity['alert']['active_period'][0]['start']))." to ". date("F j, g:i a", strtotime($entity['alert']['active_period'][0]['end']))."{$entity['alert']['header_text']['translation'][0]['text']}
Warning: {$entity['alert']['description_text']['translation'][0]['text']}
+ } else {
+ echo '
';
+ }
+ }
+ if ($GTFSREnabled) {
+ $serviceAlerts = getServiceAlertsAsArray("agency", "0");
+ foreach ($serviceAlerts['entity'] as $entity) {
+ echo "
" . date("F j, g:i a", strtotime($entity['alert']['active_period'][0]['start'])) . " to " . date("F j, g:i a", strtotime($entity['alert']['active_period'][0]['end'])) . "{$entity['alert']['header_text']['translation'][0]['text']}
Warning: {$entity['alert']['description_text']['translation'][0]['text']}
Source ";
- }
- }
- }
-}
-function include_footer()
-{
- global $labsPath;
- echo '';
- if (isAnalyticsOn()) {
- echo "";
- $googleAnalyticsImageUrl = googleAnalyticsGetImageUrl();
- echo '
';
- }
- echo "\n