<!doctype html>
<html lang="en">
  

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Favicon icon -->
    <link rel="shortcut icon" type="image/png" href="<?php echo base_url();?>assets/front/images/favicon.png"/>

    <!-- Favicon icon -->
    <link rel="shortcut icon" type="image/png" href="<?php echo base_url();?>assets/front/images/favicon.png"/>

    <!-- All CSS -->
    <!-- fontAwesome -->
    <link rel="stylesheet" href="<?php echo base_url();?>assets/front/css/all.min.css">
    <!-- 7 stroke icon -->
    <link rel="stylesheet" href="<?php echo base_url();?>assets/front/css/pe-icon-7-stroke.css">
    <!-- Roysha icon -->
    <link rel="stylesheet" href="<?php echo base_url();?>assets/front/css/roysha-icons.css">

    <link rel="stylesheet" href="<?php echo base_url();?>assets/front/css/bootstrap.min.css">    
    <link rel="stylesheet" href="<?php echo base_url();?>assets/front/css/owl.carousel.min.css">
    <link rel="stylesheet" href="<?php echo base_url();?>assets/front/css/jquery.fancybox.min.css">
    <link rel="stylesheet" href="<?php echo base_url();?>assets/front/css/nice-select.css">
    <link rel="stylesheet" href="<?php echo base_url();?>assets/front/css/style.css">
    
    <!-- custom css if you need -->
    <link rel="stylesheet" href="<?php echo base_url();?>assets/front/css/custom.css">
    
    <!-- Color Palette. simple uncommned if you need any color palette -->
    <!-- <link rel="stylesheet" href="css/switcher/css/red.css"> -->

    <title>Safe Trust Financial Services ::: Where The World Can Trust Their Fundings</title>
  </head>
  <body class="home-one body-box">

    <!-- Preloader -->
    <div id="preloader">
      <div id="status"></div>
    </div>
    
    <!-- Header start -->
    <header class="header">
      <div class="container d-flex align-items-center">
          <a class="logo" href="<?php echo base_url();?>">
            <img src="<?php echo base_url();?>boa/saver.png" style="width: 300px;" alt="">
          </a>
          <nav class="primary-menu text-md-right">
            <a id="mobile-menu-toggler" href="#"><i class="fas fa-bars"></i></a>                            
            <ul>                
              <li class="current-menu-item"><a href="<?php echo base_url();?>pages/pageview/accounts">Accounts</a>
                <!-- <ul class="sub-menu">
                  <li><a href="#">Current Accounts</a></li>
                  <li><a href="#">Business Accounts</a></li>
                  <li><a href="#">Joint Accounts</a></li>
                  <li><a href="#">16-17 Accounts</a></li>
                </ul> -->
              </li>
              <li><a href="<?php echo base_url();?>pages/pageview/savings">Savings</a></li>
              <li><a href="<?php echo base_url();?>pages/pageview/personal">Personal</a></li>
              <li><a href="<?php echo base_url();?>pages/pageview/business">Business</a></li>
              
              <li><a href="<?php echo base_url();?>pages/pageview/about">Internet Banking</a></li><li>
                  <a href="<?php echo base_url();?>pages/pageview/contact">Contact</a></li>
                                      <!-- <li class="has-menu-child"><a href="#">Features</a>
                                        <ul class="sub-menu">
                                          <li><a href="how-it-works-send.html">How it works - Send</a></li>
                                          <li><a href="how-it-works-receive.html">How it works - Receive</a></li>
                                          <li><a href="how-it-works-paybills.html">How it works - Paybills</a></li>
                                          <li><a href="landing-page-ecommerce.html">Landing - Ecommerce</a></li>
                                          <li><a href="faq.html">Faq</a></li>
                                          <li><a href="404.html">404 Error page</a></li>
                                          <li><a href="coming-soon.html">Coming soon</a></li>
                                          <li><a href="signup.html">Sign up</a></li>
                                        </ul>
                                      </li> -->


              
             
              
              		<?php $sess_prefix = $this->config->item('sess_prefix');
					if(isset($_SESSION[$sess_prefix.'sess_user_id']) && $_SESSION[$sess_prefix.'sess_user_id']!=''){?>
					<li class="has-menu-child pro-menu-drop">
						<a href="#">
							<div class="header-pro-thumb">
								<?php if(isset($user_details->user_image) && $user_details->user_image!=''){?>
									<img class="rounded-circle" src="<?php echo base_url().'assets/upload/photo/'.$user_details->user_image;?>" alt="<?php echo $_SESSION[$sess_prefix.'sess_customer_name'];?>" />
								<?php }else{ ?>
									<!--<img class="rounded-circle" src="<?php echo base_url();?>assets/upload/avatar.png"  style ="width: 30px; height:30px;" alt="" />-->
								<?php } ?>
							</div> <?php echo $_SESSION[$sess_prefix.'sess_customer_name'];?> <i class="fas fa-chevron-down"></i>
						</a>
						<ul class="dropdown-menu-md sub-menu profile-drop">
							<li class="dropdown-header">
								<div>
									<h5 class="hidden-xs m-b-0 text-primary text-ellipsis"><?php echo $_SESSION[$sess_prefix.'sess_customer_name'];?></h5>
									<div class="small text-muted"><span>Membership ID - <?php echo $_SESSION[$sess_prefix.'sess_user_id'];?></span></div>
								</div>
							</li>
							<li>
								<hr class="mx-n3 mt-0">
							</li>
							<li class="nav__create-new-profile-link">
								<a href="<?php echo base_url();?>dashboard">
									<span>View Account</span>
								</a>
							</li>
							<li class="divider"></li>
							<!--<li class="nav__dropdown-menu-items">-->
							<!--	<a href="#">-->
							<!--		<i class="icon icon-setting"></i>-->
							<!--		<span>Settings</span>-->
							<!--	</a>-->
							<!--</li>-->
							<li class="nav__dropdown-menu-items">
								<a href="<?php echo base_url().'profile/logout';?>"><i class="icon icon-logout"></i><span>Logout</span></a></li>
						</ul>
					</li>
					<?php }else{ ?>
              <li><a href="<?php echo base_url().'login';?>" target="_blank" class="login btn btn-outline btn-round"><span class="bh"></span> <span>Online Login</span></a>
              
              </li>
              <?php } ?>
            </ul>
          </nav>
      </div>
    </header>
    <!-- Header end -->



   