Check(); include_once ("postgres.php"); echo_debug('user_advanced.php',__LINE__,"user is ".$_SESSION['g_user']); // 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" ) { if ( $User->admin == 0 && CheckAction($_SESSION['g_dossier'],$_SESSION['g_user'],GESTION_PERIODE) == 0 ) NoAccess(); $p_action=$_REQUEST['p_action']; include_once("periode.inc.php"); } html_page_stop(); ?>