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