<?php 
session_start();
include('conn_auth.php');
include('customInfo.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<title><?php echo $rowUser['cust_name']; ?> | Royal Investment Bank </title>
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
   <meta name="author" content="PWB">
    <meta name="keyword" content="Investment, Pacific Western, Finance, Co-operate world, Bank"> 
    <meta name="description" content="Pacific Western">
    <meta property="og:title" content="PWB">
    <meta property="og:description" content="Pacific Western">

  <!-- Favicons -->
  <link href="img/favicon.png" rel="icon">
  <link href="img/apple-touch-icon.png" rel="apple-touch-icon">

  <!-- Google Fonts -->
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Raleway:300,400,500,700,800|Montserrat:300,400,700" rel="stylesheet">

  <!-- Bootstrap CSS File -->
  <link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

  <!-- Libraries CSS Files -->
  <link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  <link href="lib/animate/animate.min.css" rel="stylesheet">
  <link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">
  <link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
  <link href="lib/magnific-popup/magnific-popup.css" rel="stylesheet">
  <link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">

  <!-- Main Stylesheet File -->
  <link href="css/style.css" rel="stylesheet">
   <link href="css/xtrastyle.css" rel="stylesheet">

  <!-- =======================================================
    Theme Name: Reveal
    Theme URL: https://bootstrapmade.com/reveal-bootstrap-corporate-template/
    Author: BootstrapMade.com
    License: https://bootstrapmade.com/license/
  ======================================================= -->
  <style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
  </style>
</head>

<body id="body">
<?php include 'sess_code.php' ?>  
  
  <!--==========================
    Header
  ============================-->
  <?php include 'header_dashboard.php'; ?>

  <main id="main">

    <!--==========================
      Our Team Section
    ============================-->
    <section id="team">
      <div class="container">
        <div class="section-header">
        </div>
        <div class="row">
          <div class="col-lg-8 col-md-12">
            <div class="col-lg-12">
                        <div class="pInfo">
                         <div class="transT">
                   <h3>Transfer between Your accounts</h3>
               <hr>
               <h3 class="style10">Transfer details</h3>
                         <h5>The transfer to the account will be made immediately </h5>
                         <h6 style="color:#333333;">Please do not refresh</h6>

               <div class="spinDiv">
               

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

          <div class="col-lg-3 col-md-6">
             <?php 
					 $d_img=  "<img src='img/profile-pictures.png' id='prof-img' class='prof-img' style='width:150px; hieght:150px;' >";
					 $p_img=  "<img src='upload/". $rowUser['cust_photo']. "' id='prof-photo' class='prof-photo' style='width:150px; hieght:150px;' />"; 
					  
		      ?>
            <div class="sideBar" style="opacity:0.3">
             <div class="prof-mg">
             <?php echo $rowUser['cust_photo'] =="" ? $d_img : $p_img; ?>
             
             <span class="acc-st">
             <a href="update-profile?fb=update password"> <i class="fa fa-lock"></i> Update password </a> | <a href="update-profile?fb=update password"> <i class="fa fa-user"></i>  My profile </a>
             </span>
             </div>
             <div class="acct-inf-st">
             <table width="100%" >
                             <tr style="border-bottom:1px solid #333333; padding:6px;">
                              <td height="34"><span class="tableHead">Name:</span></td>
                              <td>&nbsp;&nbsp;&nbsp;<?php echo $rowUser['cust_name']; ?></td>
                            </tr>
                             <tr style="border-bottom:1px solid #333333; padding:6px;">
                              <td height="34"><span class="tableHead">Account Number:</span></td>
                              <td>&nbsp;&nbsp;&nbsp;<?php echo $rowUser['acct_nmb']; ?></td>
                            </tr>
                            <tr style="border-bottom:1px solid #333333; padding:6px;">
                              <td height="35"><span class="tableHead">Swift Code:</span></td>
                              <td>&nbsp;&nbsp;&nbsp;<?php echo $rowUser['swift_code']; ?></td>
                            </tr>
                            <tr>
                              <td height="32"><span class="tableHead">Last transaction:</span></strong></td>
                              <td>&nbsp;&nbsp;&nbsp; <?php echo @$rowTrans['dat_pay'] ==""? "Not available":  date('d l, Y', strtotime($rowTrans['dat_pay'])); ?></td>
                            </tr>
                          </table>
             </div>
              </div>
          </div>

         

      </div>
    </section><!-- #team -->

  </main>

  <!--==========================
    Footer
  ============================-->
 
<?php include 'mfooter.php'; ?>
  
  <!-- JavaScript Libraries -->
  <script src="lib/jquery/jquery.min.js"></script>
  <script src="lib/jquery/jquery-migrate.min.js"></script>
  <script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="lib/easing/easing.min.js"></script>
  <script src="lib/superfish/hoverIntent.js"></script>
  <script src="lib/superfish/superfish.min.js"></script>
  <script src="lib/wow/wow.min.js"></script>
  <script src="lib/owlcarousel/owl.carousel.min.js"></script>
  <script src="lib/magnific-popup/magnific-popup.min.js"></script>
  <script src="lib/sticky/sticky.js"></script>
  <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD8HeI8o-c1NppZA-92oYlXakhDPYR7XMY"></script>
  <!-- Contact Form JavaScript File -->
  <script src="contactform/contactform.js"></script>

  <!-- Template Main Javascript File -->
  <script src="js/main.js"></script>
<script type="text/javascript">
    $(document).ready(function(){
        $('#loginModal').modal({
                backdrop:"static"
            });
    })
  </script>
  
</body>
</html>
