'; // Debug Code $outOfSeason = ($_curWeek>(20+$SaturdayJan3[date("Y")]) && $_curWeek<40); $endYear = ((date("W")<(21+$SaturdayJan3[$_year+1]))?($_year-1):$_year); $_week = 40; /* Debug Code * echo '$_year: '.$_year.', $endYear: '.$endYear.', $_curWeek: '.$_curWeek.', $outOfSeason: '.($outOfSeason==true?'true':'false').'
'; /* End Debug Code */ if (isset($_POST['week'])) { $_week = $_POST['week']; #echo '$_SERVER["REMOTE_ADDR"]: '.$_SERVER["REMOTE_ADDR"].'
'; // Debug Code if ($_SERVER["REMOTE_ADDR"]=='::1'||$_SERVER["REMOTE_ADDR"]=='127.0.0.1') { include ('Settings.php'); // AJAX forgets these on localhost! } } if (isset($_POST['divWidth'])) { $divWidth = $_POST['divWidth']; $mapHeight = $divWidth*.7; } if (isset($_POST['missingImage'])) { $missingImage = $_POST['missingImage']; } if (isset($_POST['invalidOK'])) { $invalidOK = $_POST['invalidOK']; } if (isset($_POST['useOnClick'])) { $useOnClick = $_POST['useOnClick']; } ?>

'; // Debug Code for ($j=2008, $i=1, $k=0; $j<($_year+$outOfSeason); $j++, $i++) { if ($SaturdayJan3[$j]) { echo ''.($j-1).'-'.($j).''; # if ( $j!=($_year+$outOfSeason) && (($i+$outOfSeason-$k)%(($_SESSION['CSSwidescreen']==1)?9:5)) && ($endYear<($_year+$outOfSeason)) ) { if ( ($i-1) < $countSatJan3 ) { echo ' | '; } if (!(($i-$k)%(($_SESSION['CSSwidescreen']==1)?9:5))) { echo '
'; } } else { $k++; } } } else if ($_week==1){ for ($j=2008, $i=1, $k=0; $j<=($_year+$outOfSeason); $j++, $i++) { echo ''.($j-1).'-'.($j).''; if ($j!=($_year+$outOfSeason) && (($i-$k)%(($_SESSION['CSSwidescreen']==1)?9:5))) { echo ' | '; } if (!(($i-$k)%(($_SESSION['CSSwidescreen']==1)?9:5))) { echo '
'; } } } else { for ($j=2007, $i=1; $j<=($_year+$outOfSeason-1); $j++, $i++) { echo ''.$j.'-'.($j+1).''; if ($j!=($_year+$outOfSeason-1) && ($i%(($_SESSION['CSSwidescreen']==1)?9:5))) { echo ' | '; } if (!($i%(($_SESSION['CSSwidescreen']==1)?9:5))) { echo '
'; } } } ?>

a Link to Select a Past Season Map, if Available.
(Some Maps are missing from the archives.)

CDC Flu Map for Week '.$_week.', '.($j-1).'

' .(($_SESSION['CSSwidescreen']==1)?'':'(Click Map for Larger Image.)').'
'.(($_SESSION['CSSwidescreen']!=1)?'':"").'WEEK '.$_week.', '.$j.' FLU MAP NOT PRESENT ON SERVER'.(($_SESSION['CSSwidescreen']!=1)?'':'').'
'; } } } else if ($_week==1) { for ($j=2008; $j<=($_year+$outOfSeason); $j++) { echo '

CDC Flu Map for Week '.$_week.', '.$j.'

' .(($_SESSION['CSSwidescreen']==1)?'':'(Click Map for Larger Image.)').'
'.(($_SESSION['CSSwidescreen']!=1)?'':"").'WEEK '.$_week.', '.($j-1).' FLU MAP NOT PRESENT ON SERVER'.(($_SESSION['CSSwidescreen']!=1)?'':'').'
'; } } else { for ($j=2007,$k=$j; $j<(($_week<40&&$_week>20)?($_year):($_year+1)); $j++,$k++) { if ($j==(($_week<40&&$_week>20)?($_year-1):($_year))) { $k--; } /* Debug Code * echo '$j: '.$j.', $k: '.$k; /* End Debug Code */ $mapNo = ((($j<2009||$j>=2014)&&$_week<10)?('0'.$_week):$_week); echo ''; } }?>

Weekly Maps and Data Courtesy of the US CDC. Script by SE Lincoln Weather.