Check(); /** * check if 2FA is completed */ if ( ! $g_user->is_double_identified()) { exit(); } $g_user->check_dossier($http->get('gDossier')); $res=$cn->exec_sql("select distinct code,coalesce(description,code) as description from get_profile_menu($1) where code ~* $2 or description ~* $2 order by code limit 5 ",array($g_user->get_profile(),$http->post("acs"))); $nb=Database::num_row($res); echo ""; if ( $nb == 0 ) { echo _('Aucune correspondance'); } ?>