$msg[540]
".$msg["gen_signature_erreur_similaire"]."
";
if (($notice->niveau_biblio =='s' || $r->niveau_biblio =='a') && ($r->niveau_hierar== 1 || $r->niveau_hierar== 2)) {
$link_serial = './catalog.php?categ=serials&sub=view&serial_id=!!id!!';
$link_analysis = './catalog.php?categ=serials&sub=bulletinage&action=view&bul_id=!!bul_id!!&art_to_show=!!id!!';
$link_bulletin = './catalog.php?categ=serials&sub=bulletinage&action=view&bul_id=!!id!!';
$link_explnum = "./catalog.php?categ=serials&sub=analysis&action=explnum_form&bul_id=!!bul_id!!&analysis_id=!!analysis_id!!&explnum_id=!!explnum_id!!";
$serial = new serial_display($r->notice_id, 6, $link_serial, $link_analysis, $link_bulletin, "", $link_explnum, 0, 0,1, 1);
$notice_display = pmb_bidi($serial->result);
} elseif ($r->niveau_biblio=='m' && $r->niveau_hierar== 0) {
$link = './catalog.php?categ=isbd&id=!!id!!';
$link_expl = './catalog.php?categ=edit_expl&id=!!notice_id!!&cb=!!expl_cb!!&expl_id=!!expl_id!!';
$link_explnum = './catalog.php?categ=edit_explnum&id=!!notice_id!!&explnum_id=!!explnum_id!!';
$display = new mono_display($r->notice_id, 6, $link, 1, $link_expl, '', $link_explnum,1, 0, 1, 1,"", 1, false, true);
$notice_display = pmb_bidi($display->result);
} elseif ($r->niveau_biblio=='b' && $r->niveau_hierar==2) { // on est face a une notice de bulletin
$requete_suite = "SELECT bulletin_id, bulletin_notice FROM bulletins where num_notice='".$r->notice_id."'";
$result_suite = mysql_query($requete_suite, $dbh) or die("
".mysql_error()."
");
$notice_suite = mysql_fetch_object($result_suite);
$r->bulletin_id=$notice_suite->bulletin_id;
$r->bulletin_notice=$notice_suite->bulletin_notice;
$link_bulletin = './catalog.php?categ=serials&sub=bulletinage&action=view&bul_id='.$r->bulletin_id;
$display = new mono_display($r->notice_id, 6, $link_bulletin, 1, $link_expl, '', $link_explnum,1, 0, 1, 1, "", 1);
$notice_display = $display->result;
}
echo "
$notice_display
";
continue;
}
}
}
$z->signature = $signature;
if($infos['notice']) $z->notice = $infos['notice'];
if($infos['source_id']) $z->source_id = $infos['source_id'];
$z->var_to_post();
$ret=$z->insert_in_database();
$id_notice = $ret[1];
$rqt = "select recid from external_count where rid = '$external_notice'";
$res = mysql_query($rqt);
if(mysql_num_rows($res)) $recid = mysql_result($res,0,0);
$req= "insert into notices_externes set num_notice = '".$id_notice."', recid = '".$recid."'";
mysql_query($req);
if ($ret[0]) {
if($z->bull_id && $z->perio_id){
$notice_display=new serial_display($ret[1],6);
} else $notice_display=new mono_display($ret[1],6);
$retour = "