<?php
session_start();
require_once 'backend/class.admin.php';
include_once ('backend/session.php');



$reg_user = new USER();

if (isset($_POST['create'])) {


    $fname = trim($_POST['fname']);
    $fname = strip_tags($fname);
    $fname = htmlspecialchars($fname);

    $mname = trim($_POST['mname']);
    $mname = strip_tags($mname);
    $mname = htmlspecialchars($mname);

    $lname = trim($_POST['lname']);
    $lname = strip_tags($lname);
    $lname = htmlspecialchars($lname);

    $uname = trim($_POST['uname']);
    $uname = strip_tags($uname);
    $uname = htmlspecialchars($uname);

    $upass = $_POST['upass']; 

    $phone = trim($_POST['phone']);
    $phone = strip_tags($phone);
    $phone = htmlspecialchars($phone);

    $email = trim($_POST['email']);
    $email = strip_tags($email);
    $email = htmlspecialchars($email);

    $type = trim($_POST['type']);
    $type = strip_tags($type);
    $type = htmlspecialchars($type);

    $reg_date = trim($_POST['reg_date']);

    $work = trim($_POST['work']);
    $work = strip_tags($work);
    $work = htmlspecialchars($work);

    $acc_no = trim($_POST['acc_no']);
    $acc_no = strip_tags($acc_no);
    $acc_no = htmlspecialchars($acc_no);

    $addr = trim($_POST['addr']);
    $addr = strip_tags($addr);
    $addr = htmlspecialchars($addr);

    $sex = trim($_POST['sex']);
    $sex = strip_tags($sex);
    $sex = htmlspecialchars($sex);

    $dob = trim($_POST['dob']);
    $dob = strip_tags($dob);
    $dob = htmlspecialchars($dob);

    $marry = trim($_POST['marry']);
    $marry = strip_tags($marry);
    $marry = htmlspecialchars($marry);

    $t_bal = trim($_POST['t_bal']);
    $t_bal = strip_tags($t_bal);
    $t_bal = htmlspecialchars($t_bal);

    $a_bal = trim($_POST['a_bal']);
    $a_bal = strip_tags($a_bal);
    $a_bal = htmlspecialchars($a_bal);

    $currency = trim($_POST['currency']);
    $currency = strip_tags($currency);
    $currency = htmlspecialchars($currency);

    $cot = trim($_POST['cot']);
    $cot = strip_tags($cot);
    $cot = htmlspecialchars($cot);

    $tax = trim($_POST['tax']);
    $tax = strip_tags($tax);
    $tax = htmlspecialchars($tax);

    $imf = trim($_POST['imf']);
    $imf = strip_tags($imf);
    $imf = htmlspecialchars($imf);
    
    $pin_auth = trim($_POST['pin_auth']);
    $pin_auth = strip_tags($pin_auth);
    $pin_auth = htmlspecialchars($pin_auth);

    $pin = trim($_POST['pin']);
    $pin = strip_tags($pin);
    $pin = htmlspecialchars($pin);
    
    $verify = trim($_POST['verify']);
    $verify = strip_tags($verify);
    $verify = htmlspecialchars($verify);
    
    $verify = trim($_POST['verify']);
    $verify = strip_tags($verify);
    $verify = htmlspecialchars($verify);
    
    $status = trim($_POST['status']);
    $status = strip_tags($status);
    $status = htmlspecialchars($status);



    $stmt = $reg_user->runQuery("SELECT * FROM account WHERE email=:email");
    $stmt1 = $reg_user->runQuery("SELECT * FROM account WHERE uname=:uname");
    $stmt->execute(array(":email" => $email));
    $stmt1->execute(array(":uname" => $uname));
    $row = $stmt->fetch(PDO::FETCH_ASSOC);
    $row1 = $stmt1->fetch(PDO::FETCH_ASSOC);


    if ($stmt->rowCount() > 0 || $stmt1->rowCount() > 0) {
        $msg = "
		        <div class='alert alert-danger alert-dismissible text-white' role='alert'>
                <span class='text-sm'>Email or Username Already Exist!!!</span>
                <button type='button' class='btn-close text-lg py-3 opacity-10' data-bs-dismiss='alert' aria-label='Close'>
                  <span aria-hidden='true'>&times;</span>
                </button>
              </div>
			  ";
    } else {
        if ($reg_user->createsign($fname, $mname, $lname, $uname, $upass, $phone, $email, $type, $reg_date, $work, $acc_no, $addr, $sex, $dob, $marry, $t_bal, $a_bal, $currency, $cot, $tax, $imf, $pin_auth, $pin, $verify, $status)) {
            $id = $reg_user->lasdID();



$stmt = $reg_user->runQuery("SELECT * FROM bank_settings WHERE id = '1'");
$stmt->execute();
$row = $stmt->fetch(PDO::FETCH_ASSOC); 
$bank_site_name  = $row["bank_site_name"];
$bank_site_address  = $row["bank_site_address"];
$bank_site_domain  = $row["bank_site_domain"];


            $messag = "	
			
	 <link href='https://fonts.googleapis.com/css?family=Kreon:400,700|Playfair+Display:400,400i,700,700i|Raleway:400,400i,700,700i|Roboto:400,400i,700,700i' rel='stylesheet' />
         
 

</div>   	 
    <!-- INTRODUCTION -->
<table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'>
    <tr>
        <td bgcolor='#fbfdfd'>
            <table width='620' border='0' cellspacing='0' cellpadding='0' align='center' class='scale'>
                <tr>
                    <td bgcolor='#FFFFFF'>
                 
                        <table width='540' border='0' cellspacing='0' cellpadding='0' align='center' class='agile1 scale'>
                            
                           <tr ><td colspan='2' class='wls-5h' style='color:white; background-color:white; text-align:center; border-radius:0px;'><h1><strong><img src='$bank_site_domain/assets/img/logo.png' alt='' data-default='placeholder' data-max-width='120' width='200' height='70' ></strong></h1></td></tr> 
                            <tr ><td colspan='2' height='12' style='font-size: 1px;'>&nbsp;</td></tr>
                            <tr>
                                <td class='agile-main' align='center' colspan='2' style='font-family:Bell Gothic Std; color: green; font-size: 22px;' class='scale-center-both'>
								
								<strong style='color:#2e7ca2'><u>ACCOUNT NOTIFICATION</u></strong></td>
                            </tr>
                            <tr><td height='12' style='font-size: 1px;'>&nbsp;</td></tr>
							
							   <tr>
                                <td class='w3l-p2' colspan='2' style='font-family: Candara, sans-serif; color:red; font-size: 20px; line-height: 18px;' class='scale-center-both'>
                                   Dear $fname $lname,
                                </td>
                            </tr>
							<tr><td height='12' style='font-size: 1px;'>&nbsp;</td></tr>
							
                           <tr>
                                <td class='w3l-p2' colspan='2' style='font-family: Candara, sans-serif; color:black; font-size: 18px; line-height: 28px;' class='scale-center-both'>
                            Congratulations,Your Account have been created Successfully, Please, note that your Internet Banking is automatically activated and you will need a 
									  combination of your account number and password to access your online banking 
                                </td>
                            </tr>
                            <tr><td height='12' colspan='2' style='font-size: 1px;'><hr></td></tr>
                             <tr><td height='12' align='left' style='font-size: 14px; line-height: 28px; font-weight:700; color:black;'>ACCOUNT NUMBER:</td> <td style='font-size: 16px; font-weight:700; color:#2e7ca2;'> $acc_no</td></tr>
                          <tr><td height='12' align='left' style='font-size: 14px; line-height: 28px; font-weight:700; color:black;'>PASSWORD:</td> <td style='font-size: 16px; font-weight:700; color:#2e7ca2;'> *************</td></tr>
                        <tr><td height='12'align='left' style='font-size: 14px; line-height: 28px; font-weight:700;color:black;'>OPENING BALANCE: </td>           <td style='font-size: 16px; font-weight:700; color:#2e7ca2;'>0.00</td></tr> 
                        <tr><td height='12' align='left' style='font-size: 14px; line-height: 28px; font-weight:700; color:black;'>STATUS</td>  <td style='font-size: 16px; font-weight:700; color:green;'>ACTIVE</td></tr>
                                      
             
             
                            <tr><td height='12' colspan='2' style='font-size: 1px;'><hr></td></tr>
                               <tr>
                                <td class='w3l-p2' colspan='2' style='font-family: Candara, sans-serif; color:black; font-size: 18px; line-height: 28px;' class='scale-center-both'>
                        Please Note that you will be required to login with account number and your registered 
                        password to enable you verify 2factor authentication.
                                </td>
                            </tr>
                                      
                 
                             <tr><td class='wls-5h' height='60' align='left'  colspan='2'  style='font-size: 18px; color:red;'> Warm Regards,</td><td>&nbsp;</td></tr> 
	                        
	                         <tr><td class='wls-5h' height='60'  align='left' colspan='2' style='font-size: 20px; color:#2e7ca2;'><strong>$bank_site_name  </strong></td></tr>
    	             
    	             
								<tr>
                                <td class='w3l-p2' colspan='2' style='font-family: Candara, sans-serif; color:red; font-size: 14px; line-height: 18px; text-align:center;' class='scale-center-both'>
                                   An email really coming from us will address you by your registered first and last name or your business name. It will not ask you for sensitive information like your password, bank account or credit card details.
                                </td>
                            </tr>
    	             
                        </table>    
            
                    </td>
                </tr>
            </table>
            
        </td>
    </tr>
</table>				
								
								


";

 

            $subject = "Hello $fname - Your Application have been recieved!"; 
            $send_otp_mobile = preg_replace('/[^0-9]/', '', $_POST['phone']);
            $reg_user->send_mail($email, $messag, $subject);
            //$reg_user->otp($send_otp_mobile, $subject);


 

             header('Location: enroll_success.php');

            
        } else {
            echo "Sorry , Query could no execute...";
        }
    }
}
?>
<?php
session_start();


 
if (isset($_POST['lname'])) { 
    $_SESSION['lname'] = $_POST['lname'];
}

 if (isset($_POST['fname'])) { 
    $_SESSION['fname'] = $_POST['fname'];
}
if (isset($_POST['uname'])) { 
    $_SESSION['uname'] = $_POST['uname'];
}
 if (isset($_POST['email'])) { 
    $_SESSION['email'] = $_POST['email'];
}

