-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangerMdp.php
57 lines (57 loc) · 2.23 KB
/
ChangerMdp.php
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
<!-- Ce script php correspond à la page html de l'utilisateur pour changer le mot de passe -->
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Changer Mot de</title>
<link rel="stylesheet" href="ChangerMdp.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="menu">
<div class="container-fluid">
<div>
<ul class="nav navbar-nav navbar-right">
<li><a href="MainPage.html"><span class="glyphicon glyphicon-log-in"></span> Accueil</a></li>
</ul>
</div>
</div>
</div>
<div id="ChangePass" class="container">
<h2>Changer mot de passe</h2>
<form class="form-horizontal" method= "post" action="ChangerMdpBD.php" enctype="multipart/form-data">
<div class="form-group">
<label class="control-label col-sm-2">Ancien mot de passe </label>
<div class="col-sm-10">
<input type="password" class="form-control" name="old_pass">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Nouveau mot de passe </label>
<div class="col-sm-10">
<input type="password" class="form-control" name="new_pass">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Resaisir mot de passe </label>
<div class="col-sm-10">
<input type="password" class="form-control" name="new_pass2">
</div>
</div>
<p class="col-sm-offset-2 col-sm-10" id="error"></p>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input class="bouton" type="submit" value="Valider"/>
</div>
</div>
</form>
</div>
<script type="text/javascript" src="ChangerMdp.js"></script>
</body>
</html>