1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
| <!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Mon site</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Connexion à mon site">
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" />
<!-- ci-dessous notre fichier CSS -->
<link rel="stylesheet" type="text/css" href="/css/app.css" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lato:400,700,300" />
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/font-awesome.min.css">
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/app.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="main">
<div class="row">
<div class="col-xs-12 col-sm-6 col-sm-offset-1">
<div class="photo_site"> </div>
<h1>Connectez-vous</h1>
<form action="inscrire2.php" name="login" role="form" class="form-horizontal" method="post" accept-charset="utf-8">
<div class="form-group">
<div class="col-md-8"><input name="pseudo" placeholder="Idenfiant" class="form-control" type="text" id="pseudo"/></div>
</div>
<div class="form-group">
<div class="col-md-8"><input name="mot_de_passe" placeholder="Mot de passe" class="form-control" type="password" id="mot_de_passe"/></div>
</div>
<div class="col-md-8"><input type="checkbox" name="connection_automatique" id="connection_automatique"/> <label for="connection_automatique">Connexion automatique</label><br/>
</div>
<div class="form-group">
<div class="col-md-offset-0 col-md-8"><input class="btn btn-success btn btn-success" type="submit" value="Connexion"/></div>
</div>
</form>
<form action="inscrire.php" method="post" name="Inscription">
<fieldset><legend>Vous n'êtes pas inscrit</legend>
<label for="pseudo" class="float">Pseudo :</label> <input type="text" name="pseudo" id="pseudo" size="20" value="<?php echo (!empty($_POST['pseudo']))? htmlspecialchars($_POST['pseudo'], ENT_QUOTES): NULL ; ?>" /><br />
<label for="mot_de_passe" class="float">Mot de passe :</label> <input type="password" name="mot_de_passe" id="mot_de_passe" size="20" value="<?php echo (!empty($_POST['mdp']))? htmlspecialchars($_POST['mdp'], ENT_QUOTES): NULL ; ?>" /> <br />
<label for="mdp_verif" class="float">Mot de passe (vérification) :</label> <input type="password" name="mdp_verif" id="mdp_verif" size="20" value="<?php echo (!empty($_POST['mdp_verif']))? htmlspecialchars($_POST['mdp_verif'], ENT_QUOTES): NULL ; ?>" /><br />
<label for="email_personne" class="float">Mail :</label> <input type="text" name="email_personne" id="email_personne" size="20" value="<?php echo (!empty($_POST['mail']))? htmlspecialchars($_POST['mail'], ENT_QUOTES): NULL ; ?>" /> <br />
<label for="mail_verif" class="float">Mail (vérification) :</label> <input type="text" name="mail_verif" id="mail_verif" size="20" value="<?php echo (!empty($_POST['mail_verif']))? htmlspecialchars($_POST['mail_verif'], ENT_QUOTES): NULL ; ?>" /><br />
<input type="checkbox" name="charte" id="charte"/> <label for="charte">J'accepte les conditions et les règles d'utilisation de ce site.</label><a href="charte.php" style="text-decoration:none">Lire la charte</a><br/>
</fieldset>
<div class="center"><input type="submit" value="Validé" /></div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html> |
Partager