-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.php
61 lines (61 loc) · 2.72 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
59
60
61
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>LifeStyle</title>
<link rel="stylesheet" href="bootstrap-3.3.7/css/bootstrap.min.css" type="text/css">
<script src="bootstrap-3.3.7/js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script src="bootstrap-3.3.7/js/bootstrap.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="extraStyles.css" type="text/css"/>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="row">
<nav class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<div class="navbar-header navbar-brand">
LifeStyle
</div>
<div>
<ul class="nav navbar-nav navbar-right">
<li><a href="cart.php"><span class="glyphicon glyphicon-shopping-cart"> Cart</span></a></li>
<li class="active"><a><span class="glyphicon glyphicon-user"></span> Settings</a></li>
<li><a href="logout.php"><span class="glyphicon glyphicon-log-out"></span> Log Out</a></li>
</ul>
</div>
</div>
</nav>
</div>
<div class="container container_style">
<form method="post" action="settings_db.php">
<h3>Change Password</h3>
<div class="form-group">
<input type="password" name="oldpswd" placeholder="Old Password" class="form-control">
</div>
<div class="form-group">
<input type="password" name="newpswd" placeholder="New Password" class="form-control">
</div>
<div class="form-group">
<input type="password" name="rpswd" placeholder="Re-type New Password" class="form-control">
</div>
<div class="form-group">
<input type="submit" value="Change" class="btn btn-primary">
</div>
</form>
<?php
$error = $_GET['error'];
echo "<br><br><b class='red'>" . $error . "</b>";
?>
</div>
<footer>
<div class="container">
<p>Copyright © Lifestyle Store. All Rights Reserved| Contact Us: 6304126471</p>
</div>
</footer>
</body>
</html>