function refreshtime() {
//generates autorefresh meta tag with delay set by pretermined schedule
//edit these to suit:
$d=23;
$m=1;
$y=2003; // DAY MONTH YEAR
$delay='300'; //default
$refresh[1]=array('hr'=>12,'min'=>00, 'refresh'=>300); // IN GMT
$refresh[2]=array('hr'=>13,'min'=>30, 'refresh'=>300); // IN GMT
//add new $refresh rows as you like in chronological order. Set refresh => 0 for no refresh line
// foreach (array_keys($refresh) as $r) {
// foreach not available in PHP3! Have to do it like this
reset ($refresh);
while (list(, $r) = each ($refresh)) {
if (time() > gmmktime($r[hr], $r[min], 0, $m, $d, $y)) $delay=$r[refresh];
};
if ($delay) {
return ("\n");
} else {
return('');
};
};
?>
if (($_REQUEST["id"]=='results/live') or ($_REQUEST["id"]=='results/livecomp')) echo refreshtime() ?>
King William Rd, Adelaide - near
Parade Ground (facing south)
Race neutral route and
distance:
Not applicable.
Race start location:
King William Rd, near Festival
Theatre (facing south)
Approx. start time:
1300 hours
Race route/distance:
King William Rd (facing South)
U-turn south of Festival Theatre north on King William Rd War Memorial
Drive Montefiore Rd eastern carriageway Montefiore Hill Pennington Tce
Sir Edwin Smith Ave Frome Rd War Memorial Drive Sir Edwin Smith Ave
then left into King William Rd