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.

56 lines
2.3 KiB

3 years ago
<!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="buttons">
<button class="button button-login active" onclick="switchPanel('login')">Connexion</button>
<button class="button button-register" onclick="switchPanel('register')">S'inscrire</button>
</div>
3 years ago
<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
3 years ago
<p class="error">Nom d'utilisateur incorrecte</p>
HTML; }*/ ?>
3 years ago
</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
3 years ago
<p class="error">Mot de passe incorrecte</p>
HTML; }*/ ?>
3 years ago
</div>
<input class="button" type="submit" value="Se connecter">
</form>
</div>
3 years ago
<div class="container register" style="display: none;">
3 years ago
<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
3 years ago
<p class="error">Nom d'utilisateur déjà pris</p>
HTML; }*/ ?>
3 years ago
</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>
<script src="login.js"></script>
3 years ago
</body>
</html>