<?php /* Smarty version 3.1.27, created on 2025-03-10 06:42:01
         compiled from "/home/u343505320/domains/bnbtradehub.com/public_html/tmpl/account_main.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:74512601067ce89b9a23d44_39948053%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c6753e99a08de74a47d6081a2b1bf994370bc2d3' => 
    array (
      0 => '/home/u343505320/domains/bnbtradehub.com/public_html/tmpl/account_main.tpl',
      1 => 1720184823,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '74512601067ce89b9a23d44_39948053',
  'variables' => 
  array (
    'userinfo' => 0,
    'settings' => 0,
    'ab_formated' => 0,
    'ref' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_67ce89b9a29f19_96324380',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_67ce89b9a29f19_96324380')) {
function content_67ce89b9a29f19_96324380 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/u343505320/domains/bnbtradehub.com/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '74512601067ce89b9a23d44_39948053';
echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('active'=>"1"), 0);
?>
 
        <div class="main-panel bg-light">
            <div class="content bg-light">
                <div class="page-inner">
                    <div class="mt-2 mb-4">
                        <h2 class="text-dark pb-2">Welcome, <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['userinfo']->value['username']);?>
!</h2>
                                                            <h5 id="ann" class="text-darkop-7 mb-4">Welcome to <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['site_name']);?>
.A firm that shares your vision. Partner with us and proceed to your financial freedom</h5>
                                                                
                            
                    </div>
                    <div>
    </div>					<div>
    </div>                    <div class="row">
                        <div class="col-sm-6 col-lg-3">
                            <div class="p-3 card bg-light shadow">
                                <div class="d-flex align-items-center">
                                    <span class="mr-3 stamp stamp-md bg-secondary">
                                        <i class="fa fa-dollar-sign"></i>
                                    </span>
                                    <div>
                                        <h5 class="mb-1 text-dark"><b>$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['total']);?>
</b></h5>
                                        <small class="text-muted">Account Balance</small>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6 col-lg-3">
                            <div class="p-3 card bg-light shadow">
                                <div class="d-flex align-items-center">
                                    <span class="mr-3 stamp stamp-md bg-success">
                                        <i class="fa fa-coins"></i>
                                    </span>
                                    <div>
                                        <h5 class="mb-1 text-dark"><b>$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['earning']);?>
</b></h5>
                                        <small class="text-muted text-dark">Earning Profit</small>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6 col-lg-3">
                            <div class="p-3 card bg-light shadow">
                                <div class="d-flex align-items-center">
                                    <span class="mr-3 stamp stamp-md bg-secondary">
                                        <i class="fa fa-gift"></i>
                                    </span>
                                    <div>
                                        <h5 class="mb-1 text-dark"><b>$0.00</b></h5>
                                        <small class="text-muted text-dark">Total Bonus</small>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6 col-lg-3">
                            <div class="p-3 card bg-light shadow">
                                <div class="d-flex align-items-center">
                                    <span class="mr-3 stamp stamp-md bg-info">
                                        <i class="fa fa-retweet"></i>
                                    </span>
                                    <div>
                                        <h5 class="mb-1 text-dark"><b>$<?php echo loaddata_smarty(array('name'=>"user_referrals",'referrals'=>1,'var'=>'ref'),$_smarty_tpl);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ref']->value['levels_stats']['totals']['deposits_amount']);?>
</b></h5>
                                        <small class="text-muted text-dark">Total Referral Bonus</small>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6 col-lg-3">
                            <div class="p-3 card bg-light shadow">
                                <div class="d-flex align-items-center">
                                    <span class="mr-3 stamp stamp-md bg-danger">
                                        <i class="fa fa-envelope"></i>
                                    </span>
                                    <div>
                                        <h5 class="mb-1 text-dark"><b>$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['withdraw_pending']);?>
</b></h5>
                                        <small class="text-muted text-dark">Total Investment Pending</small>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6 col-lg-3">
                            <div class="p-3 card bg-light shadow">
                                <div class="d-flex align-items-center">
                                    <span class="mr-3 stamp stamp-md bg-success">
                                        <i class="fa fa-envelope-open"></i>
                                    </span>
                                    <div>
                                        <h5 class="mb-1 text-dark"><b>$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['active_deposit']);?>
</b></h5>
                                        <small class="text-muted text-dark">Total Active Investment</small>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6 col-lg-3">
                            <div class="p-3 card bg-light shadow">
                                <div class="d-flex align-items-center">
                                    <span class="mr-3 stamp stamp-md bg-warning">
                                        <i class="fa fa-download"></i>
                                    </span>
                                    <div>
                                                                                                                                <h5 class="mb-1 text-dark">$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['deposit']);?>
</h5> 
                                                                                                                            
                                        <small class="text-muted text-dark">Total Deposit</small>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6 col-lg-3">
                            <div class="p-3 card bg-light shadow">
                                <div class="d-flex align-items-center">
                                    <span class="mr-3 stamp stamp-md bg-danger">
                                        <i class="fa fa-arrow-alt-circle-up"></i>
                                    </span>
                                    <div>
                                                                                                                                <h5 class="mb-1 text-dark">$<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ab_formated']->value['withdrawal']);?>
</h5> 
                                                                                                                            
                                        <small class="text-muted text-dark">Total Withdrawals</small>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="row">
                        <div class="pt-1 col-12">
                        <h3>Personal Trading Chart</h3>
                        <div class="tradingview-widget-container" style="margin:30px 0px 10px 0px;">
  <div id="tradingview_f933e"></div>
  <div class="tradingview-widget-copyright"><a href="#" rel="noopener" target="_blank"><span class="blue-text"></span> <span class="blue-text">Personal trading chart</span></a></div>
  <?php echo '<script'; ?>
 type="text/javascript" src="https://s3.tradingview.com/tv.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 type="text/javascript">
  new TradingView.widget(
  {
  "width": "100%",
  "height": "550",
  "symbol": "COINBASE:BTCUSD",
  "interval": "1",
  "timezone": "Etc/UTC",
  "theme": 'light',
  "style": "9",
  "locale": "en",
  "toolbar_bg": "#f1f3f6",
  "enable_publishing": false,
  "hide_side_toolbar": false,
  "allow_symbol_change": true,
  "calendar": false,
  "studies": [
    "BB@tv-basicstudies"
  ],
  "container_id": "tradingview_f933e"
}
  );
  <?php echo '</script'; ?>
>
</div>
                        
</div>
    
    
                             
<div class="white-box" style="height: 450px; width:100%">
                            <h4 style="margin-bottom:5px;"> Forex Market Fundamental Data</h4>
<!-- TradingView Widget BEGIN -->

<span id="tradingview-copyright"><a ref="nofollow noopener" target="_blank" href="http://www.tradingview.com" style="color: rgb(173, 174, 176); font-family: &quot;Trebuchet MS&quot;, Tahoma, Arial, sans-serif; font-size: 13px;"></a></span>
<?php echo '<script'; ?>
 src="https://s3.tradingview.com/external-embedding/embed-widget-forex-cross-rates.js">{
  "currencies": [
    "EUR",
    "USD",
    "JPY",
    "BTC",
    "ETH",
    "LTC",
    "GBP",
    "CHF",
    "AUD",
    "CAD",
    "NZD",
    "CNY"
  ],
  "isTransparent": false,
  "colorTheme": "light",
  "width": "100%",
  "height": "100%",
  "locale": "en"
}<?php echo '</script'; ?>
>

                        </div>
                        </div>
                    </div>
                <!-- end of chart -->
            </div>
    			<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);

}
}
?>