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