{include file="sections/user-header.tpl"}
{if $unpaid }

{Lang::T('Unpaid Order')}

{Lang::T('expired')} {Lang::dateTimeFormat($unpaid['expired_date'])}
{Lang::T('Plan Name')} {$unpaid['plan_name']}
{Lang::T('Plan Price')} {$unpaid['price']}
{Lang::T('Routers')} {$unpaid['routers']}
{/if}

{Lang::T('Announcement')}

{include file="$_path/../pages/Announcement.html"}

{Lang::T('Your Account Information')}

{if $_c['enable_balance'] == 'yes'} {/if}
{Lang::T('Username')} {$_user['username']}
{Lang::T('Password')}
{Lang::T('Service Type')} {if $_user.service_type == 'Hotspot'} Hotspot {elseif $_user.service_type == 'PPPoE'} PPPoE {elseif $_user.service_type == 'Others' || $_user.service_type == null} Others {/if}
{Lang::T('Balance')} {Lang::moneyFormat($_user['balance'])} {if $_user['auto_renewal'] == 1} {Lang::T('Auto Renewal On')} {else} {Lang::T('Auto Renewal Off')} {/if}
{if $_bills}
{foreach $_bills as $_bill} {if $_bill['routers'] != 'radius'}

{$_bill['routers']}

{if $_bill['type'] != 'Hotspot'} {if $_c['hotspot_plan']==''}Hotspot Plan{else}{$_c['hotspot_plan']}{/if} {else} {if $_c['pppoe_plan']==''}PPPOE Plan{else}{$_c['pppoe_plan']}{/if} {/if}
{else}

{if $_c['radius_plan']==''}Radius Plan{else}{$_c['radius_plan']}{/if}

{/if} {if $nux_ip} {/if} {if $nux_mac} {/if} {if $_bill['type'] == 'Hotspot' && $_bill['status'] == 'on' && $_bill['routers'] != 'radius'} {/if}
{Lang::T('Plan Name')} {$_bill['namebp']} {if $_bill['status'] == 'on'} {Lang::T('Deactivate')} {else} {Lang::T('expired')} {/if}
{Lang::T('Created On')} {if $_bill['time'] ne ''}{Lang::dateAndTimeFormat($_bill['recharged_on'],$_bill['recharged_time'])} {/if} 
{Lang::T('Expires On')} {if $_bill['time'] ne ''}{Lang::dateAndTimeFormat($_bill['expiration'],$_bill['time'])}{/if}  {Lang::T('Recharge')}
{Lang::T('Current IP')} {$nux_ip}
{Lang::T('Current MAC')} {$nux_mac}
{Lang::T('Login Status')}
{/foreach}
{/if} {if $_c['disable_voucher'] == 'yes'} {/if} {if $_bills} {foreach $_bills as $_bill} {if $_bill['type'] == 'Hotspot' && $_bill['status'] == 'on'} {/if} {/foreach} {/if} {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes'}

{Lang::T("Transfer Balance")}

{Lang::T("Recharge a friend")}

{/if}
{if $_c['disable_voucher'] != 'yes'}

{Lang::T('Voucher Activation')}

{Lang::T('Order Voucher')} {if $_c['payment_gateway'] != 'none' or $_c['payment_gateway'] == '' } {Lang::T('Order Package')} {/if}
{/if}
{include file="sections/user-footer.tpl"}