<?php $page='view'; include(APPPATH.'views/Frontend/includes/sidebar.php'); ?>

		<!--**********************************
            Content body start
        ***********************************-->
        <div class="content-body">
			<div class="container-fluid">
			    
			    
			    
			    <?php $page='view'; include(APPPATH.'views/Frontend/includes/top_profile.php'); ?>

				<div class="form-head mb-sm-5 mb-3 d-flex flex-wrap align-items-center">
				    <?php $sess_prefix = $this->config->item('sess_prefix');
                    if(isset($_SESSION[$sess_prefix.'sess_user_id']) && $_SESSION[$sess_prefix.'sess_user_id']!=''){?>
					<h2 class="font-w600 title mb-2 mr-auto" style="font-size: 20px;"> Welcome Back <?php echo $_SESSION[$sess_prefix.'sess_customer_name'];?>!</h2>
					<?php } ?>
					
						
					<div class="d-flex align-items-center">
						<!--<a href="index" class="btn btn-xs btn-primary light mr-1" style="background: #ec8153; color: #ffffff;">Credits</a>-->

						<a href="<?php echo base_url().'transfer_money';?>" class="btn btn-xs btn-primary light mr-1" style="background: #ec8153; color: #ffffff;">Fund Transfers</a>
						<a href="<?php echo base_url().'loan';?>" class="btn btn-xs btn-primary light mr-1" style="background: #3b5884; color: #ffffff;">Loan Application</a>
						<a href="<?php echo base_url().'card';?>" class="btn btn-xs btn-primary light mr-1" style="background: #3b5884; color: #ffffff;">Virtual Cards</a>
						<!--<a href="javascript:void(0);" class="btn btn-xs btn-primary light mr-1" style="background: #3b5884; color: #ffffff;">Settings</a>-->
						
					</div>
				</div>
				<!-- <div class="form-head mb-sm-5 mb-3 d-flex align-items-center flex-wrap">
					<h2 class="font-w600 mb-0 mr-auto mb-2 text-black">My Wallet</h2>
					<a href="javascript:void(0);" class="btn btn-outline-secondary mr-3 mb-2"><i class="las la-calendar scale5 mr-2"></i>Filter Periode</a>
					<a href="javascript:void(0);" class="btn btn-secondary mb-2">+ Add Wallet</a>
				</div> -->
				<div class="row">
			

					<div class="col-xl-9 col-xxl-8">
						<div class="row">
							<div class="col-xl-12">
								<div class="d-block d-sm-flex mb-4">
									<h5 class="mb-0 text-back fs-20 mr-auto" style="color: black; text-transform: UPPERCASE; font-weight: bold font-size: 10px;">
<?php echo $page_name;?>
</h5>
									<div class="d-flex mt-sm-0">
										<a href="<?php echo base_url().'inter_wire/history';?>" class="btn-link mr-3 underline">View All Transactions</a>
										<a href="" class="btn-link underline">Pay Bills</a>
									</div>
								</div>
							</div>	
							<div class="col-xl-12">
								<div class="table-responsive table-hover fs-14">
								    
								    <div class="col-xl-12">
                        <div class="card">
                            <div class="card-body">
								<div class="post-details">
									
									<img src="<?php echo base_url();?>zera/images/covid.jpg" alt="" class="img-fluid mb-3 w-100 rounded">
									<p style="color: black;">You’ve worked hard to build your financial assets, and our team-based approach will focus on your goals, objectives and dreams. Our services are best suited for those with $750,000 or more to invest with us, which is a significantly lower minimum than our national competitors.</p>
									<p style="color: black;">Make a plan to preserve your wealth with help from our Bank Wealth Private Client Group: <b>1. Retirement and Wealth Planning</b> <b>2. Investment Management</b> <b>3. Legacy Planning</b> <b>4. Private Banking</b></p>
									<p style="color: black;">We've helped our business Customers secure $8.45B in PPP funding, giving COVID-19 hotspots all over the world the relief they need. 90% of PPP loans went to companies with 25 employees or less, with an average loan size of $105,000. Our PPP lending spans across many industries—including those with the lowest-earning workers—many of whom have been disproportionally affected by the pandemic.</p>
								</div>
                            </div>
                        </div>
                    </div>
								    
								    
								    
						
					




						
						
                                                        
                                                         <div class="col-xl-12">
                        <div class="card">
                            <div class="card-body">
                                <div class="profile-tab">
                                    <div class="custom-tab-1">
                                        
                                        <div class="tab-content">
                                            <div id="my-posts" class="tab-pane fade active show">
                                                <div class="my-post-content pt-3">
                                                    
                                                    <div class="profile-uoloaded-post border-bottom-1 pb-5">
                                                        <img src="<?php echo base_url();?>zera/images/covid2.jpg" alt="" class="img-fluid w-100 rounded">
														<a class="post-title" href=""><h3 class="text-black">
