Initial commit for radiantprestation project

This commit is contained in:
2026-01-06 08:29:33 +00:00
commit 89481e47af
2578 changed files with 580558 additions and 0 deletions

19
Modele/Periode.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
require_once 'Framework/Modele.php';
class Periode extends Modele
{
public function getListe() {
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
{
$sql = 'SELECT Codemois as `code`, libelleEng as libelle FROM p_periode order by Codemois';
}
else
{
$sql = 'SELECT Codemois as `code`, libellePeriode as libelle FROM p_periode order by Codemois';
}
$liste = $this->executerRequete($sql);
return $liste->fetchAll(PDO::FETCH_ASSOC);
}
}