function refreshtime() { //generates autorefresh meta tag with delay set by pretermined schedule //edit these to suit: $d=13; $m=10; $y=2002; // DAY MONTH YEAR $delay='300'; //default $refresh[1]=array('hr'=>7,'min'=>30, 'refresh'=>400); // IN GMT $refresh[2]=array('hr'=>12,'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 | ||||||||||||||||||
|
Elite Men's TT History1994 Italy, Palermo, 42 kms 1 Chris Boardman (GB) 2 Andrea Churato (Ita) 3 Jan Ullrich (Ger) 1995 Colombia, Tunja, 43 kms 1 Miguel Indurain (Spa) 2 Abraham Olano (Spa) 3 Uwe Peschel (Ger) 1996 Switzerland, Lugano, 40.4 kms 1 Alex Zulle (Swi) 2 Chris Boardman (GBr) 3 Tony Rominger (Swi) 1997 Spain, San Sebastian, 42 kms 1 Laurent Jalabert (Fra) 2 Serguei Gontchar (Ukr) 3 Christopher Boardman (GBr) 1998 Holland, Valkenburg 1 Abraham Olano (Spa) 2 Melchior Mauri Prat (Spa) 3 Serguei Gontchar (Ukr) 1999 Italy, Treviso 1 Jan Ullrich (Ger) 2 Michael Andersson (Swe) 3 Christopher Boardman (GBr) 2000 Plouay, France 1 Serguei Gontchar (Ukr) 2 Michael Rich (Ger) 3 Laszlo Bodrogi (Hun) 2001 Lisbon, Portugal 1 Jan Ullrich (Ger) 2 David Millar (GBr) 3 Santiago Botero Echeverry (Col) |
|
|