{include file="header.tpl"}
<div id="content-page" class="content-page">
    <div class="container-fluid">
        <div class="row">
             <div class="col-lg-6">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="iq-card iq-card-block iq-card-stretch iq-card-height">
                                    <div class="iq-card-body">
                                        <div class="top-block d-flex align-items-center justify-content-between">
                                            <h5>Available Balance</h5>
                                            <span class="badge badge-primary">Daily</span>
                                        </div>
                                        <h3>
                                            <span >${$ab_formated.total}.00</span></h3>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="iq-card iq-card-block iq-card-stretch iq-card-height">
                                    <div class="iq-card-body">
                                        <div class="top-block d-flex align-items-center justify-content-between mt-1">
                                            <h5>Active Deposit</h5>
                                            <span class="badge badge-warning">Daily</span>
                                        </div>
                                        <h3>
                                            <span >${$ab_formated.active_deposit}</span></h3>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-6">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="iq-card iq-card-block iq-card-stretch iq-card-height">
                                    <div class="iq-card-body">
                                        <div class="top-block d-flex align-items-center justify-content-between">
                                            <h5>Last Withdrawal</h5>
                                            <span class="badge badge-primary">Daily</span>
                                        </div>
                                        <h3>
                                            <span >${$last_withdrawal|default:"N/A"}</span></h3>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="iq-card iq-card-block iq-card-stretch iq-card-height">
                                    <div class="iq-card-body">
                                        <div class="top-block d-flex align-items-center justify-content-between mt-1">
                                            <h5>Today's Earning</h5>
                                            <span class="badge badge-warning">Daily</span>
                                        </div>
                                        <h3>
                                            <span >${$ab_formated.earning}</span></h3>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-12">
                        <div class="row">
                            
                            <div class="col-md-4">
                                <div class="iq-card iq-card-block iq-card-stretch iq-card-height">
                                    <div class="iq-card-body">
                                        <div class="top-block d-flex align-items-center justify-content-between mt-1">
                                            <h5>Total Deposit</h5>
                                            <span class="badge badge-danger">Deposit</span>
                                        </div>
                                        <h3>
                                            <span >${$ab_formated.deposit}</span></h3>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4">
                                <div class="iq-card iq-card-block iq-card-stretch iq-card-height">
                                    <div class="iq-card-body">
                                        <div class="top-block d-flex align-items-center justify-content-between mt-1">
                                            <h5>Reinvestment</h5>
                                            <span class="badge badge-danger">Total</span>
                                        </div>
                                        <h3>
                                            <span >${$last_deposit|default:"N/A"}</span></h3>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4">
                                <div class="iq-card iq-card-block iq-card-stretch iq-card-height">
                                    <div class="iq-card-body">
                                        <div class="top-block d-flex align-items-center justify-content-between">
                                            <h5>Referral Earnings</h5>
                                            <span class="badge badge-info">Account</span>
                                        </div>
                                        <h3>
                                            <span >{loaddata name="user_referrals" referrals=1 var=ref}${$ref.levels_stats.totals.deposits_amount}</span></h3>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
            
            
            
            
            <div class="col-lg-12">
                <div class="iq-card iq-card-block iq-card-stretch iq-card-height">
                            <!-- TradingView Widget BEGIN -->
                            <div class="tradingview-widget-container">
                                <div class="tradingview-widget-container__widget"></div>
                                <script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-screener.js" async>
                               {
                                 "width": "100%",
                                 "height": "490",
                                 "defaultColumn": "overview",
                                 "screener_type": "crypto_mkt",
                                 "displayCurrency": "USD",
                                 "colorTheme": "light",
                                 "locale": "en",
                                 "isTransparent": false
                               }
                                </script>
                            </div>
                            <!-- TradingView Widget END -->
                       
{include file="footer.tpl"}