From 8d481333736626bc54210b4525a6aa34e530983c Mon Sep 17 00:00:00 2001 From: lwadbled Date: Wed, 10 Nov 2021 10:30:21 +0100 Subject: [PATCH] add(html): Codes sources page web --- html/index.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ html/login.php | 39 +++++++++++++++++++++++++++++++++++++++ html/menu.php | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+), 0 deletions(-) create mode 100644 html/index.html create mode 100644 html/login.php create mode 100644 html/menu.php diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..0549450 --- /dev/null +++ b/html/index.html @@ -0,0 +1,46 @@ + + + + + Login + + + + +
+
+
+
+
+ +
+
+ +
+ + + diff --git a/html/login.php b/html/login.php new file mode 100644 index 0000000..9b0077c --- /dev/null +++ b/html/login.php @@ -0,0 +1,39 @@ +"; + //header('Location : menu.php'); + }else{ + echo ""; + //header('Location : index.html'); + } + }else{ + echo ""; + //header('Location : index.html'); + } + mysqli_close($db); // Fin de la connexion +}else{ + //header('Location : /index.html'); + echo ""; +} + +?> diff --git a/html/menu.php b/html/menu.php new file mode 100644 index 0000000..9a16688 --- /dev/null +++ b/html/menu.php @@ -0,0 +1,34 @@ + + + + + Page principale + + + + +
+ Deconnexion + "; + //header('Location : index.html'); + } + } + if(isset($_SESSION['identifiant'])){ + $identifiant = $_SESSION['identifiant']; + echo "
Bonjour $identifiant, vous êtes connecté"; + } + ?> +
+ + -- libgit2 0.21.2