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 { $display = ''; $requete = "SELECT * FROM notices WHERE notice_id=$id LIMIT 1"; $resultat = pmb_mysql_query($requete); if ($resultat) { if(pmb_mysql_num_rows($resultat)) { $notice = pmb_mysql_fetch_object($resultat); $cart_click_isbd = "onClick=\"openPopUp('./cart.php?object_type=NOTI&item=$id', 'cart')\""; $cart_click_isbd = "basket" ; if ($current!==false) { $print_action = " \"".$msg["histo_print"]."\""; } if ($notice->niveau_biblio == 'b') { // notice de bulletin $isbd = new mono_display($notice, 6, '', $show_expl, '', '', '', 0, 0, $show_explnum, 0, '', 0, false, true, 0, 0, $show_map); } elseif($notice->niveau_biblio != 's' && $notice->niveau_biblio != 'a') { // notice de monographie $isbd = new mono_display($notice, 6, '', $show_expl, '', '', '', 0, 0, $show_explnum, 0, '', 0, false, true, 0, 0, $show_map); } else { // notice de périodique $isbd = new serial_display($notice, 5, '', '', '', '', '', 0, 0, $show_explnum, 0, true, 0, 0, '', false, $show_map); } // header $display .= "
".$isbd->aff_statut.$cart_click_isbd.$print_action."

".$isbd->header."

"; // isbd + exemplaires existants $display .= "
$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)) { $display .= " "; } } } ajax_http_send_response($display); } }