function refreshtime() {
//generates autorefresh meta tag with delay set by pretermined schedule
//edit these to suit:
$d=8;
$m=6;
$y=2003; // DAY MONTH YEAR
$delay='500'; //default
$refresh[1]=array('hr'=>17,'min'=>00, 'refresh'=>300); // IN GMT
$refresh[2]=array('hr'=>18,'min'=>00, 'refresh'=>150); // IN GMT
$refresh[3]=array('hr'=>19,'min'=>40, 'refresh'=>0); // 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"]=='live') or ($_REQUEST["id"]=='livecomp')) echo refreshtime() ?>
|
|
|
|
|
|
Cyclingnews TV
News
Tech
Features
Road
MTB
BMX
Cyclo-cross
Track
Photos
Fitness
Letters
Search
Forum
|
|
Wachovia Cycling Series
USA, June 3-8, 2003
Stages and Results
Date
|
Details
|
Start Lists
|
Results
|
June 3
|
Wachovia Invitational: Lancaster, PA, 146km - 13 laps of
11.5km
|
Start
List
|
Results
|
June 5
|
Wachovia Classic: Trenton, NJ, 146km - 14 laps of 10.5km
|
Start
List
|
Results
|
June 8
|
Wachovia Liberty Classic: Philadelphia, PA, 90 km - 4 laps
of 22.64km
|
Start
List
|
Results
|
June 8
|
Wachovia USPRO Championship: Philadelphia, PA, 250km - 11
laps of 22.64km
|
Start
List
|
Results
Live report
|
back to top
|