You must have PHP>=5.4 for this to work. An untested workaround is to replace
$exampleArray = [];
with
$exampleArray = array();
This script parses TfGM's ATCO-CIF data (placed in ./cifdata) to provide a nice-looking timetable service. Confirmed working with latest CIF dated 23/01/13
Extract TfGM's CIF data into cifdata. The scripts should be working from this point and you can go from there.
GNU AGPL, Further info in COPYING
Based on this image and is public domain.
Contains Bootstrap from Twitter which is licenced under the Apache Licence. Contains Cosmo from Bootswatch which is licenced under the Apache Licence. Contains Glyphicons which (in this case) are part of Bootstrap but deserve a separate mention.
This repository contains no data for the scripts to work with, you must obtain this yourself (see Usage). Copyright notices related to TfGM's CIF data are included in licence.php but these obviously only apply if you use their data.
These are just for my use. Bytemark sponsor my server in return for me placing the badges on pages. When I pull commits to my web server, I use a script that replaces the html comments with the badge. Nothing will show on your site (except in HTML source) and you can safely delete them.