process( $_GET ); $idiomaSel = 0; if ( isset( $_GET["idioma"] ) ) $idiomaSel = $_GET["idioma"]; if ( $idiomaSel != 0 && $idiomaSel != 1 && $idiomaSel != 2 ) $idiomaSel = 0; $idioma = new Idioma(); $idioma->seleccionarIdioma( $idiomaSel ); $referer = "/index.php"; if ( isset($_SERVER['HTTP_REFERER'] ) ) $referer = strtolower($_SERVER['HTTP_REFERER']); header( 'Location:' . $referer ); ?>