User Dashboard
Following Codes will help in integrating the functions in to the User Dashboard.
General Dashboard Functions
In tmpl
folder we have already added a file name account_main.tpl
you can check code there
Your url for Dashboard page will be
yourdomain.com/dashboard
These variables will help you create an awesome Dashboard:
User Name
{$userinfo.username}
User Full Name
{$userinfo.full_name}
User Email
{$userinfo.email}
User Sponsor/Referral Name
{$userinfo.sponsor}
User Total Balance
{$ab_formated.total}
User Live Earning
{number_format($expected,8)}
User Bitcoin Balance
{$userinfo.balances.1.balance|amount_format}
User Perfect Money Balance
{$userinfo.balances.2.balance|amount_format}
User Account Balance
{$userinfo.balances.3.balance|amount_format}
User Active Deposit
{$userinfo.deposit|default:"n/a"}
User Last Deposit
{$last_deposit|default:"n/a"}
User Last Deposit Date
{$last_deposit_date|default:"n/a"}
User Total Deposit
{$ab_formated.deposit}
User Last Withdrawal
{$last_withdrawal|default:"n/a"}
User Last Withdrawal Date
{$last_withdrawal_date|default:"n/a"}
User Total Withdrawal
{$ab_formated.withdrawal}
User Pending Withdrawal
{$ab_formated.withdraw_pending}
User Total Earning
{$ab_formated.earning}
User Last Access
{$last_access|default:"n/a"}
User Perfect Money Account
{$userinfo.perfectmoney_acc}
User Bitcoin Account
{$userinfo.bitcoin_acc}
Utilities
To warn your users through alerts we have different alerts settings.
This is universal code for showing alert's or notification on any page like Contact - Login - Register - Deposit - Withdrawal
{if $alert}
<div class="{$alert_class}">
<span>{$alert_message}</span>
</div>
{/if}
Last updated