{include file="mheader.tpl"}
<div class="row">
              <div class="col-xs-12 col-sm-6 col-lg-4">
                <div class="panel panel-danger element-box-shadow market-place">
                  <div class="panel-heading no-padding">
                    <div class="div-market-place">
                      <h3> Total Withdrawals</h3>
                      <h1>{$currency_sign}{$ab_formated.withdrawal}</h1>
                      <h2>USD</h2>
                      <p class="text-bold text-white">Withdrawals
                          </p>
                    </div>
                  </div>
                </div>
              </div>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                <div class="panel panel-success element-box-shadow market-place">
                  <div class="panel-heading no-padding">
                    <div class="div-market-place">
                      <h3> Total Earned </h3>
                      <h1>{$currency_sign}{$ab_formated.earning}</h1>
                      <h2>USD</h2>
                      <p class="text-bold text-white">Earnings
                          </p>
                    </div>
                  </div>
                </div>
              </div>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                <div class="panel panel-info element-box-shadow market-place">
                  <div class="panel-heading no-padding">
                    <div class="div-market-place">
                      <h3> Account Balance </h3>
                      <h1>{$currency_sign}{$ab_formated.total}</h1>
                      <h2>USD</h2>
                      <p class="text-bold text-white">Deposits
                          </p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            {if $userinfo.umessages}
<ul>
{foreach from=$userinfo.umessages item=m}
<li>{$m.text|escape:html|nl2br}</li>
{/foreach}
</ul>
{/if}
            {if $settings.use_transaction_code ==1 && $userinfo.transaction_code == ''} <b>Note: currently you have not specified 
a Transaction code. The Transaction code strengthens your funds security in our 
system. The code is required to withdraw funds from your account{if $settings.internal_transfer_enabled} 
and for internal transfer to another user account{/if}. Just do not change 'Transaction 
code' in your account information if you do not want to use this feature. <a href=?a=edit_account>Click 
here</a> to specify a new transaction code .</b> <br>
<br>
{/if}
            <div class="spacer_30"></div>
            
            
            <div class="panel panel-default element-box-shadow">
              <div class="panel-heading padding_30">
                <h3 class="no-margin">Account Main</h3>
              </div>
              <div class="panel-body dash-table-markets no-padding">
                <table class="table table-cryptic dataTable no-footer" role="grid">
                  <thead>
                     <tr role="row">
                        <th>Account Balance </th>
                        <th>Earned Total </th>
                        <th>Pending Withdrawal </th>
                        <th>Withdrew Total </th>
                        <th>Active Deposit </th>
                        <th>Last Deposit </th>
                        <th>Total Deposit </th>
                        <th>Last Withdrawal </th>
                        
                     </tr>
                  </thead>
                   <tbody>
                      <tr role="row">
                         <td><p class="no-margin"><p class="no-margin"><span>{$currency_sign}</span> {$ab_formated.total}</p></p></td>
                         <td><p class="no-margin"><p class="no-margin"><span>{$currency_sign}</span> {$ab_formated.earning}</p></p></td>
                         <td><p class="no-margin"><p class="no-margin"><span>{$currency_sign}</span> {$ab_formated.withdraw_pending}</p></p></td>
                         <td><p class="no-margin"><p class="no-margin"><span>{$currency_sign}</span> {$ab_formated.withdrawal}</p></p></td>
                         <td><p class="no-margin"><p class="no-margin"><span>{$currency_sign}</span> {$ab_formated.active_deposit}</p></p></td>
                         <td><p class="no-margin">{if $last_deposit}<p class="no-margin"><span>{$currency_sign}</span> {$last_deposit|default:"n/a"}</b> &nbsp; <small>{$last_deposit_date|default:"n/a"}</small></p>{/if}</p></td>
                         <td><p class="no-margin">{if $ab_formated.deposit != 0}<p class="no-margin"><span>{$currency_sign}</span> {$ab_formated.deposit}</p>{/if}</p></td>
                         <td><p class="no-margin">{if $last_withdrawal}<p class="no-margin"><span>{$currency_sign}</span> {$last_withdrawal|default:"n/a"}</b> &nbsp; <small>{$last_withdrawal_date|default:"n/a"}</small></p>{/if}</p></td>
                      </tr>
                      
                      
                    </tbody>
                  </table>
              </div>
            </div>
           
            





{section name=p loop=$ps}
  {if $ps[p].pending_col > 0}{$ps[p].pending_col} {$ps[p].name} deposit{if $ps[p].pending_col > 1}s{/if} of {$currency_sign}{$ps[p].pending_amount} total pending<br>{/if}
{/section}

<br><br>
{if $wires} {$wires} Wire Transfer(s) pending.<br>
{/if}

<a href="#" class="scrollToTop"><i class="fa fa-chevron-up text-white" aria-hidden="true"></i></a>
          </div>
{include file="mfooter.tpl"}