<?php
session_start();
include_once ('conn/session.php');
require_once 'conn/controller.php';
if (!isset($_SESSION['acc_no'])) {
    header("Location: auth_login.php");
    exit();
}


$reg_user = new USER();

$stmt = $reg_user->runQuery("SELECT * FROM account WHERE acc_no=:acc_no");
$stmt->execute(array(":acc_no" => $_SESSION['acc_no']));
$row = $stmt->fetch(PDO::FETCH_ASSOC);
 
$email = $row['email'];

$temp = $reg_user->runQuery("SELECT * FROM transfer WHERE email = '$email' ORDER BY id DESC LIMIT 3");
$temp->execute(array(":acc_no" => $_SESSION['acc_no']));
$rows = $temp->fetch(PDO::FETCH_ASSOC);


?>
 
 
  <?php include 'auth_header.php'; ?>		
 
 		
				
				
				
				
<br><br>
 
 
 <div class="container-fluid py-4">
 
  <div class="row">
        <div class="col-12">
          <div class="card my-4">
            <div class="card-header p-0 position-relative mt-n4 mx-3 z-index-2">
              <div class="bg-gradient-primary shadow-primary border-radius-lg pt-4 pb-3">
                <h4 class="text-white text-capitalize ps-3">Choose Fund Transfer</h4> 
              </div>
            </div>
            <div class="card-body px-0 pb-2"> 
                
                
                
                
                
                
                
                
                
                 <div class="row mt-4">
        <div class="col-lg-4 col-md-6 mt-4 mb-4">
          <div class="card z-index-2 ">
            <div class="card-header p-0 position-relative mt-n4 mx-3 z-index-2 bg-transparent">
              <div class="bg-gradient-success shadow-success border-radius-lg py-3 pe-1">
                <div class="chart">
                  <center><a href="same_bank.php"> <img src="icon/same-bank.png" height="80" width="80" ></center> 
                </div>
              </div>
            </div>
            <div class="card-body">
              <h6 class="mb-0 ">SAME BANK TRANSFER  <strong style="font-size:38px; color:green;">→</strong></h6>
              <p class="text-sm ">Account to Account Transfer</p>
              <hr class="dark horizontal">
              <div class="d-flex ">
                <i class="material-icons text-sm my-auto me-1">schedule</i>
                <p class="mb-0 text-sm"> maximum 24hrs delivery </p>
              </div></a>
            </div>
          </div>
        </div>
        <div class="col-lg-4 col-md-6 mt-4 mb-4">
          <div class="card z-index-2  ">
            <div class="card-header p-0 position-relative mt-n4 mx-3 z-index-2 bg-transparent">
              <div class="bg-gradient-primary shadow-primary border-radius-lg py-3 pe-1">
                <div class="chart">
                   <center><a href="local_bank.php"> <img src="icon/ibft.png" height="80" width="80" ></center> 
                </div>
              </div>
            </div>
            <div class="card-body">
              <h6 class="mb-0 "> LOCAL BANK TRANSFR  <strong style="font-size:38px; color:red;">→</strong></h6>
              <p class="text-sm "> (<span class="font-weight-bolder">Interbank Transfer within the country</span>)  </p>
              <hr class="dark horizontal">
              <div class="d-flex ">
                <i class="material-icons text-sm my-auto me-1">schedule</i>
                <p class="mb-0 text-sm">maximum 48hrs delivery </p>
              </div></a>
            </div>
          </div>
        </div>
        <div class="col-lg-4 mt-4 mb-3">
          <div class="card z-index-2 ">
            <div class="card-header p-0 position-relative mt-n4 mx-3 z-index-2 bg-transparent">
              <div class="bg-gradient-dark shadow-dark border-radius-lg py-3 pe-1">
                <div class="chart">
                   <center><a href="wire_bank.php"> <img src="icon/wire.png" height="80" width="80" ></center> 
                </div>
              </div>
            </div>
            <div class="card-body">
              <h6 class="mb-0 ">WIRE/INTL TRANSFER <strong style="font-size:38px; color:black;">→</strong></h6>
              <p class="text-sm ">From one country to another</p>
              <hr class="dark horizontal">
              <div class="d-flex ">
                <i class="material-icons text-sm my-auto me-1">schedule</i>
                <p class="mb-0 text-sm">Maximum 5 Working Days</p>
              </div></a>
            </div>
          </div>
        </div>
      </div>
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                 
              
              <br><br>
            </div>
          </div>
        </div>
      </div>
 
 
 
 </div>
 
 
 
 
 
 				
 
			
	 
		     
		       
		    
		    
		    
		   
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	 
	
	
       

 <?php include 'auth_footer.php'; ?>		
	