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