Premier commit - Inclusion dans le projet git
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user