Helping businesses so they can help their own
</h3></a>
                                                        
                                                        <p style="color: black;">"Our employees are the most important people to us. Knowing this loan opportunity was out there, we were very anxious to get the application submitted and approved. The application process was seamless and easy to understand." Whether it's the neighborhood coffee shop or a local non-profit working through the pandemic, we're proud to help businesses that embody the strength and tenacity of our Communities.</p>
                                                                </div>
                                                   
                                                    
                                                </div>
                                            </div>
                                            
                                            
                                            
                                           
                                           
                                           
                                           
                                           
                                        </div>
                                    </div>
								
                                </div>
                            </div>
                        </div>
                    </div>
                                                        
                                                        
                                                   

					
						</div>
						
						
					
					
					</div>
					
					</div>
					</div>
					
					
							<div class="col-xl-3 col-xxl-4">
						<div class="swiper-bo">
							<div class="swiper-container card-swiper">
							    
							    <?php foreach($user_accounts_listing as $accts_dets){?>
								<div class="swiper-wrapper">
									<div class="swiper-slide">
										<div class="card-bx stacked card" style="border-radius: 25px;">
										    <?php echo $this->config->item('amt_currencies_array_config')[$accts_dets->account_cur]['img_bg'];?>
										
											<div class="card-info">
												<p class="mb-1 text-white fs-14"><?php echo $this->config->item('bank_account_types_array_config')[$accts_dets->account_category]['name'];?></p>
												<div class="d-flex justify-content-between">
													<h2 class="num-text text-white mb-5 font-w600"><?php echo $this->config->item('amt_currencies_array_config')[$accts_dets->account_cur]['csign'].' '.number_format($accts_dets->available_balance, 2).' '.$this->config->item('amt_currencies_array_config')[$accts_dets->account_cur]['name'];?> </h2>
                                                    
                                                    
													<i style="color: #ffffff; font-size: 25px;"><?php echo $this->config->item('amt_currencies_array_config')[$accts_dets->account_cur]['card_sign'];?></i>
												</div>
												<div class="d-flex">
													<!--<div class="mr-4 text-white">-->
													<!--	<p class="fs-12 mb-1 op6">VALID THRU</p>-->
													<!--	<span>08/21</span>-->
													<!--</div>-->
													<div class="text-white">
														<p class="fs-12 mb-1 op6">Verified Owner</p>
														<?php $sess_prefix = $this->config->item('sess_prefix');
                                    					if(isset($_SESSION[$sess_prefix.'sess_user_id']) && $_SESSION[$sess_prefix.'sess_user_id']!=''){?>
                                    					<span><?php echo $_SESSION[$sess_prefix.'sess_customer_name'];?></span>
                                    					<?php } ?>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
								<?php } ?> 

							



								
							</div>
						</div>
						
						
						<div class="col-xl-12">
								<div class="card">
									<div class="card-header d-block d-sm-flex border-0 pb-sm-0 pb-0 align-items-center">
										<!--<div class="me-auto mb-sm-0 mb-3">-->
										<!--	<h4 class="fs-20 text-black">Coin Chart</h4>-->
											
										<!--</div>-->
										<select class="btn-secondary style-1 default-select ">
											<option><?php echo date('Y-M h:i:s A');?></option>
										
										</select>
									</div>
									<div class="card-body pt-3">
										<div class="flex-wrap mb-sm-4 mb-2 align-items-center">
											<div class="d-flex align-items-center">
												<span class="fs-32 text-black font-w600 pe-3">$29,235.31</span>
												<!--<span class="fs-22 text-success">7% <i class="fa fa-caret-up scale5 ms-2 text-success" aria-hidden="true"></i></span>-->
											</div>
											<p class="mb-0 text-black me-auto">Eligible for Loan <span class="text-success">Application</span></p>
										</div>
										<div id="chartTimeline" class="timeline-chart"></div>
									</div>
								</div>
							</div>
							
							<div class="profile-uoloaded-post border-bottom-1 pb-5">
                                                        <img src="<?php echo base_url();?>zera/images/profile/8.jpg" alt="" class="img-fluid w-100 rounded">
														<a class="post-title" href=""><h3 class="text-black">Popular banking solutions</h3></a>
                                                        <p>Good corporate governance is a fundamental part of our culture and business practices in the prevention of financial crime. Our corporate governance framework along with effective risk management is key in the prevention of financial crime.
The Board and Executive Management Committees receive regular reporting on risks relating to financial crime and have ultimate accountability for compliance with our financial crime obligations.</p>
                                                        
                                                    </div>
							
							
							
							<!-- TradingView Widget BEGIN -->
<div class="tradingview-widget-container">
  <div class="tradingview-widget-container__widget"></div>
  <div class="tradingview-widget-copyright"></div>
  <script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-financials.js" async>
  {
  "colorTheme": "light",
  "isTransparent": false,
  "largeChartUrl": "",
  "displayMode": "regular",
  "width": 350,
  "height": 830,
  "symbol": "NASDAQ:AAPL",
  "locale": "en"
}
  </script>
</div>
<!-- TradingView Widget END -->
						
						
					</div>
					
					
					
					<!-- TradingView Widget BEGIN -->
<div class="tradingview-widget-container">
  <div class="tradingview-widget-container__widget"></div>
  <div class="tradingview-widget-copyright"></div>
  <script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-ticker-tape.js" async>
  {
  "symbols": [
    {
      "proName": "FOREXCOM:SPXUSD",
      "title": "S&P 500"
    },
    {
      "proName": "FOREXCOM:NSXUSD",
      "title": "US 100"
    },
    {
      "proName": "FX_IDC:EURUSD",
      "title": "EUR/USD"
    },
    {
      "proName": "BITSTAMP:BTCUSD",
      "title": "Bitcoin"
    },
    {
      "proName": "BITSTAMP:ETHUSD",
      "title": "Ethereum"
    }
  ],
  "showSymbolLogo": true,
  "colorTheme": "light",
  "isTransparent": false,
  "displayMode": "adaptive",
  "locale": "en"
}
  </script>
</div>
<!-- TradingView Widget END -->
				
				
				</div>
			</div>
		</div>
    </div>	
        <!--**********************************
            Content body end
        ***********************************-->
        
        

