//preIndex.php?code=020&GrpFilter=2 include_once("bound104.php"); $codReg=&$_REQUEST['code']; //codice della regione $serv = &$_REQUEST['serv']; $lang=&$_REQUEST['lang']; $config = ""; // Bound $x1=&$reg_vect[''.$codReg][0]; $x2=&$reg_vect[''.$codReg][2]; $y1=&$reg_vect[''.$codReg][1]; $y2=&$reg_vect[''.$codReg][3]; if($x1>0) $bound="bounds=$x1,$y1,$x2,$y2"; else $bound=""; switch ($serv) { case "ESE": $config = "enelESE"; break; case "EnelEnergia": $config = "enelEnelEnergia"; break; case "PuntiEnel": $config = "enelPuntiEnel"; break; case "Corporate": break; default: $config = "uSuiteTemplate/4304.2.17410.4982"; } $mapPath = "/Product/MapBroker/dojoMapbroker/1.1.5_enel/"; $page=$mapPath."broker.html?configFileName=$config&$bound"; //echo $page; //infine chiamo la mia pagina index... if (! empty($config)) header("Location: $page"); else { //in tal caso mostriamo la pagina di scelta } ?>