id){ $opac_view_class->set_parameters(); $opac_view_filter_class=$opac_view_class->opac_filters; $_SESSION["opac_view"]=$opac_view_class->id; if(!$opac_view_class->opac_view_wo_query) { $_SESSION['opac_view_query']=1; } }else { $_SESSION["opac_view"]=0; } $css=$_SESSION["css"]=$opac_default_style; } } // si paramétrage authentification particulière et pour la re-authentification ntlm if (file_exists($base_path.'/includes/ext_auth.inc.php')) require_once($base_path.'/includes/ext_auth.inc.php'); $main_file="./$module/ajax_main.inc.php"; switch($module) { case 'ajax': include($main_file); break; case 'expand_notice': include($main_file); break; case 'cms': include($main_file); break; case 'empr_extended': include("./includes/empr_extended.inc.php"); break; default: //tbd break; } function array_uft8_decode($tab){ foreach($tab as $key => $val) { if(is_array($val)){ $tab[$key] = array_uft8_decode($val); }else{ $tab[$key] = utf8_decode($val); } } return $tab; } ?>