Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

user_advanced.php

Go to the documentation of this file.
00001 <?
00002 /*
00003  *   This file is part of PHPCOMPTA
00004  *
00005  *   PhpCompta is free software; you can redistribute it and/or modify
00006  *   it under the terms of the GNU General Public License as published by
00007  *   the Free Software Foundation; either version 2 of the License, or
00008  *   (at your option) any later version.
00009  *
00010  *   PhpCompta is distributed in the hope that it will be useful,
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *   GNU General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU General Public License
00016  *   along with PHPCOMPTA; if not, write to the Free Software
00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 */
00019 // Auteur Dany De Bontridder ddebontridder@yahoo.fr
00020 include_once ("ac_common.php");
00021 /* $Revision: 1.15 $ */
00027 html_page_start($_SESSION['g_theme']);
00028 if ( ! isset ( $_SESSION['g_dossier'] ) ) {
00029   echo "You must choose a Dossier ";
00030   exit -2;
00031 }
00032 include_once ("postgres.php");
00033 /* Admin. Dossier */
00034 $rep=DbConnect();
00035 include_once ("class_user.php");
00036 $User=new cl_user($rep);
00037 $User->Check();
00038 
00039 include_once ("postgres.php");
00040 echo_debug('user_advanced.php',__LINE__,"user is ".$_SESSION['g_user']);
00041 $rep=DbConnect();
00042 include_once ("class_user.php");
00043 $User=new cl_user($rep);
00044 $User->Check();
00045 $rep=DbConnect();
00046 include_once ("class_user.php");
00047 $User=new cl_user($rep);
00048 $User->Check();
00049 
00050 // We don't check permissions here in fact, permission are tested in the
00051 // functions 
00052 
00053 // Show the top menus
00054 include_once ("user_menu.php");
00055 echo '<div class="u_tmenu">';
00056 
00057 echo ShowMenuCompta($_SESSION['g_dossier']);
00058 echo '</div>';
00059 
00060 echo ShowMenuAdvanced();
00061 
00062 
00063 if ( isset($_REQUEST['p_action']) && $_REQUEST['p_action'] == "periode" ) {
00064   $p_action=$_REQUEST['p_action'];
00065   include_once("periode.inc.php");
00066 }
00067 
00068 html_page_stop();
00069 ?>