</td> </tr> <?php } //end of loop ?> </tbody> </table> <?php } ?> <!--**************************** TERRAIN END ****************************--> <!--**************************** APPARTEMENT BEGIN ****************************--> <?php if ($type == "appartements") { $appartements = $appartementManager->getAppartementsByIdProjet($idProjet); ?> <h3>Liste des appartements</h3> <table> <thead> <tr> <th style="width:10%">Code</th> <th style="width:25%">Titre</th> <th style="width:10%">Niveau</th> <th style="width:15%">Superficie</th> <th style="width:15%">Surplan</th> <th style="width:10%">N.Pieces</th> <th style="width:15%">Status</th> </tr> </thead> <tbody>