-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.php
80 lines (61 loc) · 2.64 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
$con = mysqli_connect("localhost","root","","store") or die(mysqli_error($con));
if(!isset($_SESSION))
session_start ();
if(!isset($_SESSION['email']))
header('location:index.php');
?>
<!DOCTYPE html>
<html>
<head>
<title>LIFESTYLE STORE|SETTINGS</title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" 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>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<?php
include 'includes/header.php';
?>
<div class="container">
<div class="row">
<div class="col-xs-6">
<h3>CHANGE PASSWORD</h3>
<form method="post" action="settings_script.php">
<div class="form-group">
<input type="password" class="form-control" name="old" placeholder="Old password"><?php
if(isset($msg))
{echo $msg;}
?>
</div>
<div class="form-group">
<input type="password" class="form-control" name="new" placeholder="New password">
</div>
<div class="form-group">
<input type="password" class="form-control" name="retype" placeholder="Re-Type new password"><br>
<?php
if(isset($msg))
{
echo $msg;
}
?>
</div>
<a href="#">
<button type="submit" class="btn btn-primary">Save Changes</button></a>
</form>
</div>
</div>
</div>
<footer id="footer1">
<div class="container">
<center>
Copyright © Lifestyle Store. All Rights
Reserved | Contact Us: +91 90000 00000
</center>
</div>
</footer>
</body>
</html>