Initial commit for radiantrh project

This commit is contained in:
2025-12-07 08:36:26 +00:00
commit 6dc580b90b
3334 changed files with 2221683 additions and 0 deletions

20
Modele/Menu.php Executable file
View File

@@ -0,0 +1,20 @@
<?php
require_once 'Framework/Modele.php';
class Menu extends Modele {
public function getMenu($codeProfil)
{
if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US")
{
$sql = "call sp_a_get_menu_eng(?, ?);";
}
else
{
$sql = "call sp_a_get_menu(?, ?);";
}
$menu = $this->executerRequete($sql, array($_SESSION['codeSociete'],$codeProfil));
return $menu->fetchAll(PDO::FETCH_ASSOC);
}
}