forked from dans77777/Intern-admin-collaboration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpassword-changed.php
85 lines (83 loc) · 2.12 KB
/
password-changed.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
81
82
83
84
85
<?php require_once "controllerUserData.php"; ?>
<?php
if($_SESSION['info'] == false){
header('Location: alogin.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Somehow I got an error, so I comment the title, just uncomment to show -->
<!-- <title>Login Form</title> -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="./style2.css">
</head>
<style>
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
html,body{
background: #6665ee;
font-family: 'Poppins', sans-serif;
}
.container{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.container .form{
background: #fff;
padding: 30px 35px;
border-radius: 5px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.container .form form .form-control{
height: 40px;
font-size: 15px;
}
.container .form form .button{
background: #6665ee;
color: #fff;
font-size: 17px;
font-weight: 500;
transition: all 0.3s ease;
}
.container .form form .button:hover{
background: #5757d1;
}
.container .form form .link{
padding: 5px 0;
}
.container .form form .link a{
color: #6665ee;
}
.container .login-form form p{
font-size: 14px;
}
.container .row .alert{
font-size: 14px;
}
</style>
<body>
<div class="container">
<div class="row">
<div class="col-md-4 offset-md-4 form login-form">
<?php
if(isset($_SESSION['info'])){
?>
<div class="alert alert-success text-center">
<?php echo $_SESSION['info']; ?>
</div>
<?php
}
?>
<form action="adminlog.php" method="POST">
<div class="form-group">
<input class="form-control button" type="submit" name="login-now" value="Login Now">
</div>
</form>
</div>
</div>
</div>
</body>
</html>