function refreshtime() { //generates autorefresh meta tag with delay set by pretermined schedule //edit these to suit: $d=30; $m=5; $y=2002; // DAY MONTH YEAR $delay='600'; //default $refresh[1]=array('hr'=>13,'min'=>15, 'refresh'=>500); // IN GMT $refresh[2]=array('hr'=>14,'min'=>00, 'refresh'=>300); // IN GMT $refresh[3]=array('hr'=>15,'min'=>50, '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 | ||||||||||||||||||||
|
Cadel Evans' Giro d'Italia Diary 2002Australian Mapei rider Cadel Evans is in his first Grand tour at the Giro. The former MTB racer is widely tipped as the next big Australian star, but this time out his main job is to help Mapei team leader Stefano 'il Capitano' Garzelli go after the Maglia Rosa. The 2002 Giro d'Italia
More about Cadel Evans on CyclingnewsTour Down Under
2002 - riding borrowed bike at the TDU CadelEvans.com - Cadel's own website |
|
|