Bien au dessus de Léandre et JL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

50 lines
2.0 KiB

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="login.css">
<title>Connexion</title>
</head>
<body>
<div class="container login">
<h1>Connexion</h1>
<form action="cible_login.php" method="post" id="form">
<div class="form-chunck">
<label for="username">Utilisateur</label>
<input class="input" type="text" name="username">
<?php if (isset($_GET['error']) AND $_GET['error'] == '2') { echo <<<HTML
<p class="error">Nom d'utilisateur incorrecte</p>
HTML; } ?>
</div>
<div class="form-chunck">
<label for="password">Mot de passe</label>
<input class="input" type="password" name="password" id="">
<?php if (isset($_GET['error']) AND $_GET['error'] == '3') { echo <<<HTML
<p class="error">Mot de passe incorrecte</p>
HTML; } ?>
</div>
<input class="button" type="submit" value="Se connecter">
</form>
</div>
<div class="container signin">
<h1>Toujours pas de compte chez deuzagio ?</h1>
<form action="cible_sign-up.php" method="post" id="form">
<div class="form-chunck">
<label for="username">Utilisateur</label>
<input class="input" type="text" name="username">
<?php if (isset($_GET['error']) AND $_GET['error'] == '1') { echo <<<HTML
<p class="error">Nom d'utilisateur déjà pris</p>
HTML; } ?>
</div>
<div class="form-chunck">
<label for="password">Mot de passe</label>
<input class="input" type="password" name="password" id="">
</div>
<input class="button" type="submit" value="Se connecter">
</form>
</div>
</body>
</html>