-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.php
More file actions
77 lines (69 loc) · 3.35 KB
/
settings.php
File metadata and controls
77 lines (69 loc) · 3.35 KB
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
72
73
74
75
76
77
<?php
require('includes/common.php');
if(!isset($_SESSION['email'])) {
header('location:index.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Settings | Life Style Store</title>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="icon" type="image/png" href="images/logo.png">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" type="text/css" >
<script src="bootstrap/js/jquery-3.2.1.min.js" type="text/javascript"></script>
<script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<body>
<?php
include('includes/header.php')
?>
<div class="container-fluid" id="content">
<div class="row">
<div class="col-lg-offset-4 col-lg-4 col-md-offset-3 col-md-6 col-sm-offset-2 col-sm-8 settings">
<h4 style="text-align: center">Change Password</h4>
<form action="settings_script.php" method="post">
<div class="form-group">
<input type="password" class="form-control" name="old-password" placeholder="Old Password" required>
</div>
<div class="form-group">
<input type="password" class="form-control" name="password" placeholder="New Password" required>
</div>
<div class="form-group">
<input type="password" class="form-control" name="password1" placeholder="Re-type New Password" required>
</div>
<button type="submit" class="btn btn-primary btn-block">Change</button>
<?php
if(isset($_GET['error'])) {
echo "<br><center><b class='red'>" .$_GET['error'] . "</b></center>";
}
?>
</form>
<!-- <div class="panel panel-primary">
<div class="panel-heading">
<h4 class="text-default">Change Password</h4>
</div>
<div class="panel-body">
<form>
<div class="form-group">
<input type="password" name="pass" placeholder="Old Password" class="form-control input-lg" required>
</div>
<div class="form-group">
<input type="password" name="pass" placeholder="New Password" class="form-control input-lg" required>
</div>
<div class="form-group">
<input type="password" name="pass" placeholder="Re-Type New Password" class="form-control input-lg" required>
</div>
<input type="submit" value="Change" class="btn btn-primary">
</form>
</div>
</div>
</div> -->
</div>
</div>
</div>
<?php
include('includes/footer.php');
?>
</body>
</html>