<?php
include 'functions/getProfileDetails.php';
if (isset($_SESSION['UserID'])) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <title><?php echo $AccFullname ?> - JP TRUST Bank</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="content-language" content="en">
    <meta name="theme-color" content="#426fb6" >
    <meta name="msapplication-navbutton-color" content="#426fb6">
    <meta name="apple-mobile-web-app-status-bar-style" content="#426fb6">
    <meta name="keywords" content="">
    <meta name="description" content="" >
    <meta property="og:type" content="website">
    <meta property="og:site_name" content="">
    <meta property="og:title" content="JP TRUST Bank">
    <meta property="og:description" content="">
    <meta property="og:site_name" content="">
    <meta property="og:image" content="">
    <meta name="msapplication-TileColor" content="#426fb6">
    <meta name="msapplication-TileImage" content="https://d4u5qzkfpc9yt.cloudfront.net/favicons/mstile-144x144.7f7356b104f883d3d4fb2cf19d18d3f24c8cb71d.png">
    <meta property="og:url" content="">
    <link rel="stylesheet" type="text/css" href="/personal-access/personal/assets/css_animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <link rel="icon" type="image/x-icon" href="/personal-access/personal/img/centuryBankLogo.png">
    <link rel="stylesheet" type="text/css" href="/personal-access/personal/assets/stylesheet/layout.css">
    <link rel="stylesheet" type="text/css" href="/personal-access/personal/assets/stylesheet/fonts.css">
    <link rel="stylesheet" type="text/css" href="/personal-access/personal/assets/stylesheet/responsive.css">
    <link rel="stylesheet" type="text/css" href="/personal-access/assets/stylesheet/responsive.css">
    <link rel="stylesheet" type="text/css" href="/personal-access/assets/stylesheet/fonts.css">
    <!--========================== PRELOAD FONTS============================= -->
    <link rel="preload" href="/personal-access/personal/fonts/Roboto-Light.ttf" as="font">

    <!--========================== PRELOAD FONTS============================= -->
    <link rel="preload" href="/personal-access/assets/fonts/hind-medium.otf" as="font">
    <link rel="preload" href="/personal-access/assets/fonts/hind-light.otf" as="font">
    <link rel="preload" href="/personal-access/assets/fonts/hind-bold.otf" as="font">
    <link rel="preload" href="/personal-access/assets/fonts/hind-regular.otf" as="font">
    <link rel="preload" href="/personal-access/assets/fonts/hind-semibold.otf" as="font">
    <link rel=’stylesheet’ href=typicons.font-master/src/font/typicons.min.css’>
    <!-- ====================== JS SCRIPTS =====================================-->
    <script type="text/javascript" src="/personal-access/personal/assets/js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="/personal-access/personal/assets/js/global.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
     <script type="text/javascript" src="/personal-access/personal/assets/js/wow.min.js"></script>
     <script type="text/javascript">
      new WOW().init();
    </script>


</head>

<body>
  <!-- ======================= WHOLE BODY WRAPPER   ================================================= -->
<!--  <div id="google_translate_element"></div>-->

<!--<script type="text/javascript">-->
<!--function googleTranslateElementInit() {-->
<!--  new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');-->
<!--}-->
<!--</script>-->

<!--<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>-->
<div id="Body_container">
<div class="top_Nav">
 <?php require 'header.php'; ?>
 
  </div>
</div>

<!-- ======================= ENDS WHOLE BODY WRAPPER   ================================================= -->
<!-- ======================= MAIN BODY CONTENT WRAPPER   ================================================= -->
<div id="container">
<div class="innerBankOperaion">

  
  <div class="welMsg">
    <div class="accountImage"><picture><img src="/personal-access/admin/AccImage/<?php echo $AccImage; ?>" alt=""></picture></div>
  <h2 class="welcome">Hello, <?php echo $AccFullname; ?></h2>

  <a href="#">Update profile</a>
  <a href="#" class="security">Security center</a>

  <form action="<?php $_SERVER['PHP_SELF']; ?>" method="POST" class="helpForm">
    <div class="inputWrapper">
      <input type="text" name="helpCenter" plSparkholder="How can we help you ?">
      <button type="submit"><i class="icon ion-ios-search"></i> </button>
    </div>
  </form>
