{layout admin/layout}
{lang wallet.page_title}
{lang wallet.desc}
{lang wallet.run_audit}
{if $flash.message}
{$flash.message}
{/if}
{lang wallet.stat_accounts}
{$stats.accounts}
{lang wallet.stat_points}
{$stats.points}
{lang wallet.stat_balance}
{$balance_sum}
{lang wallet.stat_platform}
{$platform_sum}
{lang wallet.stat_today}
{$stats.today_count}
{lang wallet.stat_pending_ex}
{if $pending > 0}{$pending}{else}0{/if}
{if $is_super}
{lang wallet.adjust_title}

{lang wallet.adjust_help}

{/if}
{lang wallet.recent_tx}
{if !empty($recent)} {loop $recent as $r} {/loop}
ID{lang wallet.col_member}{lang wallet.currency}{lang wallet.col_change}{lang wallet.col_after}{lang wallet.col_scene}{lang wallet.col_time}
{$r.id} {$r.username} {$r.currency_name} {if $r.change > 0}+{/if}{$r.amount_text} {$r.balance_text} {$r.scene_name} {$r.time_format}
{else}
{lang wallet.no_tx}
{/if}

{lang wallet.view_all_tx}

{lang wallet.top_balance}
{if !empty($top)} {loop $top as $t} {/loop}
{lang wallet.user_id}{lang wallet.col_member}{lang wallet.stat_balance}{lang wallet.points}
{$t.user_id} {$t.username} {$t.balance_text} {$t.points}
{else}
{lang wallet.no_accounts}
{/if}