-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.php
58 lines (56 loc) · 2.31 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
58
<?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>Lifestyle Store</title>
<link rel="stylesheet" href="CSS/col_css.css" type="text/css">
<link rel="stylesheet" href="CSS/btn.css" type="text/css">
<link rel="stylesheet" href="CSS/panel.css" type="text/css">
<link rel="stylesheet" href="CSS/label.css" type="text/css">
<link rel="stylesheet" href="CSS/Navbar.css" type="text/css">
<link rel="stylesheet" href="CSS/css1.css" type="text/css">
<script type="text/javascript" src="bootstrap/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
</head>
<body style="background-color:#cccc00">
<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>
<footer class="footer">
<div class="container">
</div>
</footer>
</div>
</body>
</html>