Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 require_once '../include/constant.php';
00025 require_once("user_common.php");
00026 include_once("ac_common.php");
00027 require_once('class_database.php');
00028 include_once("user_menu.php");
00029 $rep=new Database();
00030 include_once ("class_user.php");
00031 $User=new User($rep);
00032 $User->Check();
00033
00034 html_page_start($User->theme);
00035
00036 if ($User->admin != 1)
00037 {
00038 html_page_stop();
00039 return;
00040 }
00041 load_all_script();
00042 echo '<H2 class="info"> '._(' Administration Globale').'</H2>';
00043 echo '<div class="topmenu">';
00044
00045 echo MenuAdmin()."</div>";
00046
00047 define('ALLOWED',true);
00048
00049
00050 ?>
00051 <DIV >
00052 <?php
00053 if ( isset ($_REQUEST["action"]) )
00054 {
00055 if ( $_REQUEST["action"]=="user_mgt" )
00056 {
00057
00058
00059
00060 require_once("user.inc.php");
00061 }
00062
00063 if ( $_REQUEST["action"]=="dossier_mgt")
00064 {
00065
00066
00067
00068 require_once("dossier.inc.php");
00069 }
00070 if ( $_REQUEST["action"] == "modele_mgt" )
00071 {
00072
00073
00074
00075 require_once("modele.inc.php");
00076 }
00077 if ( $_REQUEST['action'] == 'restore')
00078 {
00079
00080 require_once("restore.inc.php");
00081 }
00082 if ($_REQUEST['action'] == 'audit_log')
00083 {
00084
00085 require_once('audit_log.php');
00086 }
00087 }
00088
00089 ?>
00090 </DIV>
00091 <?php
00092
00093 html_page_stop();
00094 ?>