{include file="sections/user-header.tpl"}
{Lang::T('Order History')}
{foreach $d as $ds} {/foreach}
{Lang::T('Plan Name')} {Lang::T('Gateway')} {Lang::T('Routers')} {Lang::T('Type')} {Lang::T('Plan Price')} {Lang::T('Created On')} {Lang::T('Expires On')} {Lang::T('Date Done')} {Lang::T('Method')}
{$ds['plan_name']} {$ds['gateway']} {$ds['routers']} {$ds['payment_channel']} {Lang::moneyFormat($ds['price'])} {date("{$_c['date_format']} H:i", strtotime($ds['created_date']))} {date("{$_c['date_format']} H:i", strtotime($ds['expired_date']))} {if $ds['status']!=1}{date("{$_c['date_format']} H:i", strtotime($ds['paid_date']))}{/if} {if $ds['status']==1}{Lang::T('UNPAID')} {elseif $ds['status']==2}{Lang::T('PAID')} {elseif $ds['status']==3}{$_L['FAILED']} {elseif $ds['status']==4}{Lang::T('CANCELED')} {elseif $ds['status']==5}{Lang::T('UNKNOWN')} {/if}
{include file="pagination.tpl"}
{include file="sections/user-footer.tpl"}