<?php |
<?php |
include('common.inc.php'); |
include('common.inc.php'); |
include_header("bus.lambdacomplex.org",false, true) |
include_header("bus.lambdacomplex.org",false, true) |
?> |
?> |
<div data-role="page" data-theme="b" id="jqm-home" class="ui-page ui-body-b ui-page-active"> |
<div data-role="page"> |
<div id="jqm-homeheader"> |
<div data-role="content"> |
<center><h1 id="jqm-logo"><img src="apple-touch-icon.png" alt="logo" width="64" height="64" /><br> |
<div id="jqm-homeheader"> |
bus.lambdacomplex.org</h1></center> |
<center><h3>busness time</h3><br><small>Canberra Bus Timetables and Trip Planner</small></center> |
</div> |
</div> |
<div data-role="content"> |
|
<a href="tripPlanner.php" data-role="button">Launch Trip Planner...</a> |
<a href="tripPlanner.php" data-role="button">Launch Trip Planner...</a> |
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b"> |
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b"> |
<li data-role="list-divider">Timetables - Stops</li> |
<li data-role="list-divider">Timetables - Stops</li> |
<li><a href="stopList.php">Major (Timing Point) Stops</a></li> |
<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">All Stops</a></li> |
<li><a href="stopList.php?nearbyfavs=yes">Nearby/Favourite Stops</a></li> |
<li><a href="stopList.php?suburbs=yes">Stops By Suburb</a></li> |
|
<li><a class="nearby" href="stopList.php?nearby=yes">Nearby Stops</a></li> |
</ul> |
</ul> |
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b"> |
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b"> |
<li data-role="list-divider">Timetables - Routes</li> |
<li data-role="list-divider">Timetables - Routes</li> |
<li><a href="routeList.php">Routes By Final Destination</a></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?bynumber=yes">Routes By Number</a></li> |
<li><a href="routeList.php?nearbyfavs=yes">Nearby/Favourites Routes</a></li> |
<li><a class="nearby" href="routeList.php?nearby=yes">Nearby Routes</a></li> |
</ul> |
</ul> |
<div class="ui-body ui-body-c"> |
<?php |
<h3>Time/Place Settings</h3> |
echo timePlaceSettings(); |
<div data-role="fieldcontain"> |
include_footer(true) |
<label for="geolocate"> Current Location: </label> |
?> |
<input type="text" id="geolocate" name="geolocate"/> <a href="#" style="display:none" name="here" id="here"/>Here?</a> |
|
</div> |
|
<div data-role="fieldcontain"> |
|
<label for="time"> Time: </label> |
|
<input type="time" value="<?php echo date("H:m"); ?>"/> <a href="#" style="display:none" name="currentTime" id="currentTime"/>Current Time?</a> |
|
</div> |
|
<div data-role="fieldcontain"> |
|
<label for="service_period"> Service Period: </label> |
|
<select name="service_period"> |
|
<?php |
|
foreach ($service_periods as $service_period) { |
|
echo "<option value=\"$service_period\"".(service_period() === $service_period ? "SELECTED" : "").'>'.ucwords($service_period).'</option>'; |
|
}?> |
|
</select> |
|
<a href="#" style="display:none" name="currentPeriod" id="currentPeriod"/>Current Period?</a> |
|
</div> |
|
|
|
<input type="submit" value="Update"/> |
|
</div> |
|
<script> |
|
$('#here').click(function(event) { $('#geolocate').val(getCookie('geolocate')); return false;}); |
|
$('#here').show(); |
|
</script> |
|
</div> |
|
</div> |
|
</body> |
|
</html> |
|
|
|