1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
PHP_TP4/views/v_accueil.php

22 lines
509 B
PHP
Raw Normal View History

2020-10-16 10:23:24 +02:00
<?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>
2020-10-16 11:57:47 +02:00
<?php if(isset($photos) and $photos) {
foreach ($photos as $photo) {?>
<img src="<?= PATH_IMAGES ?>/<?= $photo['nomFich'] ?>" alt="<?= $photo['description'] ?>">
<?php }
} ?>
2020-10-16 10:23:24 +02:00
<!-- Fin de la page -->
<!-- Pied de page -->
<?php require_once(PATH_VIEWS.'footer.php');