Check(); include ("user_menu.php"); ShowMenuCompta($g_dossier,$g_UserProperty); if ( $g_UserProperty['use_admin']==0 ) { $r=CheckAction($g_dossier,$g_user,FACT); if ($r == 0 ){ /* Cannot Access */ NoAccess(); } } include_once("facture_inc.php"); $cn=DbConnect($g_dossier); ShowMenuComptaLeft($g_dossier,MENU_FACT); ShowMenuComptaRight($g_dossier,$g_UserProperty); if ( $_GET["action"] ) { if ($_GET["fact"] == "all" ) { ViewFactAll($cn); } if ($_GET["fact"]=="impaye") { ViewFactImpaye($cn); } }//get action html_page_stop(); ?>