function refreshtime() { //generates autorefresh meta tag with delay set by pretermined schedule //edit these to suit: $d=1; $m=2; $y=2004; // DAY MONTH YEAR $delay='300'; //default $refresh[1]=array('hr'=>12,'min'=>30, 'refresh'=>300); // IN GMT $refresh[2]=array('hr'=>13,'min'=>30, 'refresh'=>300); // IN GMT $refresh[3]=array('hr'=>15,'min'=>30, '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 | |||||||||||||||
|
2004 World Cyclocross Championships - CMPont-Château, France, January 31-February 1, 2004PhotosJanuary 31 - Junior Men: 40 MinutesImages by Chris Henry/Cyclingnews.com
January 31 - U23 Men: 50 MinutesImages by Chris Henry/Cyclingnews.com
Images by Luc Claessen/Cyclingnews/www.actiefotos.be
February 1 - Elite/Junior Women: 40 MinutesImages by Chris Henry/Cyclingnews.com
Images by Russ & Nancy Wright/www.AbbiOrca.com
February 1 - Elite Men: 60 MinutesImages by Chris Henry/Cyclingnews.com
Images by AFP Photo
Images by Russ & Nancy Wright/www.AbbiOrca.com
Images by Luc Claessen/Cyclingnews/www.actiefotos.be
|
|
|