Dati Meteo
|
|
|
|
|
|
|
|
.
################################################################################
if (isset($SITE['lang']) ) { $scLang = strtolower($SITE['lang']); }
if (isset($_SESSION['lang'])) { $scLang = strtolower($_SESSION['lang']); }
if (isset($_REQUEST['lang'])) { $scLang = strtolower($_REQUEST['lang']); }
// comment line bellow if is includeMode set to true and you have some header errors
SetCookie ("cookie_lang", $scLang, time()+3600*24*365, "/"); // 365 days
// CHANGE STATION BY URL PARAMETER
$WUID = $_GET['wuid'] ? $_GET['wuid'] : '';
$sinceY = $_GET['sy'] ? $_GET['sy'] : '';
$sinceM = $_GET['sm'] ? $_GET['sm'] : '';
$sinceD = $_GET['sd'] ? $_GET['sd'] : '';
$stn = $_GET['stn'] ? $_GET['stn'] : '';
$wdth = $_GET['wdth'] ? $_GET['wdth'] : '';
SetCookie ("wuid", $WUID, time()+3600*24*365, "/");
SetCookie ("sy", $sinceY, time()+3600*24*365, "/");
SetCookie ("sm", $sinceM, time()+3600*24*365, "/");
SetCookie ("sd", $sinceD, time()+3600*24*365, "/");
SetCookie ("stn", $stn, time()+3600*24*365, "/");
SetCookie ("wdth", $wdth, time()+3600*24*365, "/");
require_once('./wxwugraphs/WUG-settings.php');
############################################################################
header('Content-Type: text/html; charset=utf-8');
if (!$includeMode) {
echo '
'.$Tgraphs.'
';
}
if ($incTabsStyle) {
echo '';
}
if ($loadJQuery) {
echo '';
echo '';
}
$JSalertOut = isset($JSalert) ? 'alert('.$JSalert.');' : '';
echo '
';
?>
';
############################################################################
# End of Page
############################################################################
?>
';
if ($_GET['nohead'] != "1") {
echo ' '.$Tgraphs.''; } $hourTab = '
';
if ($langSwitch) {
$thLang = $_GET['lang'] ? $_GET['lang'] : $_COOKIE['cookie_lang'];
echo '
|
';
require_once('./wxwugraphs/WUG-ver.php');
echo
'
|