Check(); $act=$g_user->check_dossier($gDossier); // AC CODE = SEARCH if ($act =='P') { redirect("extension.php?".dossier::get(),0); exit(); } if ( $act=='X') { alert(_('Accès interdit')); exit(); } // display a search box $ledger=new Acc_Ledger($cn,0); $ledger->type='ALL'; $search_box=$ledger->search_form('ALL',1); echo '