$thisLang="ENG";
$langs = array('ITA','ENG','DEU',);
$generalregexp = "A-Za-z0-9 <>*:\./(),&%+'\\?!-";
$estensioni = array(
'pdf',
'php',
'htm',
'html',
'doc',
'rtf',
'zip',
'exe',
);
$estensioniimg = array(
'gif',
'jpg',
'jpeg',
'png',
);
$defaults = array(
'lang' => 'ENG',
);
$sections = array(
'madeinitaly' => 'Made in Italy',
'beniculturali' => 'Nuovo e Utile - beni culturali',
'temporeale' => 'Tempo reale',
'formazione' => 'Formazione',
'turismo' => 'turismo',
'people' => 'persone',
'creativita' => 'Festival della Creatività',
'SMAU' => 'SMAU',
'MIDA' => 'Progetto MIDA',
'archivioscala' => 'archivio',
'leonardo' => 'Leonardo da Vinci',
'hublot' => 'Hublot watches',
'pisanello' => 'Pisanello - San Giorgio e la principessa',
'gioielli' => 'Gioielli',
'tornabuoni' => 'Palazzo Tornabuoni',
'dulwich' => 'Dulwich Picture Gallery',
);
$colonne = 4;
$section_with_descITA = array(
'creativita',
);
?>
require_once 'site.ini.php';
if (!isset($_REQUEST[$sid]))
${$sid} = uniqid('');
else
${$sid} = $_REQUEST[$sid];
session_name($sid);
session_id(${$sid});
session_start();
if (!isset($_SESSION[$sid]))
$_SESSION[$sid] = ${$sid};
if (!isset($ua_ignore) && ((!isset($passive) || (true !== $passive))))
{
if (isset($_SERVER['HTTP_USER_AGENT']))
{
if (!isset($_SESSION['HTTP_USER_AGENT']))
$_SESSION['HTTP_USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
else
{
if ($_SESSION['HTTP_USER_AGENT'] != $_SERVER['HTTP_USER_AGENT'])
{
session_destroy();
die("Your session has been destroyed -- possible browser conflict (are you using two different browsers, or did you use a pasted link?). Click here to log in again.");
}
}
}
else
{
session_destroy();
die("Your browser did not identify itself properly -- you may be using a misconfigured or needlessly paranoid 'privacy' firewall, or you might be an automated tool instead of a human being. This session cannot continue.");
}
}
$SIDKEY = $sid;
$SIDVAL = ${$sid};
$GETSID = "$SIDKEY=$SIDVAL";
if (isset($defaults))
foreach($defaults AS $key=>$val)
if (!isset($_SESSION[$key]))
$_SESSION[$key] = $val;
$SESSIONIMPORTLOG='Setting ';
foreach($_REQUEST as $key=>$val)
{
if (isset($regexps[$key]))
{
list($regexp, $default) = $regexps[$key];
if (!preg_match("/^$regexp\$/i", $val))
{
// dmesg
$val = $default;
}
}
if (isset($_PERSISTENT))
if (in_array($key, $_PERSISTENT))
$_SESSION[$key] = $val;
$SESSIONIMPORTLOG .= " $key='$val'";
// $GLOBALS[$key] = $val;
}
foreach($_SESSION as $key=>$val)
$SESSIONIMPORTLOG .= " S.$key='$val'";
?>
$sid ='WINsid';
$siteinfo = array(
'0.0.0.0' => 'xlimage,127.0.0.1:3306,root,centrica',
'10.0.0.45' => 'xlimage,127.0.0.1:3316,root,',
'192.168.2.16' => 'xlimage,127.0.0.1:3316,root,',
'62.48.34.16' => 'xlimage,127.0.0.1:3316,root,',
'localhost' => 'xlimage,127.0.0.1:3316,root,',
'192.168.2.17' => 'xlimage,127.0.0.1:3306,root,centrica',
'62.48.34.17' => 'xlimage,127.0.0.1:3306,root,centrica',
);
?>
ERROR: cannot determine identity of this machine