-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.php
57 lines (57 loc) · 2.26 KB
/
settings.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
<?php
session_start();
require 'connection.php';
if(!isset($_SESSION['email'])){
header('location:index.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="img/lifestyleStore.png" />
<title>Kamran' s Store</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- latest compiled and minified CSS -->
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" type="text/css">
<!-- jquery library -->
<script type="text/javascript" src="bootstrap/js/jquery-3.2.1.min.js"></script>
<!-- Latest compiled and minified javascript -->
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<!-- External CSS -->
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<div>
<?php
require 'header.php';
?>
<br>
<div class="container">
<div class="row">
<div class="col-xs-4 col-xs-offset-4">
<h1>Change Password</h1>
<form method="post" action="setting_script.php">
<div class="form-group">
<input type="password" class="form-control" name="oldPassword" placeholder="Old Password">
</div>
<div class="form-group">
<input type="password" class="form-control" name="newPassword" placeholder="New Password">
</div>
<div class="form-group">
<input type="password" class="form-control" name="retype" placeholder="Re-type new password">
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Change">
</div>
</form>
</div>
</div>
</div>
<br><br><br><br><br>
<?php
require 'footer.php';
?>
</div>
</body>
</html>