collection_id&user_input=".rawurlencode(stripslashes($user_input))."&nbr_lignes=$nbr_lignes&page=$page';\">
".htmlentities($coll->collection_name,ENT_QUOTES, $charset);
if($coll->collection_parent)
$collection_list .= " ($coll->ed_name)";
$collection_list .= " |
".htmlentities($coll->collection_issn,ENT_QUOTES, $charset)." | ";
//Numéros d'autorite
if($num_auth_present){
$requete="SELECT authority_number,origin_authorities_name, origin_authorities_country FROM authorities_sources JOIN origin_authorities ON num_origin_authority=id_origin_authorities WHERE authority_type='collection' AND num_authority='".$coll->collection_id."' AND TRIM(authority_number) !='' GROUP BY authority_number,origin_authorities_name,origin_authorities_country ORDER BY authority_favorite DESC, origin_authorities_name";
$res_aut=mysql_query($requete,$dbh);
if($res_aut && mysql_num_rows($res_aut)){
$collection_list .= "";
$first=true;
while ($aut = mysql_fetch_object($res_aut)) {
if(!$first)$collection_list .=", ";
$collection_list .=htmlentities($aut->authority_number,ENT_QUOTES,$charset);
if($tmp=trim($aut->origin_authorities_name)){
$collection_list .=htmlentities(" (".$aut->origin_authorities_name.")",ENT_QUOTES,$charset);
}
$first=false;
}
$collection_list .= " | ";
}else{
$collection_list .= " | ";
}
}
if($notice_count && $notice_count!=0)
$collection_list .= "collection_id'\">".$notice_count." | ";
else $collection_list .= " | ";
$collection_list .= "
";
} // fin while
mysql_free_result($res);
if (!$last_param) $nav_bar = aff_pagination ($url_base, $nbr_lignes, $nb_per_page, $page, 10, false, true) ;
else $nav_bar="";
// affichage du résultat
list_collection($user_input, $collection_list, $nav_bar);
} else {
// la requête n'a produit aucun résultat
collection::search_form();
error_message($msg[175], str_replace('!!cle!!', stripslashes($user_input), $msg[174]), 0, './autorites.php?categ=collections&sub=&id=');
}