# TNET Services, Inc. # # Copyright: (c) 1992-2007 Copyright TNET Services, Inc. ############################################################################ # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA ############################################################################ # This document uses Tab 4 Settings ############################################################################ /***************************** Version 20170113 ***************************/ $viewSource = false; if (isset($_REQUEST['sce']) && strtolower($_REQUEST['sce']) == 'view' ) { //--self downloader -- $filenameReal = __FILE__; $download_size = filesize($filenameReal); header('Pragma: public'); header('Cache-Control: private'); header('Cache-Control: no-cache, must-revalidate'); header("Content-type: text/plain"); header("Accept-Ranges: bytes"); header("Content-Length: $download_size"); header('Connection: close'); readfile($filenameReal); exit; } ############################################################################ require_once("Settings.php"); require_once("common.php"); ############################################################################ $TITLE = langtransstr($SITE['organ']) . " - " .langtransstr('CDC Influenza Historical Weekly Maps'); $showGizmo = true; // set to false to exclude the gizmo include("top.php"); ############################################################################ ############################### Settings ################################## $divWidth = 656; // Set width of maps from 656 to 1132 $missingImage = 'ajax-images/missing-piece.jpg'; // Path and filename of 'missing image' image $invalidOK = false; // If true, W3C validation will fail at 'onerror' attribute but show '$missingImage' // If false, W3C validation passes, but 'alt' appears instead of '$missingImage' $useOnClick = false; // Use 'onclick' rather than 'onmouseover' to view maps ############################ End of Settings ################################ $mapHeight = $divWidth*.7; // Map heights are proportional to width ?> '; // Debug Code $yearTail = (date("W")==52 && (date("z")==date("w"))?true:false); $_year = date("Y")-(($_curWeek==52&&!$yearTail)?2:1); #$_year = date("Y")-(($_curWeek<21||($_curWeek==52&&!$yearTail))?2:1); #echo '$_curWeek: '.$_curWeek.' $_year: '.$_year.'
'; // Debug Code $outOfSeason = ($_curWeek>(20+$SaturdayJan3[date("Y")]) && $_curWeek<40); $endYear = ((date("W")<(21+$SaturdayJan3[$_year+1]))?($_year-1):$_year); ?>

CDC Historical Weekly Influenza Maps
From 2007-2008 Through Seasons

5 || (date("n")==5&&date("j")>20)) && date("n")<10) ) ) { echo '
Current Influenza Season
'; } ?>