"; print ""; print pmb_bidi("
".$empr->prenom." ".$empr->nom."
".$empr->adr1."
".$empr->adr2."
".$empr->cp." ".$empr->ville."
".$empr->mail."
".$empr->tel1."
".$empr->tel2."
"); $requete="select recouvr_id,id_expl,date_rec,libelle,montant, expl_notice,expl_bulletin, recouvr_type, date_pret,date_relance1,date_relance2,date_relance3 from recouvrements left join exemplaires on expl_id=id_expl where empr_id=$id_empr order by date_rec"; $resultat=pmb_mysql_query($requete); print ""; while ($r=pmb_mysql_fetch_object($resultat)) { if ($r->id_expl) { if ($r->expl_notice) { $notice=new mono_display($r->expl_notice); $libelle=strip_tags($notice->header); } else if ($r->expl_bulletin) { $bulletin=new bulletinage_display($r->expl_bulletin); $libelle=$bulletin->display; } } else $libelle=$r->libelle; if($r->recouvr_type)$type=$msg["relance_recouvrement_prix"]; else $type=$msg["relance_recouvrement_amende"]; print pmb_bidi(""); } print "
".""."".$msg["relance_recouvrement_type"]."".$msg["relance_recouvrement_titre"]."".$msg["relance_recouvrement_pret_date"]."".$msg["relance_recouvrement_relance_date1"]." ".$msg["relance_recouvrement_relance_date2"]."".$msg["relance_recouvrement_relance_date3"]."".$msg["relance_recouvrement_montant"]."
".format_date($r->date_rec)." ".htmlentities($type,ENT_QUOTES,$charset)." ".htmlentities($libelle,ENT_QUOTES,$charset)." ".format_date($r->date_pret)." ".format_date($r->date_relance1)." ".format_date($r->date_relance2)." ".format_date($r->date_relance3)." ".$r->montant."
"; ?>