-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadminreset.php
61 lines (59 loc) · 2.85 KB
/
adminreset.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
<?php
session_start();
if(!isset($_SESSION['username']) && !isset($_SESSION['password'])){
header("location:adminlogin.php");
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Admin Reset Password</title>
<?php
include_once "partialpage/favicon.php";
include_once "partialpage/headerfiles.php";
?>
<style>
#navbarSupportedContent ul li a:hover{
padding-bottom: 3px;
border-bottom: 2px solid yellow;
}
</style>
</head>
<body style="background-image: url('images/snap_icon.png');background-color:rgba(0,0,0,0.67);background-position: center center;background-repeat: no-repeat;background-size: cover">
<div style="background-image:linear-gradient(rgba(239, 10, 10, 0.5),rgba(24,23,23,0.5)), url('images/s1.jpg');height:50vh;background-repeat: no-repeat;background-position: center center;background-size: cover">
<?php
include_once "partialpage/adminnavbar.php";
?>
</div>
<div class="container-fluid">
<h1 class="mt-5 mb-5 text-warning text-center" id="h1" >Reset Password Form <i class="fas fa-key"></i></h1>
<div class="row text-center justify-content-center">
<div class="col-md-4 bg-light" id="forgot">
<h3 class="pt-3 pb-4">Change Password</h3>
<form action="adminaction.php" method="post">
<div class="mb-3">
<label for="exampleInputoldPassword1" class="form-label" style="font-size:20px">Old Password</label>
<input type="password" class="form-control" required placeholder="Old Password" name="oldpass" id="exampleInputoldPassword1">
</div>
<div class="mb-3">
<label for="exampleInputnewPassword1" class="form-label" style="font-size:20px">New Password</label>
<input type="password" class="form-control" required placeholder="New Password" name="newpass" id="exampleInputnewPassword1">
</div>
<div class="mb-3">
<label for="exampleInputconPassword1" class="form-label" style="font-size:20px">Confirm Password</label>
<input type="password" class="form-control" required placeholder="Confirm Password" name="confpass" id="exampleInputconPassword1">
</div>
<button type="submit" class="btn btn-danger mb-4" style="padding: 10px 20px;border-radius: 20px" name="action" value="forgot">Update</button>
</form>
</div>
</div>
</div>
<?php
include_once "partialpage/files.php";
?>
</body>
</html>