function refreshtime() { //generates autorefresh meta tag with delay set by pretermined schedule //edit these to suit: $d=11; $m=5; $y=2003; // DAY MONTH YEAR $delay='300'; //default $refresh[1]=array('hr'=>11,'min'=>00, 'refresh'=>500); // IN GMT $refresh[2]=array('hr'=>12,'min'=>30, 'refresh'=>300); // IN GMT $refresh[3]=array('hr'=>16,'min'=>00, '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 | |||||||||||||
|
Doctor's orders: The Dr Michele Ferrari JournalDr Michele Ferrari, coach to cycling greats including Moser, Bugno, Argentin and Rominger, in addition to five-time Tour de France winner and defending champion Lance Armstrong, has never been afraid to push the boundaries of sports science. In 2004, cycling's most controversial sports doctor will once again provide Cyclingnews readers with his unique insight into the mindset of what makes or breaks a champion.
Latest entry: Stage 21: Determination2004 entriesVuelta a Espana
Tour de France
Mid-year
Giro d'Italia
Spring 2004
Editor's note: Dr Ferrari often discusses 'VAM'. This stands for Velocita Ascensionale Media [average climbing speed], and is a measure of the rider's rate of ascent. In mountain stages of races such as the Tour, most of the work a rider does goes to overcome gravity, so VAM is a useful indicator of the rider's form on that day. 2003 entriesVuelta a España
Tour de France
Profile and Interview
|
|
|