libelle != '') {
$adresse = htmlentities(addslashes($row->libelle), ENT_QUOTES, $charset)."\\n";
$adresse1 = htmlentities($row->libelle, ENT_QUOTES, $charset);
}
if($row->contact !='') {
$adresse.= htmlentities(addslashes($row->contact), ENT_QUOTES, $charset)."\\n";
}
$adresse1.= ' (';
if($row->adr1 != '') {
$adresse.= htmlentities(addslashes($row->adr1), ENT_QUOTES, $charset)."\\n";
$adresse1.= htmlentities($row->adr1, ENT_QUOTES, $charset).' ';
}
if($row->adr2 != '') {
$adresse.= htmlentities(addslashes($row->adr2), ENT_QUOTES, $charset)."\\n";
$adresse1.= htmlentities($row->adr2, ENT_QUOTES, $charset).' ';
}
if($row->cp !='') {
$adresse.= htmlentities(addslashes($row->cp), ENT_QUOTES, $charset).' ';
$adresse1.= htmlentities($row->cp, ENT_QUOTES, $charset).' ';
}
if($row->ville != '') {
$adresse.= htmlentities(addslashes($row->ville), ENT_QUOTES, $charset);
$adresse1.= htmlentities($row->ville, ENT_QUOTES, $charset);
}
$adresse1.= ')';
print pmb_bidi("
id_contact', '$adresse' )\">$adresse1");
print "
";
}
pmb_mysql_free_result($res);
// constitution des liens
$nbepages = ceil($nbr_lignes/$nb_per_page);
$suivante = $page+1;
$precedente = $page-1;
// affichage du lien précédent si nécessaire
print '