File: /home/u590867752/domains/himanshuartinstitute.com/public_html/wall/user/forgot-password.php
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Forgot Password | HAI WALL</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="https://www.himanshuartinstitute.com/wall/bcknds/hai-wall.png" type="image/x-icon" >
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="../bcknds/css/wall-register.css" rel="stylesheet">
</head>
<body class="loginpge">
<div class="register-container">
<div class="register-card">
<a href="https://himanshuartinstitute.com/wall/index.php" class="reglogo"><img src="../bcknds/himanshu-art-institute.jpg" alt="HAI Wall, Himanshu Art Institute" title="HAI WALL"></a>
<h2>Continue Your Journey</h2>
<?php if(isset($_SESSION['wall_user'])){ ?>
<p class="uardylgn">You are Already Logged in as <?=$_SESSION['wall_user']?>.</p>
<?php } ?>
<?php
if(isset($_GET['error']) && $_GET['error']=="account_blocked"){
echo "<div class='bloklogin'>Your Account is Temporarily Blocked </div>";
}
?>
<form method="POST" action="/wall/bcknds/send-reset.php">
<div class="form-group">
<input type="email" name="email" required placeholder="Enter Your Email">
</div>
<div class="form-group">
<button type="submit" class="register-btn">Reset Password</button>
</div>
</form>
<br>
<a class="hvelgn" href="register.php"> Create Account </a> | <a class="hvelgn" href="login.php"> Go to Login </a> | <a class="hvelgn" href="/wall/index.php"> Home Page</a>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script>
const params = new URLSearchParams(window.location.search);
if(params.get("error")=="password"){
Swal.fire({
icon:'error',
title:'Wrong Password',
text:'Please enter correct password'
});
}
if(params.get("error")=="user"){
Swal.fire({
icon:'warning',
title:'User Not Found',
text:'Username does not exist'
});
}
if(params.get("error")=="already_logged_in"){
Swal.fire({
icon:'warning',
title:'Already Logged In',
text:'Please Logout First, then Login with Another Account'
});
}
</script>
</body>
</html>