-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.php
59 lines (48 loc) · 1.65 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();
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<style type="text/css">
</style>
</head>
<body>
<?php
if(isset($_SESSION['id'])){
require 'header_logged_in.php';
?>
<div class="container" style="margin-top: 60px;">
<b>
<?php
echo "Hi ".$_SESSION['name']." please make your desire changes.Using a password consisting of Alphanumeric is Always Strong ";
?>
</b>
</div>
<div class=" row " >
<div class=" col-lg-offset-2 col-lg-5 col-md-offset-3 col-md-6 col-xs-offset-2 col-xs-8" style="margin-top: 50px; ">
<h2><strong><b> Change Password</b></strong> </h2>
<form method="post" action="sett.php">
<div class="form-group">
<input type="Password" class="form-control" name="old-pwd" placeholder="Old Password">
</div>
<div class="form-group">
<input type="Password" class="form-control" name="new-pwd" placeholder="New Password">
</div>
<div class="form-group">
<input type="Password" class="form-control" name="re-pwd" placeholder="Re-enter new Password">
</div>
<div>
<button class="btn btn-primary" type="submit" value="submit" name="button">Change</button>
</div>
</form>
</div>
</div>
<?php } ?>
</body>
</html>