<?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 --> <?php if (isset($photo) and $photo) { ?> <h1><?= TITRE_PAGE_PHOTO ?></h1> <div class = "col-md-6 col-sm-6 col-xs-12"> <img src="<?= PATH_IMAGES ?>/<?= $photo['nomFich'] ?>" alt="<?= $photo['description'] ?>"> </div> <div class = "col-md-6 col-sm-6 col-xs-12"> <table class="table table-bordered"> <tr> <th><?= DESCRIPTION ?></th> <th><?= $photo["description"] ?></th> </tr> <tr> <th><?= FILE_NAME ?></th> <th><?= $photo["nomFich"] ?></th> </tr> <tr> <th><?= CATEGORY ?></th> <th><a href="index.php?category=<?= $photo["catId"] ?>"><?= $photo["nomCat"] ?></a></th> </tr> </table> </div> <?php } ?> <!-- Fin de la page --> <!-- Pied de page --> <?php require_once(PATH_VIEWS.'footer.php');