// modules propres à demandes.php ou à ses sous-modules require "{$include_path}/templates/demandes.tpl.php"; require "{$include_path}/templates/demandes_actions.tpl.php"; require "{$include_path}/templates/demandes_notes.tpl.php"; require_once $class_path . "/liste_simple.class.php"; print "<div id='att' style='z-Index:1000'></div>"; 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) . "<div class='row'></div>"; 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";