Ajout de CI et update depuis la prod
Some checks failed
Déploiement DEV / deploy (push) Failing after 13s

This commit is contained in:
Christian CUNAT-BRULE
2026-08-06 16:33:06 +02:00
parent 9fe23f6c3f
commit f456978b91
49 changed files with 13502 additions and 240 deletions

12
modele/evenement.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
function get_events()
{
global $bdd;
$req = $bdd->prepare('SELECT * FROM Event WHERE dateevent > TO_DAYS(NOW()) AND idtype <> 1 ORDER BY dateevent ASC');
$req->execute();
$eventsAll = $req->fetchAll();
return $eventsAll;
}