include ("mysql.php"); //----------------------------------------------- if (mysql_connect($host,$user,$password)) {} mysql_query("SET NAMES utf8"); //----------------------------------------------- $Cod_categoria=15; $Codnot=37; $Idiomas["es"]=1; $Idiomas["en"]=2; $Idiomas["de"]=3; $Idiomas["fr"]=4; $Idiomas["ca"]=5; //----------------------------------------------------------------------------------------------------------------- include("inc/idiomas.php"); if ($_REQUEST["lng"]=="") $_REQUEST["lng"]="es"; if ($_POST['lng'] != '') $_REQUEST["lng"] = $_POST['lng']; $Idi=$Idiomas[$_REQUEST["lng"]]; //echo $Idi; //echo("####"); //echo $_REQUEST["lng"]; $URL_ACTUAL["es"]=$URL_seo[11]["es"]; $URL_ACTUAL["en"]=$URL_seo[11]["en"]; $URL_ACTUAL["ca"]=$URL_seo[11]["ca"]; $URL_ACTUAL["de"]=$URL_seo[11]["de"]; $URL_ACTUAL["fr"]=$URL_seo[11]["fr"]; ?>