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() ?>
Cyclingnews TV News Tech Features Road MTB BMX Cyclo-cross Track Photos Fitness Letters Search Forum | ||||||||||||||||||||||||||
|
9th Telekom Malaysia Le Tour de Langkawi - 2.2Malaysia, February 6-15, 2004Window into another worldA day in the car of Race Controller Alan Rushton, February 9, 2004Normally reserved for VIPs or an esky full of drinks, Cyclingnews' Anthony Tan was offered a ride in the car of Race Controller Alan Rushton on Stage 4 of the Le Tour de Langkawi from Hulu Kelang to Tamping. The privilege extended to Cyclingnews was taken graciously, and provided a unique insight into an aspect of the race not normally seen by the media. |
|
|