id){ $opac_view_class->set_parameters(); $opac_view_filter_class=$opac_view_class->opac_filters; $_SESSION["opac_view"]=$opac_view_class->id; }else $_SESSION["opac_view"]=0; $css=$_SESSION["css"]=$opac_default_style; } } // print $module; exit; $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; } ?>