</div>
<section id="selectTransfer">
  <div class="inner_wrapper">
    <header><h2>I want to transfer money...</h2></header>
    <a href="onlineTransfer">
    <div class="transferType">
      
        <h2>Domestic Bank Transfer</h2>
      <picture><img src="/personal-access/personal/img/betweenbanksM3.jpg" alt=""></picture>
    </div>
  </a>
  <a href="international-transfer">
    <div class="transferType">
      
        <h2>International Bank Transfer</h2>
     <picture><img src="/personal-access/personal/img/betweenbanksM2.jpg" alt=""></picture>
    </div>
  </a>
  <a href="onlineTransfer">
    <div class="transferType">
      
        <h2>To someone else or a business</h2>
      <picture><img src="/personal-access/personal/img/betweenbanksM1.jpg" alt=""></picture>
    </div>
  </a>
  </div>
</section>
<div class="footerBefore">
  <div class="inner_wrapper">
    <p class="info">
      For checking, savings, and money market accounts, the balance may reflect transaction that have not yet posted to your account. For credit card Gold option
      and Gold reserve accounts, the balance may not reflect recent transactions or pending payments.
      <br>
    </p>
    <p class="info">
      Last sign in <?php echo $sepDate; ?> <?php echo date('h:i a ', strtotime($gottenAccurateTime)); ?>
    </p>
    <div class="signoutFooter">
      <ul>
        <li>Secure Area <span class="signOut"><a href="#">En Espanol</a> <a href="/personal-access/cgi-bin/rbaccess/logout.php" >Sign out</a></span></li>
      </ul>
    </div>
  </div>
</div>
</div>

<!--======================== SUBSCRIBE TO OUR NEWLETTERS =========================================-->
<section id="subscribeNews">
  <div class="containerWidth inner_container">
    <div class="subscribeLeft">
      <h3>Subscribe to Our Email List</h3>
      <form action="<?Php $_SERVER['PHP_SELF'] ?>" method="POST">
        <input type="text" name="Fullname" plSparkholder="Fullname">
        <input type="email" name="email" plSparkholder="Email">
        <button>Sign up</button>
      </form>
    </div>
    <div class="downloadApp">
      <h3><a href="#" >Download</a> our free mobile App today!</h3>
      <a href="#" target="_blank"><img src="/personal-access/assets/Img/apple-large.jpg" alt=""></a>
      <a href="#" target="_blank"><img src="/personal-access/assets/Img/google-large.jpg" alt=""></a>
    </div>
  </div>
</section>
<!--====================== FOOTER =========================================-->
<footer>
  <div class="footer containerWidth">
    <div class="socialFooter">
      <a href="#" target="_blank"><img src="/personal-access/assets/Img/fSparkbook.png" alt=""></a>
      <a href="#" target="_blank"><img src="/personal-access/assets/Img/twitter.png" alt=""></a>
      <a href="#" target="_blank"><img src="/personal-access/assets/Img/linkedin.png" alt=""></a>
      <a href="#" target="_blank"><img src="/personal-access/assets/Img/instagram.png" alt=""></a>
      <a href="#" target="_blank"><img src="/personal-access/assets/Img/youtube.png" alt=""></a>
    </div>
    <div class="footerLink1">
      <p><a href="#">Contact Us <span>/</span></a> <a href="#">Find a branch or ATM <span>/</span></a><a href="#">Careers <span>/</span></a><a href="#">Disclosure &amp; Privacy Policy</a>
      </p>
    </div>
    <p class="footerParagraph"> / NMLS ID 411068</p>
    <p class="footerParagraph">Copyright &copy; <?php echo date('Y'); ?>  JP TRUST Bank. All Rights Reserved. <a href="https://www.fdic.gov/"><img src="assets/Img/fdic.png" alt=""></a>
    <a href="https://www.hud.gov/"><img src="assets/Img/ehl.png" alt=""></a></p>
    
  </div>
</footer>




</div>
<!-- ======================= ENDS MAIN BODY CONTENT WRAPPER   ================================================= -->
    


</div>
</body>
</html>
<?php
}else {
  header("Location: /personal-access/");
}
?>