include_once("includes/conexion.php"); include_once ("includes/defines.php"); $lang = 'fr'; include_once RUTA . "web/idiomas.php"; include_once RUTA . "clases/libros_class.php"; include_once RUTA . "clases/fondo_class.php"; include_once RUTA . "clases/idiomas_class.php"; include_once RUTA . "clases/comun_class.php"; include_once RUTA . "clases/temas_class.php"; include_once RUTA . "clases/articulo_class.php"; include_once RUTA . "clases/efemera_class.php"; include_once RUTA . "clases/galeria_class.php"; include_once RUTA . "clases/audiovisuales_class.php"; include_once RUTA . "clases/temas_grabaciones_class.php"; include_once RUTA . "clases/temas_partituras_class.php"; include_once RUTA . "clases/claseutf8.php"; // setlocale(LC_COLLATE, 'es_ES.utf8'); setlocale(LC_COLLATE, $locale_es_ES_iso88591); // Returns true if $string is valid UTF-8 and false otherwise. function is_utf8($string) { // From http://w3.org/International/questions/qa-forms-utf-8.html return preg_match('%^(?: [\x09\x0A\x0D\x20-\x7E] # ASCII | [\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte | \xE0[\xA0-\xBF][\x80-\xBF] # excluding overlongs | [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte | \xED[\x80-\x9F][\x80-\xBF] # excluding surrogates | \xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3 | [\xF1-\xF3][\x80-\xBF]{3} # planes 4-15 | \xF4[\x80-\x8F][\x80-\xBF]{2} # plane 16 )*$%xs', $string); } // function is_utf8 function utf2iso($tekst) { $nowytekst = str_replace("%u0104","\xA1",$tekst); //? $nowytekst = str_replace("%u0106","\xC6",$nowytekst); //? $nowytekst = str_replace("%u0118","\xCA",$nowytekst); //? $nowytekst = str_replace("%u0141","\xA3",$nowytekst); //? $nowytekst = str_replace("%u0143","\xD1",$nowytekst); //? $nowytekst = str_replace("%u00D3","\xD3",$nowytekst); //Ó $nowytekst = str_replace("%u015A","\xA6",$nowytekst); //? $nowytekst = str_replace("%u0179","\xAC",$nowytekst); //? $nowytekst = str_replace("%u017B","\xAF",$nowytekst); //? $nowytekst = str_replace("%u0105","\xB1",$nowytekst); //? $nowytekst = str_replace("%u0107","\xE6",$nowytekst); //? $nowytekst = str_replace("%u0119","\xEA",$nowytekst); //? $nowytekst = str_replace("%u0142","\xB3",$nowytekst); //? $nowytekst = str_replace("%u0144","\xF1",$nowytekst); //? $nowytekst = str_replace("%u00D4","\xF3",$nowytekst); //ó $nowytekst = str_replace("%u015B","\xB6",$nowytekst); //? $nowytekst = str_replace("%u017A","\xBC",$nowytekst); //? $nowytekst = str_replace("%u017C","\xBF",$nowytekst); //? return ($nowytekst); } $task = $_REQUEST['task']; $opcion = $_REQUEST['task2']; ?>
|
// CAPA DEL MENU DE LA IZQUIERDA
?>
include_once( "includes/menu_navegacion.php" );
?>
// CAPA DEL CONTENT, LA UNICA CON CONTENIDO DINAMICO (PHP)
?>
switch ($task){
case "buscar":
switch ($opcion){
case 1:
busquedaPorPalabra();
break;
case 2:
include_once( "persona.php" );
break;
case 3:
include_once( "audiovisuales.php" );
break;
case 4:
include_once( "bibliograficas.php" );
break;
case 5:
include_once( "efemera.php" );
break;
case 6:
include_once( "referoteca.php" );
break;
case 7:
include_once( "iconograficas.php" );
break;
case 8:
include_once( "fuentes_musicales.php" );
break;
case 9:
include_once( "disco.php" );
break;
case 10:
include_once( "video.php" );
break;
case 11:
include_once( "libreto.php" );
break;
case 12:
busquedaCruzada();
break;
case 14:
include_once( "grupo.php" );
break;
case 22:
busquedaPersona();
break;
case 32:
busquedaGrupo();
break;
default:
return;
break;
}
break;
default:
buscador();
break;
}?>
// CAPA DE LOS BANNERS DE LA DERECHA
/*
?>
include_once( "includes/menu_banners.php" );
?>
// CAPA INFERIOR DERECHA (debajo de banners)
?>
*/
// CAPA DEL FOOTER
?>
|
| Tous les droits réservés.
Les images corporatives et les marques appartiennent aux propriétaires correspondants. |
|