<?php 
require('../db.php');
include('../inc/logo.php');

include('../inc/recaptcha.php');
?>
<!doctype html>
<html lang="en">
 
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- Required meta tags -->
    
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    
    <title>Password Reset - Nigeria No 1 Mobile Marketing Suite</title>
    
    <script src="https://www.google.com/recaptcha/api.js" async defer></script>
    
    <meta property="og:image" content="https://vtuafrica.com.ng/portal/uploads/vpc.jpg"/>
      
<meta property="og:title" content="VTU Portal Creator"/>  
<meta property="og:description" content="Instantly Access The First And Only
VTU Portal Creator Software That Allows
You To SetUp Automated VTU Portal
In Less Than 60 Seconds!"/> 

<meta property="og:image:width" content="600" />
<meta property="og:image:height" content="600" />

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="../assets/vendor/bootstrap/css/bootstrap.min.css">
    <link href="../assets/vendor/fonts/circular-std/style.css" rel="stylesheet">
    <link rel="stylesheet" href="../assets/libs/css/style.css">
    <link rel="stylesheet" href="../assets/vendor/fonts/fontawesome/css/fontawesome-all.css">
    <style>
    html,
    body {
        height: 100%;
    }

    body {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    </style>
</head>
<!-- ============================================================== -->
<!-- signup form  -->
<!-- ============================================================== -->

<body>
    <!-- ============================================================== -->
    <!-- signup form  -->
    <!-- ============================================================== -->
    <form  method="post" action="" class="splash-container">
        <div class="card">
            <div class="card-header">
        <h3 class="mb-1" align="center"><a href="../index.php"><?php logo($sitelogo); ?></a></h3>
        <hr>
        <?php include('../inc/forgotpass.php');?>
                <h3 class="mb-1" align="center">Password Reset Form</h3>
Welcome Back! <?php echo $fname; ?> <?php echo $lname; ?> <br>
 Email: <?php echo $email; ?> <br>
 Phone: <?php echo $phone; ?> 
                <p align="center"><font color="red"><?php echo $note; ?></font></p>

            </div>
            

            <div class="card-body">
                
                

                
               
             
                    <input class="form-control form-control-lg" type="hidden" name="otp" value="<?php echo $emailcode;?>" required placeholder="Email Code">
            

                <div class="form-group">
                    <input class="form-control form-control-lg" name="pass" id="pass" type="password" required placeholder="New Password">
                </div>

                   <div class="form-group">
                    <input class="form-control form-control-lg" name="pass1" id="pass" type="password" required placeholder="Comfirm New Password">
                </div>

                <!--<div class="form-group">Enter OTP from Phone:
                    <input class="form-control form-control-lg" name="phone" required placeholder="Enter OTP">
                </div>-->

             
         <!-- Google reCAPTCHA box -->
    <div class="g-recaptcha" data-sitekey="<?php echo $capkey; ?>"></div>          
   
                
                
                <div class="form-group pt-2">
                    <button class="btn btn-block btn-primary" name="sub" type="submit">Change Password</button>
                </div>
               
                
            </div>
            <div class="card-footer bg-white">
          
<a href="../index.php" class="btn btn-primary btn-lg btn-block">Changed? Login Here!</a>
            </div>
        </div>
    </form>


     </div>
        </div>
    </div>

  
  </div>



</body>

 
</html>