diff --git a/Website/Media/mathEducFont.ttf b/Website/Media/mathEducFont.ttf index 43b47be..3d85ed9 100755 Binary files a/Website/Media/mathEducFont.ttf and b/Website/Media/mathEducFont.ttf differ diff --git a/Website/controllers/ControllerUserLobby.php b/Website/controllers/ControllerUserLobby.php new file mode 100644 index 0000000..f9bf141 --- /dev/null +++ b/Website/controllers/ControllerUserLobby.php @@ -0,0 +1,33 @@ +twig =$twig; + $this->vues = $vues; + + $this->mdLobby = new ModelLobby(); + + $lobbies = $this->mdLobby->getlobbies(); + + + echo $twig->render($vues["lobby"], [ + 'lobbies' => $lobbies, + ]); + + } catch (PDOException $e) { + // Gérez les erreurs PDO ici + } catch (Exception $e2) { + // Gérez d'autres erreurs ici + } + } +} \ No newline at end of file diff --git a/Website/templates/adminAdministrators.twig b/Website/templates/adminAdministrators.twig index 8573692..04230bf 100644 --- a/Website/templates/adminAdministrators.twig +++ b/Website/templates/adminAdministrators.twig @@ -14,7 +14,7 @@

Liste des administrators