<div class="logged-user-w">
    <?php
	$my_pic = $_SESSION['hlBank_user']['pics'];
   	$upics = (isset($my_pic) && $my_pic != "") ? $my_pic : "anonymous-user.jpg"; 
   	?>
    
    <div class="avatar-w"> <img alt="" src="<?php echo WEB_ROOT; ?>images/thumbnails/<?php echo $upics; ?>"></div><div class="logged-user-info-w">
<div class="logged-user-name"><?php echo $_SESSION['hlBank_user_name'];  ?></div>
<div class="logged-user-role">Account Owner</div>



</div></div>

<ul class="main-menu"> 
 <li class="selected has-sub-menu">
 
 <a href="#"><i class='fas fa-landmark' style='font-size:26px;color:brown'></i><span>MAIN MENU</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Dashboard</div><div class="sub-menu-icon"><i class="os-icon os-icon-layout"></i></div><div class="sub-menu-i">
 <ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=Summary"><i class='fas fa-calculator' style='font-size:26px;color:white'></i> Account Summary</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=Statement"><i class='fas fa-chart-area' style='font-size:26px;color:white'></i>  Account Statement</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=Summary"><i class='fas fa-chart-line' style='font-size:26px;color:white'></i> Account Balance</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=atm-locations"><i class="fa fa-search-plus" style="font-size:20px;color:white;"></i> ATM Locations</a></li>  
 
 </ul></div></div></li> 
  
  <li class="has-sub-menu">
  <a href="#"><i class='far fa-address-card' style='font-size:26px;color:brown'></i><span>USER INFO</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Customer Information</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=Account"><i class='fas fa-id-badge' style='font-size:26px;color:white'></i> Customer Profile</a></li>  
 <li><a href=""><i class='fas fa-user-cog' style='font-size:26px;color:white'></i> Login Information</a></li>  
 <li><a href=""><i class='fas fa-tools' style='font-size:26px;color:white'></i> 2FA PIN Number</a></li>  
 <li><a href=""><i class='fas fa-home' style='font-size:26px;color:white'></i> Billing Address</a></li>  
 </ul></div></div></li>
 
  <li class="has-sub-menu">
  <a href="#"> <i class='fas fa-piggy-Bank' style='font-size:26px;color:brown'></i><span>ACCOUNT DETAILS</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Account Information</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href=""> <i class='fas fa-tachometer-alt' style='font-size:26px;color:white'></i> Customer A/C No</a></li>  
 <li><a href=""><i class='fas fa-donate' style='font-size:26px;color:white'></i>  Account Type</a></li>  
 <li><a href=""><i class='fas fa-cash-register' style='font-size:26px;color:white'></i>  Account Origin</a></li>  
 <li><a href=""><i class='fas fa-chart-line' style='font-size:26px;color:white'></i>  Transaction Limit</a></li>  
 </ul></div></div></li>



 <li class="has-sub-menu">
  <a href="#"> <i class='fas fa-angle-double-right' style='font-size:26px;color:brown'></i><span>FUNDS TRANSFER</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Send Funds</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
  <li><a href="<?php echo WEB_ROOT; ?>view/?v=Transfer"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Int'l Funds Transfer</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=local-transfer"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Local Funds Transfer</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=telex-transfer"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Telex Transfer</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=pay-bills"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Pay Bills</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=deposit-funds"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Deposit Funds</a></li>  
 </ul></div></div></li>
 
 <li class="has-sub-menu">
  <a href="#"><i class='fab fa-cc-visa' style='font-size:26px;color:brown'></i><span>CARD DETAILS</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Card Information</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=card"><i class='fab fa-cc-visa' style='font-size:20px;color:white'></i> <i class='fab fa-cc-mastercard' style='font-size:20px;color:white'></i> Active Credit Cards</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=card"><i class='fab fa-cc-visa' style='font-size:20px;color:white'></i> <i class='fab fa-cc-mastercard' style='font-size:20px;color:white'></i> Active Debit Cards</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=request-card"><i class='fab fa-cc-visa' style='font-size:20px;color:white'></i> <i class='fab fa-cc-mastercard' style='font-size:20px;color:white'></i>  Apply for Cards</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=card"><i class='fab fa-cc-visa' style='font-size:20px;color:white'></i> <i class='fab fa-cc-mastercard' style='font-size:20px;color:white'></i> Card Limit</a></li>  
 </ul></div></div></li>
 
  <li class="has-sub-menu">
  <a href="#"> <i class='fas fa-business-time' style='font-size:26px;color:brown'></i><span>LOAN/FACILITY</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Facility Information</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=loan-menu"><i class='fas fa-business-time' style='font-size:20px;color:white'></i> Active Loan</a></li>     
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=apply-loan"><i class='fas fa-business-time' style='font-size:20px;color:white'></i> Apply for Loans</a></li>  
 <li><a href=""><i class='fas fa-business-time' style='font-size:20px;color:white'></i> Repayment Duration</a></li>  
 </ul></div></div></li>
 
 
 
 <li class="sub-header"><span>SECURITY INFO</span></li>
 
  <li class="has-sub-menu">
  <a href="#"><i class='fas fa-bullhorn' style='font-size:26px;color:brown'></i><span>GET HELP</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Customer Services</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=support"><i class='fas fa-bullhorn' style='font-size:20px;color:white'></i> Transfer Section</a></li>     
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=support"><i class='fas fa-bullhorn' style='font-size:20px;color:white'></i> Account </a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=support"><i class='fas fa-bullhorn' style='font-size:20px;color:white'></i> Complaint</a></li>  
 </ul></div></div></li>
 
 
 <li class="has-sub-menu"><a href="#"><i class='fas fa-user-lock' style='font-size:26px;color:brown'></i><span>SETTINGS</span></a>
 <div class="sub-menu-w"><div class="sub-menu-header">User Settings</div><div class="sub-menu-icon"><i class="os-icon os-icon-mail"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li> <a href="<?php echo WEB_ROOT; ?>view/?v=ChangePwd"><i class='far fa-sun' style='font-size:26px;color:white'></i> Account Password</a></li> 
 <li> <a href="<?php echo WEB_ROOT; ?>view/?v=ChangePin"><i class='far fa-sun' style='font-size:26px;color:white'></i> 2FA Account PIN</a></li> 
 <li> <a href="<?php echo WEB_ROOT; ?>?logout"><i class='fas fa-lock' style='font-size:26px;color:white'></i> Logout</a></li> 
 </ul></div></div></li>

 </ul>
 

