Update V3.03 - Base-USA only -wxindex.php page was missing a closing </div> .. now fixed.
<?php
############################################################################
# A Project of TNET Services, Inc. and Saratoga-Weather.org (USA 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= $SITE['organ'] . " - Home";
$showGizmo = true; // set to false to exclude the gizmo
include("top.php");
############################################################################
?>
</head>
<body>
<?php
############################################################################
include("header.php");
############################################################################
include("menubar.php");
############################################################################
//
$useTopWarning = true; // set to true to use only the rss-top-warning script
// set to false to use the rss-advisory script instead
?>
<div id="main-copy">
<?php // insert desired warning box at top of page
if ($useTopWarning) {
if (phpversion() < 5.0) {
include_once("rss-top-warning.php");
} else {
include_once("atom-top-warning.php");
}
} else {
print " <div class=\"advisoryBox\">\n";
$_REQUEST['inc'] = 'y';
$_REQUEST['summary'] = 'Y';
if (phpversion() < 5.0) {
include_once("rss-advisory.php");
} else {
include_once("atom-advisory.php");
}
print " </div>\n";
}
?>
<div class="column-dark">
<div align="center">
<br/>
<table width="99%" style="border: none">
<tr><td align="center">
<img src="http://icons.wunderground.com/data/640x480/<?php echo $SITE['WUregion']; ?>_rd_anim.gif" alt="Regional Radar" width="320" height="240" style="margin: 0px; padding: 0px; border: none" />
</td>
<td align="center">
<img src="http://icons.wunderground.com/data/640x480/<?php echo $SITE['WUregion']; ?>_ir_anim.gif" alt="Regional Infrared Satellite"
width="320" height="240" style="margin: 0px; padding: 0px; border: none" />
</td>
</tr>
<tr><td colspan="2" align="center"><small>Radar/Satellite images courtesy of <a href="http://www.weatherunderground.com">Weather Underground</a>.</small></td></tr>
</table>
<img src="<?php echo $SITE['imagesDir']; ?>spacer.gif" alt="spacer"
height="2" width="620" style="padding:0; margin:0; border: none" />
<div align="center">
<?php if(isset($SITE['ajaxDashboard']) and file_exists($SITE['ajaxDashboard']))
{ include_once("ajax-dashboard.php");
} else {
print "<p> </p>\n";
print "<p> </p>\n";
print "<p>Note: ajax-dashboard not included since weather station not yet specified.</p>\n";
for ($i=0;$i<5;$i++) { print "<p> </p>\n"; }
}?>
</div>
</div><!-- end center -->
</div><!-- end column-dark -->
</div><!-- end main-copy -->
<?php
############################################################################
include("footer.php");
############################################################################
# End of Page
############################################################################
?>
Best regards,
Ken