function refreshtime() { //generates autorefresh meta tag with delay set by pretermined schedule //edit these to suit: $d=12; $m=5; $y=2002; // DAY MONTH YEAR $delay='600'; //default $refresh[1]=array('hr'=>13,'min'=>15, 'refresh'=>600); // IN GMT $refresh[2]=array('hr'=>14,'min'=>45, 'refresh'=>300); // IN GMT $refresh[3]=array('hr'=>16,'min'=>15, '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() ?>
Tech Features Road MTB Cyclocross Track News Images Feedback | ||||||||||||||||||||
|
85th Giro d'Italia (GT)Italy, May 11-June 2, 2002PhotographyTeam Presentation - May 10: Groningen Stage 4 - May 15: Esch-sur-Alzette-Strasbourg, 232 kmPhoto by AFP Robbie McEwen (Lotto-Adecco) just gets a tyre ahead of Mario Cipollini (Acqua&Sapone) Photos by Fotoreporter Sirotti
Stage 3 - May 14: Verviers-E.s. Alzette, 206 kmPhotos by Fotoreporter Sirotti
Stage 2 - May 13: Cologne-Ans/Liege, 209 kmPhotos by Fotoreporter Sirotti
Stage 1 - May 12: Groningen-Munster, 215 kmPhotos by Miwako Sasaki
Photos by Steven de Goede
Photos by Fotoreporter Sirotti
Prologue - May 11: Groningen ITT, 6.5 kmPhotos by Miwako Sasaki
Photos by Fotoreporter Sirotti
Team Presentation - May 10: GroningenPhotos by Steven de Goede
Photos by Fotoreporter Sirotti
|
|
|