expl_typdoc;
$query .= " AND l.idlocation=".$stuff->expl_location;
$query .= " AND s.idsection=".$stuff->expl_section;
$query .= " LIMIT 1";
$result = mysql_query($query, $dbh);
$info_doc = mysql_fetch_object($result);
print pmb_bidi("
" ; $ret .= $msg['fpdf_date_pret']." ".$expl->aff_pret_date ; $ret .= " ".$msg['fpdf_retour_prevu']." ".$expl->aff_pret_retour.""; $ret .= "
".$expl->location_libelle.": ".$expl->section_libelle.": ".$expl->expl_cote." (".$expl->expl_cb.")
" ; if ($resa->aff_resa_date_debut) { $tmpmsg_res = $msg['fpdf_reserve_du']." ".$resa->aff_resa_date_debut." ".$msg['fpdf_adherent_au']." ".$resa->aff_resa_date_fin; $requete_expl = "SELECT expl_cb, tdoc_libelle, section_libelle, location_libelle " ; $requete_expl.= " FROM exemplaires, docs_type, docs_section, docs_location "; $requete_expl.= " WHERE expl_cb='".addslashes($resa->resa_cb)."' and expl_typdoc = idtyp_doc and expl_section = idsection and expl_location = idlocation "; $res_expl = mysql_query($requete_expl, $dbh) or die ("
".mysql_error()); $expl = mysql_fetch_object($res_expl); $tmpmsg_res .= "
".$expl->location_libelle.": ".$expl->section_libelle; } else { $tmpmsg_res = $msg['fpdf_attente_valid']." / ".$msg['fpdf_rang']." ".($j+1)." : ".$msg['fpdf_reserv_enreg']." ".$resa->date_pose_resa ; } $ret .= $tmpmsg_res; $ret .= "