-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.php
59 lines (51 loc) · 1.9 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
<?php
require("includes/common.php");
if (!isset($_SESSION['email'])) {
header('location: index.php');
}
?>
<!DOCTYPE html>
<!--
-->
<html>
<head>
<title>E-Store|Settings</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" type="text/css">
<script type="text/javascript" src="bootstrap/js/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="css/css.css" type="text/css">
</head>
<body>
<?php
include 'includes/header.php';
?>
<div class="container"><br><br><br><br>
<div class="row row_style4">
<div class="col-xs-4 col-xs-offset-4">
<h1> Change Password </h1>
<div><b class="red">
<?php
if (isset($_GET["error"])) {
echo $_GET['error'];
}
?>
</b></div>
<form action="settings_script.php" method="POST">
<div class="form-group">
<input type="password" class="form-control" placeholder="Old Password" name="oldpassword">
</div>
<div class="form-group">
<input type="password" class="form-control" placeholder="New Password" name="newpassword">
</div>
<div class="form-group">
<input type="password" class="form-control" placeholder="Re-type New Password" name="renewpassword">
</div>
<button class="btn btn-primary">Change</button>
</form>
</div>
</div>
</div>
</body>
</html>