# East Masonville Weather
# Version: 1.01
############################################################################
# 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
############################################################################
############################################################################
$TITLE= $SITE['organ'] . " - Local River/Lake Heights";
$showGizmo = true; // set to false to exclude the gizmo
############################################################################
?>
sigstages->action;
$flood = $xmlData->sigstages->flood;
$moderate = $xmlData->sigstages->moderate;
$major = $xmlData->sigstages->major;
$recordstage = $xmlData->sigstages->record;
$recordstageunits = $xmlData->sigstages->record["units"];
$recordflow = $xmlData->sigflows->record;
$recordflowunits = $xmlData->sigflows->record["units"];
// Get Last Reading
$ObsTime = $xmlData->observed->datum[0]->valid;
$ObsStage = $xmlData->observed->datum[0]->primary;
$ObsStageUnits = $xmlData->observed->datum[0]->primary["units"];
$ObsFlow = $xmlData->observed->datum[0]->secondary;
$ObsFlowUnits = $xmlData->observed->datum[0]->secondary["units"];
$data12 = strtotime($ObsTime) + (24 * 60 * 60);
$lastobs = strtotime($ObsTime);
// Get Forecast
$ForeStage[$i] = $xmlData->forecast->datum[$i]->primary;
$ForeStageUnits = $xmlData->forecast->datum[0]->primary["units"];
$ForeFlow[$i] = $xmlData->forecast->datum[$i]->secondary;
$ForeFlowUnits = $xmlData->forecast->datum[0]->secondary["units"];
?>
echo ucwords(strtolower($rivername)); ?>
if($action and $flood and $moderate and $major == ""){
echo "";
}else{ ?>