forked from imlakshay08/waste-management-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
password-changed.php
38 lines (37 loc) · 1.08 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
<?php require_once "controllerUserData.php"; ?>
<?php
if($_SESSION['info'] == false){
header('Location: login-user.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login Form</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
</head>
<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="login-user.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>