<!DOCTYPE html>
<html lang="en">
<head>
    <title>Forget Password - Golf Evolution</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <?php include 'member_layout/analyticscode.php' ?>       
    <link rel="icon" href="<?= base_url()."/public/"; ?>assets/member_images/favicon.png" sizes="192x192" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="<?= base_url()."/public/"; ?>assets/member_css/front-style.css">        
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> 
    <script src="<?= base_url()."/public"; ?>/assets/member_js/ajax.js"></script>  
    
</head>
<body class="forgetpassword">
<?php include 'member_layout/header.php' ?>
<section class="pt-5 pb-5">
    <div class="container">
        <div class="recovery-account">
            <h1>Account Recovery</h1>
            <form id="form" action="<?php
            if (session()->getTempdata('user') == "member") 
            {
                echo base_url()."forgot_password";
            } 
            else 
            {
                echo base_url()."user_forgot_password";
            }
             
            ?>" method="post">
               
            <div id="alert1"></div>
            <?php if(session()->getTempdata('error')):?>
               <div class="alert alert-danger" id="alert">
               <?= session()->getTempdata('error'); ?>
               </div>
            <?php endif;?>
                                
                <div class="row">
                    <div class="col-12 mb-3">
                        <label for="email">Email Address</label>
                        <input type="email" id="email" name="email" class="form-control" placeholder="Enter your email id">
                    </div>  
                </div> 
                <div class="form-group mb-0 text-center" id="re-sub">
                    <button id="submit" class="forget-submit">Get OTP</button> 
                </div>   
            </form>
        </div>    
    </div>    
</section>    
<?php include 'member_layout/footer.php' ?>
</body>
</html>