<!-----------------------------------------mobile menu Ending-------------------------------------------------->


 </div></div>
 <div class="menu-w color-scheme-light color-style-transparent menu-position-side menu-side-left menu-layout-compact sub-menu-style-over
 sub-menu-color-bright selected-menu-color-light menu-activated-on-hover menu-has-selected-link">
 
 
 
 
 
 
 
 
 
 <div class="logged-user-w avatar-inline">
 <div class="logged-user-i"> 
 <?php
	$my_pic = $_SESSION['hlBank_user']['pics'];
   	$upics = (isset($my_pic) && $my_pic != "") ? $my_pic : "anonymous-user.jpg"; 
   	?>
 <div class="avatar-w"><img alt="" src="<?php echo WEB_ROOT; ?>images/thumbnails/<?php echo $upics; ?>"></div><div class="logged-user-info-w">
 <div class="logged-user-name"><?php echo $_SESSION['hlBank_user_name'];  ?></div><div class="logged-user-role">Account Holder</div></div>
  </div>
 </div> 
  
 <center>
          <table>
              <tr><td style="text-align: center;"><canvas id="canvas_tt5d7e7de324c9e" width="120" height="120"></canvas></td></tr>
              <tr><td style="text-align: center; font-weight: bold"><a href="//24timezones.com/world_directory/time_in_pago_pago.php" style="text-decoration: none" class="clock24" id="tz24-1568570851-c11033-eyJzaXplIjoiMTUwIiwiYmdjb2xvciI6IkZGOTkwMCIsImxhbmciOiJlbiIsInR5cGUiOiJhIiwiY2FudmFzX2lkIjoiY2FudmFzX3R0NWQ3ZTdkZTMyNGM5ZSJ9" title="Pago Pago clock" target="_blank" rel="nofollow"></a></td></tr>
          </table>
<script type="text/javascript" src="//w.24timezones.com/l.js" async></script>

</center>


