|
@ -8,36 +8,40 @@ |
|
|
<title>Connexion</title> |
|
|
<title>Connexion</title> |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<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> |
|
|
<div class="container login"> |
|
|
<div class="container login"> |
|
|
<h1>Connexion</h1> |
|
|
<h1>Connexion</h1> |
|
|
<form action="cible_login.php" method="post" id="form"> |
|
|
<form action="cible_login.php" method="post" id="form"> |
|
|
<div class="form-chunck"> |
|
|
<div class="form-chunck"> |
|
|
<label for="username">Utilisateur</label> |
|
|
<label for="username">Utilisateur</label> |
|
|
<input class="input" type="text" name="username"> |
|
|
<input class="input" type="text" name="username"> |
|
|
<?php if (isset($_GET['error']) AND $_GET['error'] == '2') { echo <<<HTML |
|
|
<?php /*if (isset($_GET['error']) AND $_GET['error'] == '2') { echo <<<HTML |
|
|
<p class="error">Nom d'utilisateur incorrecte</p> |
|
|
<p class="error">Nom d'utilisateur incorrecte</p> |
|
|
HTML; } ?> |
|
|
HTML; }*/ ?> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-chunck"> |
|
|
<div class="form-chunck"> |
|
|
<label for="password">Mot de passe</label> |
|
|
<label for="password">Mot de passe</label> |
|
|
<input class="input" type="password" name="password" id=""> |
|
|
<input class="input" type="password" name="password" id=""> |
|
|
<?php if (isset($_GET['error']) AND $_GET['error'] == '3') { echo <<<HTML |
|
|
<?php /*if (isset($_GET['error']) AND $_GET['error'] == '3') { echo <<<HTML |
|
|
<p class="error">Mot de passe incorrecte</p> |
|
|
<p class="error">Mot de passe incorrecte</p> |
|
|
HTML; } ?> |
|
|
HTML; }*/ ?> |
|
|
</div> |
|
|
</div> |
|
|
<input class="button" type="submit" value="Se connecter"> |
|
|
<input class="button" type="submit" value="Se connecter"> |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="container signin"> |
|
|
<div class="container register" style="display: none;"> |
|
|
<h1>Toujours pas de compte chez deuzagio ?</h1> |
|
|
<h1>Toujours pas de compte chez deuzagio ?</h1> |
|
|
<form action="cible_sign-up.php" method="post" id="form"> |
|
|
<form action="cible_sign-up.php" method="post" id="form"> |
|
|
<div class="form-chunck"> |
|
|
<div class="form-chunck"> |
|
|
<label for="username">Utilisateur</label> |
|
|
<label for="username">Utilisateur</label> |
|
|
<input class="input" type="text" name="username"> |
|
|
<input class="input" type="text" name="username"> |
|
|
<?php if (isset($_GET['error']) AND $_GET['error'] == '1') { echo <<<HTML |
|
|
<?php /*if (isset($_GET['error']) AND $_GET['error'] == '1') { echo <<<HTML |
|
|
<p class="error">Nom d'utilisateur déjà pris</p> |
|
|
<p class="error">Nom d'utilisateur déjà pris</p> |
|
|
HTML; } ?> |
|
|
HTML; }*/ ?> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-chunck"> |
|
|
<div class="form-chunck"> |
|
|
<label for="password">Mot de passe</label> |
|
|
<label for="password">Mot de passe</label> |
|
@ -46,5 +50,7 @@ |
|
|
<input class="button" type="submit" value="Se connecter"> |
|
|
<input class="button" type="submit" value="Se connecter"> |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<script src="login.js"></script> |
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
</html> |