serie_id&user_input=".rawurlencode(stripslashes($user_input))."&nbr_lignes=$nbr_lignes&page=$page';\">
$serie->serie_name
| ";
//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='serie' AND num_authority='".$serie->serie_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)){
$serie_list .= "";
$first=true;
while ($aut = mysql_fetch_object($res_aut)) {
if(!$first)$serie_list .=", ";
$serie_list .=htmlentities($aut->authority_number,ENT_QUOTES,$charset);
if($tmp=trim($aut->origin_authorities_name)){
$serie_list .=htmlentities(" (".$aut->origin_authorities_name.")",ENT_QUOTES,$charset);
}
$first=false;
}
$serie_list .= " | ";
}else{
$serie_list .= " | ";
}
}
if($notice_count && $notice_count!=0)
$serie_list.= "serie_id'\">".$notice_count." | ";
else $serie_list.= " | ";
$serie_list.= "
";
}
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_serie($user_input, $serie_list, $nav_bar);
} else {
// la requête n'a produit aucun résultat
serie::search_form();
error_message($msg[152], str_replace('!!titre_cle!!', stripslashes($user_input), $msg[335]), 0, './autorites.php?categ=series&sub=&id=');
}