Check(); include_once ("postgres.php"); echo_debug('user_advanced.php',__LINE__,"user is ".$_SESSION['g_user']); $rep=DbConnect(); include_once ("class_user.php"); $User=new cl_user($rep); $User->Check(); $rep=DbConnect(); include_once ("class_user.php"); $User=new cl_user($rep); $User->Check(); // We don't check permissions here in fact, permission are tested in the // functions // Show the top menus include_once ("user_menu.php"); echo '
'; echo ShowMenuCompta($_SESSION['g_dossier']); echo '
'; echo ShowMenuAdvanced(); if ( isset($_REQUEST['p_action']) && $_REQUEST['p_action'] == "periode" ) { $p_action=$_REQUEST['p_action']; include_once("periode.inc.php"); } html_page_stop(); ?>