function refreshtime() { //generates autorefresh meta tag with delay set by pretermined schedule //edit these to suit: $d=4; $m=8; $y=2002; // DAY MONTH YEAR $delay='300'; //default $refresh[1]=array('hr'=>17,'min'=>00, 'refresh'=>300); // IN GMT $refresh[2]=array('hr'=>18,'min'=>00, 'refresh'=>300); // IN GMT $refresh[3]=array('hr'=>20,'min'=>00, '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"]=='live') or ($_REQUEST["id"]=='livecomp')) echo refreshtime() ?>
Cyclingnews TV News Tech Features Road MTB BMX Cyclo-cross Track Photos Fitness Letters Search Forum | ||||||||||||||||||||||
|
New York City Cycling Championship - NEUSA, August 3, 2003Men's Results Junior Results Amateur Results Photography Corporate Challenge1 World Team Sports 72 pts (Ronne Irvine, Andy Rankin, Matt Heitman, Todd Gage) 2 NYC Teachers 55 (Earl Osburne, Andre Thibeaud , Rohn Branigan, Numzanoa Jupurrulaa) 3 NYC Sanitation 47 (Horance Kalphat, Hayden Hester, Ruben Osborne, Paul Rivera) 4 Moore Speed 26 (Chris Podaras, John Potter, Robert Bodey, Mark Thompson) 5 NYC Fire Department 9 (Dan Rowan, Gerard Dolan, Jim Kerwin, Paul Roth) |
|
|