$tabla_idiomas["ES"]="countryES"; $tabla_idiomas["ES-ES"]="countryES"; $tabla_idiomas["AR"]="countryAR"; $tabla_idiomas["ES-AR"]="countryAR"; $tabla_idiomas["CL"]="countryCL"; $tabla_idiomas["ES-CL"]="countryCL"; $tabla_idiomas["CO"]="countryCO"; $tabla_idiomas["ES-CO"]="countryCO"; $tabla_idiomas["CR"]="countryCR"; $tabla_idiomas["ES-CR"]="countryCR"; $tabla_idiomas["EC"]="countryEC"; $tabla_idiomas["ES-EC"]="countryEC"; $tabla_idiomas["FR"]="countryFR"; $tabla_idiomas["FR-FR"]="countryFR"; $tabla_idiomas["IT"]="countryIT"; $tabla_idiomas["IT-IT"]="countryIT"; $tabla_idiomas["MX"]="countryMX"; $tabla_idiomas["ES-MX"]="countryMX"; $tabla_idiomas["NI"]="countryNI"; $tabla_idiomas["ES-NI"]="countryNI"; $tabla_idiomas["PA"]="countryPA"; $tabla_idiomas["ES-PA"]="countryPA"; $tabla_idiomas["PE"]="countryPE"; $tabla_idiomas["ES-PE"]="countryPE"; $tabla_idiomas["VE"]="countryVE"; $tabla_idiomas["ES-VE"]="countryVE"; $tabla_texto["countryES"]="España"; $tabla_texto["countryAR"]="Argentina"; $tabla_texto["countryCL"]="Chile"; $tabla_texto["countryCO"]="Colombia"; $tabla_texto["countryCR"]="Costa Rica"; $tabla_texto["countryEC"]="Ecuador"; $tabla_texto["countryFR"]="Francia"; $tabla_texto["countryIT"]="Italia"; $tabla_texto["countryMX"]="México"; $tabla_texto["countryNI"]="Nicaragua"; $tabla_texto["countryPA"]="Panamá"; $tabla_texto["countryPE"]="Perú"; $tabla_texto["countryVE"]="Venezuela"; $lista_idiomas = split(",", $_SERVER['HTTP_ACCEPT_LANGUAGE']); //si seleccionamos algo del combo lo tomamos como prefente if($_GET["op"]!=""){ $lista_idiomas = split(",", $_GET["op"]); } $idioma_activo=strtoupper($lista_idiomas[0]); ?>
© 2008 buigle