id_authperso; $members = array(); $clause = ""; $members=$aq->get_query_members("authperso_authorities","authperso_infos_global","authperso_index_infos_global","id_authperso_authority"); $clause.= " where ".$members["where"] ." and authperso_authority_authperso_num=".$id_authperso; if ($opac_search_other_function) $add_notice=search_other_function_clause(); if ($typdoc || $add_notice) $clause = ', notices, notices_authperso '.$clause; if ($typdoc) $clause.=" and notice_authperso_notice_num=notice_id and typdoc='".$typdoc."' "; if ($add_notice) $clause.= ' and notice_id in ('.$add_notice.')'; $tri = 'order by pert desc, authperso_index_infos_global'; $pert=$members["select"]." as pert"; $auth_res = pmb_mysql_query("SELECT COUNT(distinct id_authperso_authority) FROM authperso_authorities $clause", $dbh); $nb_result = pmb_mysql_result($auth_res, 0 , 0); if ($nb_result) { $authority_name = authpersos::get_name($id_authperso); //définition du formulaire $form = "