Problems with the forum? Please use Contact or PM saratogaWX with details. Thanks!
0 Members and 1 Guest are viewing this topic.
<?php############################################################################# A Project of TNET Services, Inc. and Saratoga-Weather.org (Canada/World-ML template set)############################################################################## Project: Sample Included Website Design# Module: sample.php# Purpose: Sample Page# Authors: Kevin W. Reed <kreed@tnet.com># 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############################################################################require_once("Settings.php");require_once("common.php");############################################################################$TITLE = langtransstr($SITE['organ']) . " - " .langtransstr('Drought monitor');$showGizmo = true; // set to false to exclude the gizmoinclude("top.php");############################################################################///////////////////////////////////////////////////////////////////////////////SETTINGS START HERE///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// For State Drought setup//$state="ca"; //enter your State using small letters.//$showregiona = false; //Set to true if you also want to show a regional map. If AK, HI, or PR, keep false.$regiona="southwest"; //If you want to show a regional drought map, enter// west// high_plains// south// midwest// southest// northeast//$showregionb = true; //Set to true if you also want to show an adjoining regional map. If AK, HI, or PR, keep false.$regionb="west"; //If you want to show an adjoining regional drought map, enter// west// high_plains// south// midwest// southest// northeast//$showus=true; //Set to true if you also want to show the US Drought map./////////////////////////////////////////////////////////////////////////////////END SETTINGS////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////?></head><body><?php############################################################################include("header.php");############################################################################include("menubar.php");############################################################################?><div id="main-copy"> <p> <img style="width: 620px; height: 461px;" alt="State Drought" src="http://droughtmonitor.unl.edu/data/pngs/current/current_<?php echo $state; ?>_trd.png" /><br /><br /> <a href="http://www.usda.gov/oce/weather/pubs/Weekly/Wwcb/wwcb.pdf" title="Weekly Bulletin"> Weekly Weather and Crop Bulletin</a><br/><?php if ($showregiona) { // Shows Regional Map?><br /><img style="width: 620px; height: 461px;" alt="Regional Drought 1" src="http://droughtmonitor.unl.edu/data/pngs/current/current_<?php echo $regiona; ?>_trd.png" /><br /><?php } // end $showregiona ?><?php if ($showregionb) { // Shows 2nd Regional Map?><br /><img style="width: 620px; height: 461px;" alt="Regional Drought 2" src="http://droughtmonitor.unl.edu/data/pngs/current/current_<?php echo $regionb; ?>_trd.png" /><br /><?php } // end $showregionb ?><?php if ($showus) { // Shows US Map?><img style="width: 620px; height: 477px;" alt="US Current Status" src="http://droughtmonitor.unl.edu/data/pngs/current/current_total_trd.png" /><br /><?php } // end $showus ?><br /><img style="width: 620px; height: 477px;" alt="US Drought Outlook" src="http://www.cpc.ncep.noaa.gov/products/expert_assessment/season_drought.gif" /></p> </div><!-- end main-copy --><?php############################################################################include("footer.php");############################################################################# End of Page############################################################################?>
I see what looks like a couple of typos or bugs due to changes.highplains should be high_plainsThe US map URL is now http://droughtmonitor.unl.edu/drmon.gif