if (isset($_POST['phone'])) { 
    $_SESSION['phone'] = $_POST['phone'];
}

if (isset($_POST['sex'])) { 
    $_SESSION['sex'] = $_POST['sex'];
}
?>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png">
  <link rel="icon" type="image/png" href="assets/img/favicon.png">
	  <meta name="description" content="Manage your banking and business in one place. Open a business bank account in 5 minutes, built to
	  help you succeed. Entrepreneurs ðŸ’œ <?php echo $site_title; ?>">
	  <meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
	  <link rel="canonical" href=""><title>Bank Enrollment | Business banking for entrepreneurs</title>
  <!--     Fonts and icons     -->
  <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900|Roboto+Slab:400,700" />
  <!-- Nucleo Icons -->
  <link href="assets/css/nucleo-icons.css" rel="stylesheet" />
  <link href="assets/css/nucleo-svg.css" rel="stylesheet" />
  <!-- Font Awesome Icons -->
  <script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>
  <!-- Material Icons -->
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet">
  <!-- CSS Files -->
  <link id="pagestyle" href="assets/css/material-dashboard.css?v=3.0.0" rel="stylesheet" />



<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript">
$(window).load(function () {
    $("#loader").fadeOut(1000);
});
</script>

<style>
 #loader
{
    position: fixed;
    z-index: 9999999;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: url('assets/loader.gif') 50% 50% no-repeat #f9f9f9;
}
</style>

