<?php
list( $start_micro, $start_sec ) = explode( " ", microtime() );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Repository hit visualisation using Google Maps</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAdiP-i78VGweF9QIs3Kzx5xSrBOD9wh0lHQGbvVgYRG7Dg2gE1xQNhJmY4S8_BwZb4md1JO0soLOr8w" type="text/javascript"></script>
<script type="text/javascript" src="google_map.js"></script>
</head>
<?php
echo '<body onload="load('
. ( ( (float)$start_micro + (float)$start_sec ) * 1000 )
. ','
. ( ( isset( $_REQUEST['top'] ) ) ? $_REQUEST['top'] : 10 )
. ')" onunload="GUnload()">';
?>
<h1>Repository hit visualisation using Google Maps</h1>
<p>Stats current as of early afternoon 8 May 2006.</p>
<div id="timer">Loading…</div>
<div id="map" style="width:1024px; height:768px"></div>
</body>