From e79fb7fb954e448d78b5c150b341ade5033914d5 Mon Sep 17 00:00:00 2001 From: nathan boileau Date: Tue, 10 Jan 2023 19:59:51 +0100 Subject: [PATCH] test --- WEB/View/src/pages/Main.php | 206 ++++++++++++++++++++++++++++++++++++ 1 file changed, 206 insertions(+) create mode 100644 WEB/View/src/pages/Main.php diff --git a/WEB/View/src/pages/Main.php b/WEB/View/src/pages/Main.php new file mode 100644 index 00000000..25a0e733 --- /dev/null +++ b/WEB/View/src/pages/Main.php @@ -0,0 +1,206 @@ + + + + + + + Scripted + + + + + + + + + + + +
+ + +
+ +
+
+ +

' . $_SESSION['pseudo'] . '

+ +
'; + echo ' + + Logout + +
'; + } elseif (isset($_SESSION['role']) && $_SESSION['role'] == 'admin') { + echo 'Profil +

' . $_SESSION['pseudo'] . '

+ + '; + } else { + echo ''; + } + ?> +
+
+
+ + + + +
+ + \ No newline at end of file