Check(); include_once ("postgres.php"); echo_debug(__FILE__,__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"); ShowMenuCompta($_SESSION['g_dossier']); echo ShowMenuAdvanced(); html_page_stop(); ?>