Premier commit - Inclusion dans le projet git

This commit is contained in:
Mysaa
2021-06-05 18:05:11 +02:00
commit 3e8d10144f
12 changed files with 352 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<title>Le site de tous les bernards !</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="css/style.css"/>
</head>
<body>
<?php
include 'includes/head.php';
?>
<?php
if(isset($_GET['i'])){
if($_GET['i'] == 1){
echo "<script>alert('Pseudonyme incorrect , veuillez réssayer')</script>";
}elseif($_GET['i'] == 2){
echo "<script>alert('Mot de passe incorrect , veuillez réssayer')</script>";
}
} ?>
<form id="loginForm" method="post" action="logging.php">
<label for="pseudo">Pseudo :</label>
<input type="text" name="pseudo" id="pseudo" placeholder="Ex:Bernard" required=""/>
</br>
<label for="mdp">Mot de passe :</label>
<input type="password" name="mdp" id="mdp" placeholder="Votre mot de passe" required=""/>
</br>
<input type="Submit" value="Se connecter">
</form>
<?php
include 'includes/foot.php'
?>
</body>
</html>