'; global $g_user; /* others report */ $cal=new Calendar(); $cal->get_preference(); $Ledger=new Acc_Ledger($cn,0); $last_ledger=array(); if ( $g_user->check_action(GESTION)==1) { $Operation=new Follow_Up($cn); $last_ledger=$Ledger->get_last(10); $last_operation=$Operation->get_last(10); } else { $last_operation=array(); } ob_start(); require_once('template/dashboard.php'); $ret=ob_get_contents(); ob_end_clean(); echo $ret; echo ''; ?>