OverLord Shell
<?php session_start();
if(isset($_SESSION['company_id']) && isset($_SESSION['loggedin_user'])){header("location:index.php");}
require_once("db/conn.php");
if(!empty($_SESSION['loggedin_user']) && $_SESSION['loggedin_user'] == 'company'){
header("location:index.php");
}
include_once("header.inc.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Forgot Password? - Anand Tirth</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,800italic,400,700,800">
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Oswald:400,700,300">
<link type="text/css" rel="stylesheet" href="css/font-awesome.min.css">
<link type="text/css" rel="stylesheet" href="css/animate.css">
<link type="text/css" rel="stylesheet" href="css/style-responsive.css">
<script src="js/jquery-1.11.3.min.js"></script>
</head>
<body class="" >
<div class="container">
<div class="row" >
<div class="col-md-4 col-md-offset-4">
<div class="login-panel panel">
<div class="panel-body">
<img src="images/logo3.png" style="width: 92%;">
</div>
</div>
</div>
</div>
<div class="row" >
<div class="col-md-4 col-md-offset-4">
<div class="panel">
<div class="panel-heading">
<h3 class="panel-title">Forgot Password?</h3>
</div>
<div class="panel-body"><?php if(!empty($_GET['msg'])){?>
<div class="row">
<div class="col-md-12 ">
<?php if($_GET['msg']=='invalid_email'){?><div class="note note-danger animated shake" style="background-color: antiquewhite;">Invalid Email</div><?php }?>
<?php if($_GET['msg']=='user_account_disabled'){?><div class="note note-danger animated shake" style="background-color: antiquewhite;">User Account Disabled. Contact <strong>Admin</strong>.</div><?php }?>
<?php if($_GET['msg']=='reset_failed'){?><div class="note note-danger animated shake" style="background-color: antiquewhite;">An unknown error occured. Please try again.</div><?php }?>
<?php if($_GET['msg']=='reset_pass'){?><div class="note note-danger animated shake" style="background-color: #afe4b6;">Password reset Successfully.</div><?php }?>
</div>
</div>
<?php
}
?>
<form action="forgotpass_save.php" method="post" role="form">
<fieldset> <div class="col-md-12">
<div class="form-group">
<input type="text" class="form-control" name="email" placeholder="Enter your Email or Membership No.*" required autofocus>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<select class="form-control" name="role" id="role" required>
<option value="">--Select*--</option>
<option value="bs">Business</option>
<option value="jb">Job Seeker</option></select>
</div></div>
<button type="submit" class="btn btn-primary">Reset Password</button>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<?php $connection->close();include("footer.inc.php")?>
xRyukZ - Copyright 2k19