Newer
Older
Digital_Repository / Repositories / Maps / gd_map.php
nstanger on 12 May 2006 847 bytes - Added PHP to calling web pages.
<?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>
<head>
	<title>Repository hit visualisation using GD</title>
	<meta name="generator" content="BBEdit 8.2" />
	<script type="text/javascript" src="gd_map.js"></script>
</head>
<body>

<h1>Repository hit visualisation using GD</h1>

<p>Stats current as of early afternoon 8 May 2006.</a>.</p>

<div id="timer"></div>

<p>
<?php
	echo '<img id="map" src="gd_map.pl?width=1024&amp;height=520&amp;top='
		. ( ( isset( $_REQUEST['top'] ) ) ? $_REQUEST['top'] : 10 )
		. '" onLoad="imageLoaded('
		. ( ( (float)$start_micro + (float)$start_sec ) * 1000 )
		. ')" width="1024" height="520" alt="Small version loading --- please wait..." />';
?>
</p>

</body>
</html>