<!-----------------------------------------main menu starting-------------------------------------------------->
 <ul class="main-menu"> 
 <li class="selected has-sub-menu">
 
 <a href="#"><i class='fas fa-landmark' style='font-size:26px;color:brown'></i><span>MAIN MENU</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Dashboard</div><div class="sub-menu-icon"><i class="os-icon os-icon-layout"></i></div><div class="sub-menu-i">
 <ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=Summary"><i class='fas fa-calculator' style='font-size:26px;color:white'></i> Account Summary</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=Statement"><i class='fas fa-chart-area' style='font-size:26px;color:white'></i>  Account Statement</a></li> 
 
 <?php 
	  $user_id = $_SESSION['hlBank_user']['user_id'];
	  $acc_no = $_SESSION['hlBank_user']['acc_no'];
	  
	  $balance_sql = "SELECT balance FROM tbl_accounts WHERE user_id = $user_id AND acc_no = $acc_no";
	  $result = dbQuery($balance_sql);
	  $row = dbFetchAssoc($result);
	  ?>
	  
 <li><a href=""><i class='fas fa-chart-line' style='font-size:26px;color:white'></i> Account Balance:  <?php echo $_SESSION['hlBank_user']['currency']; ?>.  <?php echo number_format($row['balance'] , 2); ?></a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=atm-locations"><i class="fa fa-search-plus" style="font-size:20px;color:white;"></i> ATM Locations</a></li>  
 
 </ul></div></div></li> 
  
  <li class="has-sub-menu">
  <a href="#"><i class='far fa-address-card' style='font-size:26px;color:brown'></i><span>USER INFO</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Customer Information</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=Account"><i class='fas fa-id-badge' style='font-size:26px;color:white'></i> Customer Profile</a></li>  
 <li><a href=""><i class='fas fa-user-cog' style='font-size:26px;color:white'></i> Login Information</a></li>  
 <li><a href=""><i class='fas fa-tools' style='font-size:26px;color:white'></i> 2FA PIN Number:  <?php echo $_SESSION['hlBank_user']['pin']; ?></a></li>  
 <li><a href=""><i class='fas fa-home' style='font-size:26px;color:white'></i> Billing Address:  
 <?php echo $_SESSION['hlBank_user']['address']; ?> <?php echo $_SESSION['hlBank_user']['city']. ', '.$_SESSION['hlBank_user']['state'] ?>
 
 </a></li>  
 </ul></div></div></li>
 
  <li class="has-sub-menu">
  <a href="#"> <i class='fas fa-piggy-Bank' style='font-size:26px;color:brown'></i><span>ACCOUNT DETAILS</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Account Information</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href=""> <i class='fas fa-tachometer-alt' style='font-size:26px;color:white'></i> Customer A/C No:  <?php echo $_SESSION['hlBank_user']['acc_no'] ?></a></li>  
 <li><a href=""><i class='fas fa-donate' style='font-size:26px;color:white'></i>  Account Type:  <?php echo $_SESSION['hlBank_user']['type']; ?></a></li>  
 <li><a href=""><i class='fas fa-cash-register' style='font-size:26px;color:white'></i>  Account Origin</a></li> 
 
 <?php 
	  $user_id = $_SESSION['hlBank_user']['user_id'];
	  $acc_no = $_SESSION['hlBank_user']['acc_no'];
	  
	  $balance_sql = "SELECT balance FROM tbl_accounts WHERE user_id = $user_id AND acc_no = $acc_no";
	  $result = dbQuery($balance_sql);
	  $row = dbFetchAssoc($result);
	  ?>
	  
 <li><a href=""><i class='fas fa-chart-line' style='font-size:26px;color:white'></i>  Transaction Limit:  <?php echo $_SESSION['hlBank_user']['currency']; ?>.UNLIMITED </a></li>  
 </ul></div></div></li>



 <li class="has-sub-menu">
  <a href="#"> <i class='fas fa-angle-double-right' style='font-size:26px;color:brown'></i><span>FUNDS TRANSFER</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Send Funds</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
  <li><a href="<?php echo WEB_ROOT; ?>view/?v=Transfer"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Int'l Funds Transfer</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=local-transfer"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Local Funds Transfer</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=telex-transfer"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Telex Transfer</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=pay-bills"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Pay Bills</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=deposit-funds"><i class='far fa-check-circle' style='font-size:26px;color:white'></i>  Deposit Funds</a></li>  
 </ul></div></div></li>
 
 <li class="has-sub-menu">
  <a href="#"><i class='fab fa-cc-visa' style='font-size:26px;color:brown'></i><span>CARD DETAILS</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Card Information</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=card"><i class='fab fa-cc-visa' style='font-size:20px;color:white'></i> <i class='fab fa-cc-mastercard' style='font-size:20px;color:white'></i> Active Credit Cards</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=card"><i class='fab fa-cc-visa' style='font-size:20px;color:white'></i> <i class='fab fa-cc-mastercard' style='font-size:20px;color:white'></i> Active Debit Cards</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=request-card"><i class='fab fa-cc-visa' style='font-size:20px;color:white'></i> <i class='fab fa-cc-mastercard' style='font-size:20px;color:white'></i>  Apply for Cards</a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=card"><i class='fab fa-cc-visa' style='font-size:20px;color:white'></i> <i class='fab fa-cc-mastercard' style='font-size:20px;color:white'></i> Card Limit</a></li>  
 </ul></div></div></li>
 
  <li class="has-sub-menu">
  <a href="#"> <i class='fas fa-business-time' style='font-size:26px;color:brown'></i><span>LOAN/FACILITY</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Facility Information</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=loan-menu"><i class='fas fa-business-time' style='font-size:20px;color:white'></i> Active Loan</a></li>     
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=apply-loan"><i class='fas fa-business-time' style='font-size:20px;color:white'></i> Apply for Loans</a></li>  
 <li><a href=""><i class='fas fa-business-time' style='font-size:20px;color:white'></i> Repayment Duration</a></li>  
 </ul></div></div></li>
 
 
 
 <li class="sub-header"><span>SECURITY INFO</span></li>
 
  <li class="has-sub-menu">
  <a href="#"><i class='fas fa-bullhorn' style='font-size:26px;color:brown'></i><span>GET HELP</span></a><div class="sub-menu-w">
 <div class="sub-menu-header">Customer Services</div><div class="sub-menu-icon"><i class="os-icon os-icon-package"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=support"><i class='fas fa-bullhorn' style='font-size:20px;color:white'></i> Transfer Section</a></li>     
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=support"><i class='fas fa-bullhorn' style='font-size:20px;color:white'></i> Account </a></li>  
 <li><a href="<?php echo WEB_ROOT; ?>view/?v=support"><i class='fas fa-bullhorn' style='font-size:20px;color:white'></i> Complaint</a></li>  
 </ul></div></div></li>
 
 
 <li class="has-sub-menu"><a href="#"><i class='fas fa-user-lock' style='font-size:26px;color:brown'></i><span>SETTINGS</span></a>
 <div class="sub-menu-w"><div class="sub-menu-header">User Settings</div><div class="sub-menu-icon"><i class="os-icon os-icon-mail"></i></div>
 <div class="sub-menu-i"><ul class="sub-menu">
 <li> <a href="<?php echo WEB_ROOT; ?>view/?v=ChangePwd"><i class='far fa-sun' style='font-size:26px;color:white'></i> Account Password</a></li> 
 <li> <a href="<?php echo WEB_ROOT; ?>view/?v=ChangePin"><i class='far fa-sun' style='font-size:26px;color:white'></i> 2FA Account PIN</a></li> 
 <li> <a href="<?php echo WEB_ROOT; ?>?logout"><i class='fas fa-lock' style='font-size:26px;color:white'></i> Logout</a></li> 
 </ul></div></div></li>

 </ul>
 
 
 
  
 <div class="side-menu-magic"> <div class="btn-w">
 <a class="btn btn-white btn-rounded" href="" >Buy Bitcoin</a></div></div></div>
 
 
 <div class="content-w"><div class="content-i"><div class="content-box">
 <div class="element-wrapper compact pt-4"><div class="element-actions"><a class="btn btn-primary btn-sm" href="<?php echo WEB_ROOT; ?>view/?v=local-transfer">
 <i class="os-icon os-icon-ui-22"></i><span>Local Transfer</span></a><a class="btn btn-success btn-sm" href="<?php echo WEB_ROOT; ?>view/?v=Transfer">
 <i class="os-icon os-icon-grid-10"></i><span>Int'l Transfer</span></a></div>
 <h6 class="element-header"><?php echo welcome();  ?> , <?php echo $_SESSION['hlBank_user_name'];  ?>  
 
  <strong style="color:red;">User IP: <?php echo $_SERVER['REMOTE_ADDR']; ?> &nbsp; Access/Time: <?php echo date("h:i A d M Y"); ?></strong>
 </h6>
 