</head>

<body class="">
  <div id="loader"></div>
  <main class="main-content  mt-0">
    <section>
      <div class="page-header min-vh-100">
        <div class="container">
          <div class="row">
            <div class="col-6 d-lg-flex d-none h-100 my-auto pe-0 position-absolute top-0 start-0 text-center justify-content-center flex-column">
              <div class="position-relative bg-gradient-primary h-100 m-3 px-7 border-radius-lg d-flex flex-column justify-content-center" 
			  style="background-image: url('assets/img/bg4.jpg'); background-size: cover;">
              </div>
            </div>
            <div class="col-xl-4 col-lg-5 col-md-7 d-flex flex-column ms-auto me-auto ms-lg-auto me-lg-5">
			
				<center>	<a href="  ">
        <img src="assets/img/logo.png"   height="60px" alt="main_logo"> 
      </a></center>
				<hr>
				
              <div class="card card-plain">
                <div class="card-header">
                  <h4 class="font-weight-bolder">Enrollment Section Two</h4> 
                </div>
                <div class="card-body">
                    
                 	<?php if (isset($msg1)) echo $msg1; ?>
                      <?php if (isset($msg)) echo $msg; ?>
                       
                                 <form  action="" method="POST" role="form" enctype="multipart/form-data">
                                     
                                 
                                      
                      <input type="hidden" class="form-control" value="<?php echo $_SESSION['fname']; ?>" name="fname"  > 
                      <input type="hidden" class="form-control" name="lname" value="<?php echo $_SESSION['lname']; ?>"  > 
                      <input type="hidden" class="form-control" name="email" value="<?php echo $_SESSION['email']; ?>"> 
                      <input type="hidden" class="form-control" name="uname" value="<?php echo $_SESSION['uname']; ?>"   > 
                       <input type="hidden" class="form-control"  name="sex" required="" value="<?php echo $_SESSION['sex']; ?>">   
                      <input type="hidden" class="form-control" name="phone" value="<?php echo $_SESSION['phone']; ?>"  >  
                   
                   
                   
                   <div class="input-group input-group-outline mb-3">
                      <label class="form-label">Date of Birth</label>
                      <input type="date" class="form-control" name="dob" required >
                    </div>
                   
                   
                   
                    <div class="input-group input-group-outline mb-3">
                      <select class="form-control"  name="marry" required="">
                                                <optio>Marital Status</optio>
                                                 <option value="Single">Single</option>
                                                    <option value="Married">Married</option>
                                                    <option value="Widowed">Widowed</option>
                                                    <option value="Divorced">Divorced</option>
                                                </select>
                    </div>
                    
                   
                        <div class="input-group input-group-outline mb-3">
                      <label class="form-label">Occupation</label>
                      <input type="text" class="form-control" name="work" required >
                    </div>
                   
                   
                        <div class="input-group input-group-outline mb-3">
                      <label class="form-label">Official Address</label>
                      <input type="text" class="form-control" name="addr" required >
                    </div>
                   
                   
                   
                    <div class="input-group input-group-outline mb-3">
                      	<select class="form-control" id="" name="type" required="">
                                               <option>Account Type</option>
                                                <option value="Savings">Savings</option>
                                                <option value="Current">Current</option>
                                                 <option value="Checking">Checking</option>
                                                <option value="Fixed Deposit">Fixed Deposit</option>
                                                 <option value="NON-Resident">NON-Resident</option>
                                                <option value="Online Banking">Online Banking</option>
                                                 <option value="Joint Account">Joint Account</option>
                                                <option value="DOMICILIARY ACCOUNT">DOMICILIARY ACCOUNT</option>
                                          
                                             </select>
                    </div>
                   
                   
                   
                    <div class="input-group input-group-outline mb-3">
                     <select class="custom-select form-control"  name="currency"  required>
                         <option>Select Currency</option>
                                            <option value="$">America (United States) Dollars – USD</option>
                                                <option value="AFN">Afghanistan Afghanis – AFN</option>
                                                <option value="ALL">Albania Leke – ALL</option>
                                                <option value="DZD">Algeria Dinars – DZD</option>
                                                <option value="ARS">Argentina Pesos – ARS</option>
                                                <option value="AUD">Australia Dollars – AUD</option>
                                                <option value="ATS">Austria Schillings – ATS</OPTION>
                                                 
                                                <option value="BSD">Bahamas Dollars – BSD</option>
                                                <option value="BHD">Bahrain Dinars – BHD</option>
                                                <option value="BDT">Bangladesh Taka – BDT</option>
                                                <option value="BBD">Barbados Dollars – BBD</option>
                                                <option value="BEF">Belgium Francs – BEF</OPTION>
                                                <option value="BMD">Bermuda Dollars – BMD</option>
                                                 
                                                <option value="BRL">Brazil Reais – BRL</option>
                                                <option value="BGN">Bulgaria Leva – BGN</option>
                                                <option value="CAD">Canada Dollars – CAD</option>
                                                <option value="XOF">CFA BCEAO Francs – XOF</option>
                                                <option value="XAF">CFA BEAC Francs – XAF</option>
                                                <option value="CLP">Chile Pesos – CLP</option>
                                                 
                                                <option value="CNY">China Yuan Renminbi – CNY</option>
                                                <option value="CNY">RMB (China Yuan Renminbi) – CNY</option>
                                                <option value="COP">Colombia Pesos – COP</option>
                                                <option value="XPF">CFP Francs – XPF</option>
                                                <option value="CRC">Costa Rica Colones – CRC</option>
                                                <option value="HRK">Croatia Kuna – HRK</option>
                                                 
                                                <option value="CYP">Cyprus Pounds – CYP</option>
                                                <option value="CZK">Czech Republic Koruny – CZK</option>
                                                <option value="DKK">Denmark Kroner – DKK</option>
                                                <option value="DEM">Deutsche (Germany) Marks – DEM</OPTION>
                                                <option value="DOP">Dominican Republic Pesos – DOP</option>
                                                <option value="NLG">Dutch (Netherlands) Guilders – NLG</OPTION>
                                                 
                                                <option value="XCD">Eastern Caribbean Dollars – XCD</option>
                                                <option value="EGP">Egypt Pounds – EGP</option>
                                                <option value="EEK">Estonia Krooni – EEK</option>
                                                <option value="EUR">Euro – EUR</option>
                                                <option value="FJD">Fiji Dollars – FJD</option>
                                                <option value="FIM">Finland Markkaa – FIM</OPTION>
                                                 
                                                <option value="FRF*">France Francs – FRF*</OPTION>
                                                <option value="DEM">Germany Deutsche Marks – DEM</OPTION>
                                                <option value="XAU">Gold Ounces – XAU</option>
                                                <option value="GRD">Greece Drachmae – GRD</OPTION>
                                                <option value="GTQ">Guatemalan Quetzal – GTQ</OPTION>
                                                <option value="NLG">Holland (Netherlands) Guilders – NLG</OPTION>
                                                <option value="HKD">Hong Kong Dollars – HKD</option>
                                                 
                                                <option value="HUF">Hungary Forint – HUF</option>
                                                <option value="ISK">Iceland Kronur – ISK</option>
                                                <option value="XDR">IMF Special Drawing Right – XDR</option>
                                                <option value="INR">India Rupees – INR</option>
                                                <option value="IDR">Indonesia Rupiahs – IDR</option>
                                                <option value="IRR">Iran Rials – IRR</option>
                                                 
                                                <option value="IQD">Iraq Dinars – IQD</option>
                                                <option value="IEP*">Ireland Pounds – IEP*</OPTION>
                                                <option value="ILS">Israel New Shekels – ILS</option>
                                                <option value="ITL*">Italy Lire – ITL*</OPTION>
                                                <option value="JMD">Jamaica Dollars – JMD</option>
                                                <option value="JPY">Japan Yen – JPY</option>
                                                 
                                                <option value="JOD">Jordan Dinars – JOD</option>
                                                <option value="KES">Kenya Shillings – KES</option>
                                                <option value="KRW">Korea (South) Won – KRW</option>
                                                <option value="KWD">Kuwait Dinars – KWD</option>
                                                <option value="LBP">Lebanon Pounds – LBP</option>
                                                <option value="LUF">Luxembourg Francs – LUF</OPTION>
                                                 
                                                <option value="MYR">Malaysia Ringgits – MYR</option>
                                                <option value="MTL">Malta Liri – MTL</option>
                                                <option value="MUR">Mauritius Rupees – MUR</option>
                                                <option value="MXN">Mexico Pesos – MXN</option>
                                                <option value="MAD">Morocco Dirhams – MAD</option>
                                                <option value="NLG">Netherlands Guilders – NLG</OPTION>
                                                 
                                                <option value="NZD">New Zealand Dollars – NZD</option>
                                                <option value="NOK">Norway Kroner – NOK</option>
                                                <option value="OMR">Oman Rials – OMR</option>
                                                <option value="PKR">Pakistan Rupees – PKR</option>
                                                <option value="XPD">Palladium Ounces – XPD</option>
                                                <option value="PEN">Peru Nuevos Soles – PEN</option>
                                                 
                                                <option value="PHP">Philippines Pesos – PHP</option>
                                                <option value="XPT">Platinum Ounces – XPT</option>
                                                <option value="PLN">Poland Zlotych – PLN</option>
                                                <option value="PTE">Portugal Escudos – PTE</OPTION>
                                                <option value="QAR">Qatar Riyals – QAR</option>
                                                <option value="RON">Romania New Lei – RON</option>
                                                 
                                                <option value="ROL">Romania Lei – ROL</option>
                                                <option value="RUB">Russia Rubles – RUB</option>
                                                <option value="SAR">Saudi Arabia Riyals – SAR</option>
                                                <option value="XAG">Silver Ounces – XAG</option>
                                                <option value="SGD">Singapore Dollars – SGD</option>
                                                <option value="SKK">Slovakia Koruny – SKK</option>
                                                 
                                                <option value="SIT">Slovenia Tolars – SIT</option>
                                                <option value="ZAR">South Africa Rand – ZAR</option>
                                                <option value="KRW">South Korea Won – KRW</option>
                                                <option value="ESP">Spain Pesetas – ESP</OPTION> 
                                                 
                                                <option value="SDD">Sudan Dinars – SDD</option>
                                                <option value="SEK">Sweden Kronor – SEK</option>
                                                <option value="CHF">Switzerland Francs – CHF</option>
                                                <option value="TWD">Taiwan New Dollars – TWD</option>
                                                <option value="THB">Thailand Baht – THB</option>
                                                <option value="TTD">Trinidad and Tobago Dollars – TTD</option>
                                                 
                                                <option value="TND">Tunisia Dinars – TND</option>
                                                <option value="TRY">Turkey New Lira – TRY</option>
                                                <option value="AED">United Arab Emirates Dirhams – AED</option>
                                                <option value="GBP">United Kingdom Pounds – GBP</option>
                                                <option value="$">United States Dollars – USD</option>
                                                <option value="VEB">Venezuela Bolivares – VEB</option>
                                                 
                                                <option value="VND">Vietnam Dong – VND</option>
                                                <option value="ZMK">Zambia Kwacha – ZMK</option>
                                                
                                                                            </select>
                    </div>
                    
                    
                    
                    <div class="input-group input-group-outline mb-3">
                      <label class="form-label">Password</label>
                      <input type="password" name="upass" class="form-control" required>
                    </div>
                    
                    <input type="hidden" class="form-control" name="mname" value="-" > 
                	  <input class="form-control" name="pin_auth" type="hidden" value="<?php echo(rand()); ?>" required >
                                 <input type="hidden"  value="<?php echo " " . date("d/m/Y") ; ?>" name="reg_date" >  
                             <input type="hidden" name="acc_no"  id="acc_no" 
                             
                             value="<?php 
														//Variables
															 
															$DesdeNumero2 = 1;
															$HastaNumero2 = 1;
															$DesdeNumero3 = 10;
															$HastaNumero3 = 10;
															$DesdeNumero = 1;
															$HastaNumero = 10000000000;										
															$letraAleatoria = ($DesdeLetra);
															$letraAleatoria1 = ($DesdeLetra1);
															$letraAleatoria2 = ($DesdeLetra2);
															$numeroAleatorio2 = chr(rand(ord($DesdeNumero2), ord($HastaNumero2)));
															$numeroAleatorio3 = ($DesdeNumero3);
															$numeroAleatorio = rand($DesdeNumero, $HastaNumero);
														
														echo "".$letraAleatoria."".$letraAleatoria1."".$letraAleatoria2."".$numeroAleatorio."";?>" />
                             
                          
                            <input type="text" name="cot" class="input100" value="<?php echo(rand()); ?>" hidden>
                            <input type="text" name="tax" class="input100" value="<?php echo(rand()); ?>" hidden>
                            <input type="text" name="imf" class="input100" value="<?php echo(rand()); ?>" hidden> 
                            <input type="text" name="pin" class="input100" value="<?php echo(rand()); ?>" hidden>
                            <input type="text" name="verify" class="input100" value="Y" hidden>
                             <input type="text" name="status" class="input100" value="ACTIVE" hidden>
                    
                    
                    
                    
                    
                    
                    
                    
                    <div class="form-check form-check-info text-start ps-0">
                      <input class="form-check-input" type="checkbox" value="" id="flexCheckDefault" checked required>
                      <label class="form-check-label" for="flexCheckDefault">
                        I agree the <a href="javascript:;" class="text-dark font-weight-bolder">Terms and Conditions</a>
                      </label>
                    </div>
                    <div class="text-center">
                      <button type="submit" name="create" class="btn btn-lg  btn-lg w-100 mt-4 mb-0"  style="background-color:<?php echo $heading; ?>; color:<?php echo $text; ?>;">SEND</button>
                    </div>
                  </form>
                   <center><a href="auth_enroll_1.php" class="text-primary text-gradient font-weight-bold">GO BACK</a></center>
                </div>
               
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
  </main>
  <!--   Core JS Files   -->
  <script src="assets/js/core/popper.min.js"></script>
  <script src="assets/js/core/bootstrap.min.js"></script>
  <script src="assets/js/plugins/perfect-scrollbar.min.js"></script>
  <script src="assets/js/plugins/smooth-scrollbar.min.js"></script>
  <script>
    var win = navigator.platform.indexOf('Win') > -1;
    if (win && document.querySelector('#sidenav-scrollbar')) {
      var options = {
        damping: '0.5'
      }
      Scrollbar.init(document.querySelector('#sidenav-scrollbar'), options);
    }
  </script>
  <!-- Github buttons -->
 
  <!-- Control Center for Material Dashboard: parallax effects, scripts for the example pages etc -->
  <script src="assets/js/material-dashboard.min.js?v=3.0.0"></script>
</body>

</html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 