<?php |
<?php |
include('common.inc.php'); |
include('common.inc.php'); |
|
include_header("bus.lambdacomplex.org",false, true) |
?> |
?> |
<!doctype html> |
<div data-role="page"> |
<html> |
<div data-role="content"> |
<head> |
<div id="jqm-homeheader"> |
<meta charset="UTF-8" /> |
<center><h3>busness time</h3><br><small>Canberra Bus Timetables and Trip Planner</small></center> |
<title>bus.lambdacomplex.org</title> |
|
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" /> |
|
<script src="http://code.jquery.com/jquery-1.4.3.min.js"></script> |
|
<script src="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script> |
|
<!-- <script src="jqtouch/extensions/jqt.location.js" type="application/x-javascript" charset="utf-8"></script> --> |
|
|
|
<!-- <script type="text/javascript" charset="utf-8"> |
|
$(function(){ |
|
function setDisplay(text) { |
|
$('.latlng').empty().append(text) |
|
} |
|
|
|
// We pass "updateLocation" a callback function, |
|
// to run once we have the coordinates. |
|
// We also set it to a variable, so we can know |
|
// right away if it's working or not |
|
var lookup = jQT.updateLocation(function(coords){ |
|
if (coords) { |
|
setDisplay('Latitude: ' + coords.latitude + '<br />Longitude: ' + coords.longitude); |
|
$('.nearby').empty().append('<a href="list.php?lat=' + coords.latitude + '&lng=' + coords.longitude + '">Nearby List</a>'); |
|
} else { |
|
setDisplay('Device not capable of geo-location.'); |
|
} |
|
}); |
|
|
|
if (lookup) { |
|
setDisplay('Looking up location…'); |
|
} |
|
}); |
|
</script> --> |
|
</head> |
|
<body> |
|
<div data-role="page" data-theme="b" id="jqm-home"> |
|
<div id="jqm-homeheader"> |
|
<p>bus.lambdacomplex.org</p> |
|
</div> |
</div> |
<div data-role="content"> |
<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">Stops</li> |
<li data-role="list-divider">Timetables - Stops</li> |
<li><a href="stopList.php">All stops List</a></li> |
<li><a href="stopList.php">Major (Timing Point) Stops</a></li> |
<li class="nearby"><a href="">Nearby List</a></li> |
<li><a href="stopList.php">All Stops</a></li> |
<li><a href="stopList.php">Favourites List</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">Routes</li> |
<li data-role="list-divider">Timetables - Routes</li> |
<li><a href="routeList.php">All Routes List</a></li> |
<li><a href="routeList.php">Routes By Final Destination</a></li> |
<li class="nearby"><a href="">Nearby List</a></li> |
<li><a href="routeList.php?bynumber=yes">Routes By Number</a></li> |
<li><a href="routeList.php">Favourites List</a></li> |
<li><a class="nearby" href="routeList.php?nearby=yes">Nearby Routes</a></li> |
</ul> |
</ul> |
<div class="info"> |
<?php |
<p class="latlng"></p> |
echo timePlaceSettings(); |
Time: <?php echo date("H:m"); ?> <br> |
include_footer(true) |
Service Period: <?php echo ucwords(service_period()); ?> |
?> |
</div> |
|
</div> |
|
</div> |
|
</body> |
|
</html> |
|
|
|