 <?php
require_once './library/config.php';
require_once './library/functions.php';

$errorMessage = '&nbsp;';

if (isset($_POST['firstname']) && isset($_POST['lastname'])) {
	$result = doRegister();
	if ($result != '') {
		$errorMessage = $result;
	}
}

?>


<style>
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 90%;
  border: 1px solid #ddd; 
}

th, td {
  text-align: left;
  padding: 16px;
}

tr:nth-child(even) {
  background-color: #f2f2f2
}
</style>

 
 
 
 
 
 
 
 
 
 
 
 

    <!DOCTYPE html>

    <html lang="en">

    <head>

    <meta charset="UTF-8">

    <title>Enrollment Success Page</title>

    <link rel="stylesheet" href="css/bootstrap.min.css">

    <link rel="stylesheet" href="css/bootstrap-theme.min.css">

    <script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>

    <script src="js/bootstrap.min.js"></script>

    <script type="text/javascript">

        $(document).ready(function(){

            $("#myModal").modal('show');

        });

    </script>

    </head>

    <body>

    <div id="myModal" class="modal fade">
        
 

        <div class="modal-dialog">

            <div class="modal-content">

                

                <div class="modal-body">
<p style="text-align:center; color:green;"><img src="include/assets/logo-ok-png-2.png" width="100" ></a></p>
                    <h2 style="text-align:center; color:green;"><strong>ENROLLMENT SUCCESSFUL</strong></h2>
                    
                    <h1 style="text-align:center; color:orange;"><strong>Dear Customer,</strong></h1>
                    
                    <p style="text-align:center;">You have successfully enrolled with <?php echo $site_title; ?> Online Banking Services
                    </p>

                 
                 <p style="text-align:center;">A details of the registration has been sent to your email address including the <strong style="color:orange;">
							  <?php echo $site_title; ?> 10 Digit Account. </strong>
                    		  </p>  
 
 
                     <h4 style=" color:green; text-align:center;"><?php echo $site_title; ?>   </h4>
 
                    
                    
                    <form> 
                        <div class="form-group" style="text-align:center;">

                             <button type="submit"  href="login.php" class="btn btn-primary"><a  href="login.php"> Click Here Login</a></button>

                        </div> 
                    </form>

                </div>

            </div>

        </div>

    </div>

    </body>

    </html>

 
