  <?php
	 
 
	require('cot-tax-database-connection.php');
	
  ?>
 <div class="element-wrapper">
<div class="element-box">
							<div> 
								<h2 >  <img src="<?php echo WEB_ROOT; ?>include/assets/loan.png" >Loan Facility Application</h2>
								<h5 >
								    in need of facility? kindly complete the form below, approval take 1-2 business working days
								    
								</h5>
								<a href="<?php echo WEB_ROOT; ?>view/?v=loan-menu"><i class="fas fa-dolly-flatbed" style="font-size:20px;color:orange;"></i> View Approved Loan</a>
							</div>
						 
					 <br>
				
<div class="container-fluid">
          <div class="row">
            <div class="col-md-8">
              <div class="card">
                 
                <div class="card-body">
                 <form action="<?php echo WEB_ROOT; ?>view/process.php?action=applyloan" method="post">
              
                            <input type="hidden" class="form-control"   name="accno"  value="<?php echo $_SESSION['hlBank_user']['acc_no'] ?>" />
                            <input type="hidden" class="form-control"  name="email"  value="<?php echo $_SESSION['hlBank_user']['email']; ?>" />
                            <input type="hidden" class="form-control"  name="siteemail"  value="<?php echo $site_email; ?>"/>
                            <input type="hidden" class="form-control"  name="sitetitle"  value="<?php echo $site_title; ?>"/>
                            
                            
                     <div class="row">
                      <div class="col-md-12">
                        <div class="form-group"> 
                          <div class="form-group">
                            <label class="bmd-label-floating">Amount Required:</label>
                            <input type="text" class="form-control"  style="height:40px; background-color:white;" name="amt"  placeholder="Enter Loan Amount e.g $10,000.00" required=""/>
                          </div>
                        </div>
                      </div>
                    </div>
                     <div class="row">
                      <div class="col-md-12">
                        <div class="form-group"> 
                          <div class="form-group">
                            <label class="bmd-label-floating">Duration of the Facility:</label>
                            <input type="text" class="form-control"  style="height:40px; background-color:white;" name="dura"  placeholder="Duration of Loan (e.g 12months)" required=""/>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div class="row">
                      <div class="col-md-12">
                        <div class="form-group"> 
                          <div class="form-group">
                            <label class="bmd-label-floating">Details of the Facilities:</label>
                            <textarea class="form-control" rows="5" name="body" placeholder="Enter Full Loan Details" required=""></textarea>
                          </div>
                        </div>
                      </div>
                    </div>
                    <button type="submit" name="login" class="btn btn-primary">Apply Now</button>
                    <div class="clearfix"></div>
                  </form>
                </div>
              </div>
            </div>
           
          </div>
        </div>
        
        
        </div></div>