21 lines
572 B
PHP
21 lines
572 B
PHP
<?php
|
|
// En tête de page
|
|
?>
|
|
<?php require_once(PATH_VIEWS.'header.php');?>
|
|
|
|
<!-- Zone message d'alerte -->
|
|
<?php require_once(PATH_VIEWS.'alert.php');?>
|
|
|
|
<!-- Début de la page -->
|
|
<h1><?= TITRE_PAGE_ACCUEIL_TOUS ?></h1>
|
|
|
|
<?php if(isset($photos) and $photos) {
|
|
foreach ($photos as $photo) {?>
|
|
<a href="index.php?page=photo&id=<?= $photo["photoId"] ?>"><img src="<?= PATH_IMAGES ?>/<?= $photo['nomFich'] ?>" alt="<?= $photo['description'] ?>"></a>
|
|
<?php }
|
|
} ?>
|
|
|
|
<!-- Fin de la page -->
|
|
|
|
<!-- Pied de page -->
|
|
<?php require_once(PATH_VIEWS.'footer.php');
|