Un style un peu mieux, un titre à la page, et d'autres trucs

This commit is contained in:
Mysaa
2021-06-05 18:17:31 +02:00
parent f515420c6c
commit 7ac29bb13d
16 changed files with 192 additions and 201 deletions
+17 -21
View File
@@ -1,35 +1,31 @@
<!DOCTYPE html>
<!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';
?>
<head>
<?php include 'includes/data.php'; ?>
</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>";
if(isset($_GET['i'])){
if($_GET['i'] == 1){
echo "<script>alert('Pseudonyme incorrect, veuillez reessayer')</script>";
} elseif($_GET['i'] == 2){
echo "<script>alert('Mot de passe incorrect, veuillez reessayer')</script>";
} // Tu pourras ajouter les accents, j'arrive pas avec l'alert :/
}
} ?>
?>
<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>
<br/>
<label for="mdp">Mot de passe :</label>
<input type="password" name="mdp" id="mdp" placeholder="Votre mot de passe" required=""/>
</br>
<br/>
<input type="Submit" value="Se connecter">
</form>
<?php
include 'includes/foot.php'
?>
<?php include 'includes/foot.php' ?>
</body>
</html>