';
// map
if($pmb_map_activate && $this->show_map){
$this->isbd.=map_locations_controler::get_map_location($this->notice_id);
}
if($this->expl) {
$collstate_aff = "";
if ($this->notice->niveau_biblio=='b' && $this->notice->niveau_hierar==2) { // on est face à une notice de bulletin
$requete="select bulletin_id from bulletins where num_notice=".$this->notice->notice_id;
$result=@pmb_mysql_query($requete);
if (pmb_mysql_num_rows($result)) {
$bull = pmb_mysql_fetch_object($result);
if (!$this->notice->is_numeric) {
$expl_aff = $this->show_expl_per_notice($this->notice->notice_id, $this->link_expl,$bull->bulletin_id);
} else {
$expl_aff = $this->show_orders_pnb($this->notice->notice_id);
switch ($pmb_show_exemplaires_pnb) {
case 1:
// Les exemplaires en cours de prêt
$expl_aff.= $this->show_expl_per_notice($this->notice->notice_id, $this->link_expl, 0, true);
break;
case 2:
// Tous les exemplaires associés
$expl_aff.= $this->show_expl_per_notice($this->notice->notice_id, $this->link_expl, 0, false);
break;
case 0:
default:
break;
}
}
//on affiche les états des collections en condition identique des exemplaires
global $pmb_etat_collections_localise;
$collstate = new collstate(0, 0, $bull->bulletin_id);
if($pmb_etat_collections_localise) {
$collstate->get_display_list("",0,0,0,1,0,true);
} else {
$collstate->get_display_list("",0,0,0,0,0,true);
}
if($collstate->nbr) {
$collstate_aff = $collstate->liste;
}
}
}else{
if (!$this->notice->is_numeric) {
$expl_aff = $this->show_expl_per_notice($this->notice->notice_id, $this->link_expl);
} else {
$expl_aff = $this->show_orders_pnb($this->notice->notice_id);
switch ($pmb_show_exemplaires_pnb) {
case 1:
// Les exemplaires en cours de prêt
$expl_aff.= $this->show_expl_per_notice($this->notice->notice_id, $this->link_expl, 0, true);
break;
case 2:
// Tous les exemplaires associés
$expl_aff.= $this->show_expl_per_notice($this->notice->notice_id, $this->link_expl, 0, false);
break;
case 0:
default:
break;
}
}
}
if ($expl_aff) {
$this->isbd .= "
${msg[285]} (".$this->nb_expl.")";
$this->isbd .= $expl_aff;
}
if($collstate_aff) {
$this->isbd .= "
".$msg["abts_onglet_collstate"]." (".$collstate->nbr.")";
$this->isbd .= $collstate_aff;
}
}
if ($this->show_explnum) {
$explnum_assoc = show_explnum_per_notice($this->notice->notice_id, 0, $this->link_explnum,array(),false,$this->context_dsi_id_bannette);
if ($explnum_assoc) $this->isbd .= "
$msg[explnum_docs_associes] (".show_explnum_per_notice($this->notice->notice_id, 0, $this->link_explnum,array(),true).")".$explnum_assoc.'
';
}
$this->isbd.= '
';
//documents numériques en relation...
$explnum_in_relation = show_explnum_in_relation($this->notice->notice_id, $this->link_explnum);
if ($explnum_in_relation) $this->isbd .= "