--- a/busui/index.php +++ b/busui/index.php @@ -1,20 +1,11 @@ <?php include('common.inc.php'); - // remove all the variable in the session - session_unset(); - - //destroy the session - session_destroy(); - if (isset($_REQUEST['service_period'])) $_SESSION['service_period'] = $_REQUEST['service_period']; - if (isset($_REQUEST['time'])) $_SESSION['time'] = $_REQUEST['time']; - // todo take in cellids and crossreference with http://realtimeblog.free.fr/latest/cellular/processed/sqlite/505_sqlite_zones.zip to estimate location include_header("bus.lambdacomplex.org",false, true) ?> <div data-role="page"> <div data-role="content"> <div id="jqm-homeheader"> - <center><h3 id="jqm-logo"><img src="apple-touch-icon.png" alt="logo" width="64" height="64" /><br> - busness time</h3></center> + <center><h3>busness time</h3><br><small>Canberra Bus Timetables and Trip Planner</small></center> </div> <a href="tripPlanner.php" data-role="button">Launch Trip Planner...</a> <ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b"> @@ -22,13 +13,13 @@ <li><a href="stopList.php">Major (Timing Point) Stops</a></li> <li><a href="stopList.php">All Stops</a></li> <li><a href="stopList.php?suburbs=yes">Stops By Suburb</a></li> - <li><a href="stopList.php?nearby=yes">Nearby Stops</a></li> + <li><a class="nearby" href="stopList.php?nearby=yes">Nearby Stops</a></li> </ul> <ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b"> <li data-role="list-divider">Timetables - Routes</li> <li><a href="routeList.php">Routes By Final Destination</a></li> <li><a href="routeList.php?bynumber=yes">Routes By Number</a></li> - <li><a href="routeList.php?nearby=yes">Nearby Routes</a></li> + <li><a class="nearby" href="routeList.php?nearby=yes">Nearby Routes</a></li> </ul> <?php echo timePlaceSettings();?>