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_TP_Note/views/v_accueil.php

22 lines
535 B
PHP
Raw Normal View History

2020-11-13 08:08:06 +01: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 -->
2020-11-13 08:50:55 +01:00
<h2><?= POLLS_LIST ?></h2>
<?php if (isset($polls) and $polls) { ?>
<ul>
<?php foreach ($polls as $poll) { ?>
<li><a href="index.php?page=poll&id=<?= $poll['sonId'] ?>"><?= $poll["question"] ?></a></li>
<?php } ?>
</ul>
<?php } ?>
2020-11-13 08:08:06 +01:00
<!-- Fin de la page -->
<!-- Pied de page -->
<?php require_once(PATH_VIEWS.'footer.php');