setDomain(1); $acces_l = $dom_1->getRights($PMBuserid,$id,4); //lecture } if ($acces_l==0) { error_message('', htmlentities($dom_1->getComment('view_noti_error'), ENT_QUOTES, $charset), 1, ''); } else { $sort_children = 1; // définition de quelques variables $libelle = $msg[270]; $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_serial = "./catalog.php?categ=serials&sub=analysis&action=explnum_form&bul_id=!!bul_id!!&analysis_id=!!analysis_id!!&explnum_id=!!explnum_id!!"; $expl_link = './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!!'; $isbd = new mono_display($id, 6, '', 1, $expl_link, '', $link_explnum,1,0,1,0,'',0,false,true,0,1); $cart_click_isbd = "onClick=\"openPopUp('./cart.php?object_type=NOTI&item=$id', 'cart', 600, 700, -2, -2, '$selector_prop')\""; $cart_click_isbd = "basket" ; if ($current!==false) { $print_action = " \"".$msg["histo_print"]."\""; } $visualise_click_notice=" "; // header print pmb_bidi("
".$isbd->aff_statut.$cart_click_isbd.$print_action."$visualise_click_notice

".$isbd->header."

"); $boutons = "
 "; $boutons .= " "; if ($z3950_accessible) $boutons .= " "; if ($pmb_allow_external_search) $boutons .= " "; if ($pmb_allow_external_search) $boutons .= " "; $boutons .= " "; $boutons .= " "; if($acquisition_active) { $boutons .= ""; } if ($pmb_type_audit) $boutons .= "  "; $boutons .="
"; global $at_least_one_has_expl; $requete_compte_expl_id="select 1 from exemplaires where expl_notice='".$id."'"; $resultat_compte_expl_id=mysql_query($requete_compte_expl_id); if (!mysql_num_rows($resultat_compte_expl_id)) { $message=$msg["confirm_suppr_notice"]; if ($isbd->nb_expl!=0) $at_least_one_has_expl++; if ($at_least_one_has_expl) $message=$msg["del_expl_noti_child"]; $boutons .= "
"; } $boutons .="
"; if($boutons) $isbd->isbd = str_replace('', $boutons, $isbd->isbd); else $isbd->isbd = str_replace('', "", $isbd->isbd); $isbd->isbd = str_replace('', avis_notice($id,$avis_quoifaire,$valid_id_avis), $isbd->isbd); // isbd + exemplaires existants print pmb_bidi("
$isbd->isbd
"); // pour affichage de l'image de couverture if ($pmb_book_pics_show=='1' && (($pmb_book_pics_url && $isbd->notice->code) || $isbd->notice->thumbnail_url)) { print " "; } // form de création d'exemplaire if ((!$explr_visible_mod)&&($pmb_droits_explr_localises)) { $etiquette_expl=""; $btn_ajouter_expl=""; $saisie_num_expl="
"; $saisie_num_expl.= "
".$msg["err_add_invis_expl"]."
"; } else { global $pmb_numero_exemplaire_auto; //if($pmb_numero_exemplaire_auto>0) $num_exemplaire_auto=" $msg[option_num_auto] "; if($pmb_numero_exemplaire_auto==1 || $pmb_numero_exemplaire_auto==2) $num_exemplaire_auto=" $msg[option_num_auto] "; $etiquette_expl=""; $btn_ajouter_expl=""; $saisie_num_expl="".$num_exemplaire_auto; } $expl_new = str_replace ('!!etiquette!!',$etiquette_expl,$expl_new); $expl_new = str_replace ('!!saisie_num_expl!!',$saisie_num_expl,$expl_new); $expl_new = str_replace ('!!btn_ajouter!!',$btn_ajouter_expl,$expl_new); $expl_new = str_replace('!!id!!', $id, $expl_new); print "
"; print $expl_new; print "
"; } ?>