{include file="mheader.tpl" meta_title="Dashboard"}


 <!-- Page wrapper  -->
        <div class="page-wrapper">
            <!-- Bread crumb -->
            <div class="row page-titles">
                <div class="col-md-5 align-self-center">
                    <h3 class="text-primary">Dashboard</h3>
                </div>
                <div class="col-md-7 align-self-center">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li>
                        <li class="breadcrumb-item active">Dashboard</li>
                    </ol>
                </div>
            </div>
            <!-- End Bread crumb -->
            <!-- Container fluid  -->
            <div class="container-fluid">
                <!-- Start Page Content -->

                <br />

                <!-- Start Page Content -->
                <div class="row">
                    <div class="col-md-4">
                        <div class="card p-30">
                            <div class="media">
                                <div class="media-left meida media-middle">
                                    <span><i class="ti-bag f-s-40 color-primary"></i></span>
                                </div>
                                <div class="media-body text-right">
                                    <h4>${$ab_formated.total}</h4>
                                    <p class="m-b-0">User Total Balance</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="card p-30">
                            <div class="media">
                                <div class="media-left meida media-middle">
                                    <span><i class="ti-comment f-s-40 color-success"></i></span>
                                </div>
                                <div class="media-body text-right">
                                    <h4>{$currency_sign} {$ab_formated.withdrawal}</h4>
                                    <p class="m-b-0">User Total Withdrawals</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="card p-30">
                            <div class="media">
                                <div class="media-left meida media-middle">
                                    <span><i class="ti-vector f-s-40 color-warning"></i></span>
                                </div>
                                <div class="media-body text-right">
                                    <h4>${$ab_formated.withdraw_pending}</h4>
                                    <p class="m-b-0">User Pending Withdrawals</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-md-6">
                        <div class="card p-30 bg-primary">
                            <h3 class="text-white">User Data</h3>
                            <div class="card-body">
                                <div class="card-box">
                                    <h4 class="mb-0">{$userinfo.username}</h4>
                                    <p class="text-white"><a href="#" class="__cf_email__" data-cfemail="385c5d55574c4d565c5d785f55595154165b5755">{$userinfo.email}</a></p>

                                    <div class="table-responsive">
                                        <table class="table table-borderless table-centered text-white">
                                            <tbody>
                                                <tr>
                                                    <td><strong>Referral Link :</strong></td>
                                                    <td>{$settings.site_url}/?ref={$userinfo.username}</td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Sponsor :</strong></td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <strong>
                                                User Total Balance:</strong>
                                                            </td>
                                                    <td>${$ab_formated.total}</td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <!-- end card-box -->
                        </div>
                    </div>

                    <div class="col-md-6">
                        <div class="card p-30 bg-danger">
                            <h3 class="text-white">Dashboard</h3>
                            <div class="card-body">
                                <div class="row">
                                    <div class="table-responsive">
                                        <table class="table table-borderless table-centered">
                                            <tbody>
                                                <tr>
                                                    <td>Total Earning</td>
                                                    <td>${$ab_formated.earning}</td>
                                                </tr>

                                                <tr>
                                                    <td>Active Deposit</td>
                                                    <td>${$ab_formated.active_deposit}</td>
                                                </tr>


                                                <tr>
                                                    <td>Last Access</td>
                                                    <td>{$last_access}</td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-12">
                        <div class="card text-center">
                            <!-- TradingView Widget BEGIN -->
                            <div class="tradingview-widget-container">
                                <div class="tradingview-widget-container__widget"></div>

                                <script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><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": "dark",
                                        "locale": "en"
                                    }

                                </script>
                            </div>
                            <!-- TradingView Widget END -->
                        </div>
                    </div>
                </div>
            </div>


            <br />
            <br />
            <br />
        </div>



{include file="mfooter.tpl"}