//if ($total % 10 == 0) { // affiche_jsscript ($msg["z3950_reception_notice"]." $total / $lim_recherche", "#99FF99", $bib_id); //} $notice = new z3950_notice($formato[$bib_id], $rec); $isbd_affichage = $notice->get_isbd_display(); $lu_isbn = $isbd_affichage[0]; $lu_titre = $isbd_affichage[1]; $lu_auteur = $isbd_affichage[2]; $lu_isbd = $isbd_affichage[3]; $sql2 = "insert into z_notices (znotices_id, znotices_query_id, znotices_bib_id, isbn, titre, auteur, isbd, z_marc) "; $sql2 .= "values(0,'{$last_query_id}', '{$bib_id}', '{$lu_isbn}', '" . addslashes($lu_titre) . "', '" . addslashes($lu_auteur) . "', '" . addslashes($lu_isbd) . "','" . addslashes($rec) . "') "; pmb_mysql_query($sql2); $ID_notice = pmb_mysql_insert_id(); } // fin du if qui vérifie que la notice n'est pas vide } // fin for yaz_close($id); $msg1 = str_replace("!!total!!", $total, $msg[z3950_recup_fini]); $msg1 = str_replace("!!hits!!", $hits, $msg1); affiche_jsscript($msg1, "z3950_succeed", $bib_id); } // fin if else error } $dt = time() - $t1; $msg1 = str_replace('!!time!!', $dt, $msg['z3950_zmsg_show']); affiche_jsscript($msg1, "", $mioframe); //showButRes(); ?> </body> </html>
//if ($total % 10 == 0) { // affiche_jsscript ($msg["z3950_reception_notice"]." $total / $lim_recherche", "#99FF99", $bib_id); //} $notice = new z3950_notice($formato[$bib_id], $rec); $isbd_affichage = $notice->get_isbd_display(); $lu_isbn = $isbd_affichage[0]; $lu_titre = $isbd_affichage[1]; $lu_auteur = $isbd_affichage[2]; $lu_isbd = $isbd_affichage[3]; $sql2 = "insert into z_notices (znotices_id, znotices_query_id, znotices_bib_id, isbn, titre, auteur, isbd, z_marc) "; $sql2 .= "values(0,'{$last_query_id}', '{$bib_id}', '{$lu_isbn}', '" . addslashes($lu_titre) . "', '" . addslashes($lu_auteur) . "', '" . addslashes($lu_isbd) . "','" . addslashes($rec) . "') "; mysql_query($sql2); $ID_notice = mysql_insert_id(); } // fin du if qui vérifie que la notice n'est pas vide } // fin for yaz_close($id); $msg1 = str_replace("!!total!!", $total, $msg[z3950_recup_fini]); $msg1 = str_replace("!!hits!!", $hits, $msg1); affiche_jsscript($msg1, "#FFFFCC", $bib_id); } // fin if else error } $dt = time() - $t1; $msg1 = str_replace('!!time!!', $dt, $msg['z3950_zmsg_show']); affiche_jsscript($msg1, "#F3E6DF", $mioframe); //showButRes(); ?> </body> </html>