"; print $menu_bar; print $extra; print $extra2; print $extra_info; if($use_shortcuts) { include("$include_path/shortcuts/circ.sht"); } echo window_title($database_window_title.$msg['demandes_menu'].$msg[1003].$msg[1001]); print $demandes_layout; $nb_themes = demandes_themes::get_qty(); $nb_types = demandes_types::get_qty(); if(!$nb_themes || !$nb_types) { //Pas de themes ou de types définis $error_msg.= htmlentities($msg["demandes_err_theme_type"],ENT_QUOTES, $charset)."
"; error_message($msg[321], $error_msg.htmlentities($msg["demandes_err_par"],ENT_QUOTES, $charset), '1', './admin.php?categ=demandes'); } else { switch($categ){ case 'gestion': include("./demandes/demandes.inc.php"); break; case 'list' : include("./demandes/demandes_liste.inc.php"); break; case 'action' : include("./demandes/demandes_actions.inc.php"); break; case 'notes' : include("./demandes/demandes_notes.inc.php"); break; case "faq" : include("./demandes/faq/main.inc.php"); break; case 'plugin' : $plugins = plugins::get_instance(); $file = $plugins->proceed("demandes",$plugin,$sub); if($file){ include $file; } break; default : include("$include_path/messages/help/$lang/demandes.txt"); break; } } print $demandes_layout_end; // pied de page print $footer; // deconnection MYSql pmb_mysql_close($dbh); ?>