notice_id or $wbulletin_id != $serial->bulletin_id) { if ($wnotice_id != 0) { if ($wnotice_id == $serial->notice_id) { # affichage du titre seulement lors de la premiere notice if ($cpt_notice == 1){ $serial_list .= ""; $serial_list .= " $wtit1 $wed_name $wed_pays "; } else { $serial_list .= ""; $serial_list .= " "; } $cpt_notice=0; } else { $parity += 1; $cpt_notice=1; $serial_list .= ""; $serial_list .= " "; } $serial_list .= " $wmention_date $wbulletin_numero "; } $wnotice_id=$serial->notice_id; $wtit1=$serial->tit1; $wed_name=$serial->ed_name; $wed_pays=$serial->ed_pays; $wbulletin_id=$serial->bulletin_id; $wmention_date=$serial->mention_date; $wbulletin_numero=$serial->bulletin_numero; } } // Affichage dernier element if ($cpt_notice == 1){ $serial_list .= ""; $serial_list .= " $wtit1 $wed_name $wed_pays "; } else { $serial_list .= ""; $serial_list .= " "; } $serial_list .= " $wmention_date $wbulletin_numero "; $myQuery->clean_query(); // constitution des liens $nbepages = ceil($nbr_lignes/$nb_per_page); $suivante = $page+1; $precedente = $page-1; // affichage du lien prÔø‡Ôø‡ent si nÔø‡Ôø‡saire if($precedente > 0){ $nav_bar .= " "; } for($i = 1; $i <= $nbepages; $i++) { if($i==$page) $nav_bar .= "page $i/$nbepages"; } if($suivante<=$nbepages) $nav_bar .= " "; // affichage du rÔø‡ultat list_serial($user_query, $serial_list, $nav_bar); } else { // la requÔø‡e n'a produit aucun rÔø‡ultat error_message($msg[46], str_replace('!!user_query!!', $user_query, $msg[1153]), 1, './edit.php?categ=serials&sub=collect'); } ?>