From 5242f5a262c8768b9732b8170976d6c246920b16 Mon Sep 17 00:00:00 2001 From: nestict Date: Sat, 24 May 2025 12:24:03 +0200 Subject: [PATCH] Upload files to "ui/ui" Signed-off-by: nestict --- ui/ui/user-login-noreg.tpl | 86 ++++++++ ui/ui/user-orderBalance.tpl | 47 ++++ ui/ui/user-orderHistory.tpl | 126 +++++++++++ ui/ui/user-orderPlan.tpl | 430 ++++++++++++++++++++++++++++++++++++ ui/ui/user-orderView.tpl | 149 +++++++++++++ 5 files changed, 838 insertions(+) create mode 100644 ui/ui/user-login-noreg.tpl create mode 100644 ui/ui/user-orderBalance.tpl create mode 100644 ui/ui/user-orderHistory.tpl create mode 100644 ui/ui/user-orderPlan.tpl create mode 100644 ui/ui/user-orderView.tpl diff --git a/ui/ui/user-login-noreg.tpl b/ui/ui/user-login-noreg.tpl new file mode 100644 index 0000000..ee42443 --- /dev/null +++ b/ui/ui/user-login-noreg.tpl @@ -0,0 +1,86 @@ + + + + + + + {Lang::T('Login')} - {$_c['CompanyName']} + + + + + + + + + +
+ +
+

{$_c['CompanyName']}

+
+
+ {if isset($notify)} +
+ +
{$notify}
+
+ {/if} +
+
+
+
{Lang::T('Announcement')}
+
+ {include file="$_path/../pages/Announcement.html"} +
+
+
+
+
+
{Lang::T('Login / Activate Voucher')}
+
+
+
+ +
+ {if $_c['country_code_phone']!= ''} + + {else} + + {/if} + +
+
+
+ + +
+
+
+ +
+
+
+
+ Privacy + • + ToC +
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ui/ui/user-orderBalance.tpl b/ui/ui/user-orderBalance.tpl new file mode 100644 index 0000000..4c07bc6 --- /dev/null +++ b/ui/ui/user-orderBalance.tpl @@ -0,0 +1,47 @@ +{include file="sections/user-header.tpl"} + +
+
+
+
+
+ + + + + +
+

Top Up your balance

+

You can top up your account balance by choosing a plan below. The balance will ensure continuous internet connection as long as your balance is sufficient.

+
+
+
+
+
+ {if $_c['enable_balance'] == 'yes'} + {foreach $plans_balance as $plan} +
+
+
+
+

{$plan['name_plan']}

+
+
+
+
+ {Lang::T('Price')} + {Lang::moneyFormat($plan['price'])} +
+
+ +
+
+ {/foreach} + {/if} +
+ +{include file="sections/user-footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-orderHistory.tpl b/ui/ui/user-orderHistory.tpl new file mode 100644 index 0000000..c18d6fa --- /dev/null +++ b/ui/ui/user-orderHistory.tpl @@ -0,0 +1,126 @@ +{include file="sections/user-header.tpl"} + +
+ +
+
+
+
+

My Reports

+
+
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + {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"} +
+
+
+ + + + + + + + + + + + + + + {foreach $d as $ds} + + + + + + + + + + {/foreach} + + +
{Lang::T('Invoice')}
{Lang::T('Plan Name')}
{Lang::T('Plan Price')}
{Lang::T('Type')}
{Lang::T('Created On')}
{Lang::T('Expires On')}
{Lang::T('Method')}
{$ds['invoice']}{$ds['plan_name']}{Lang::moneyFormat($ds['price'])}{$ds['type']}{Lang::dateAndTimeFormat($ds['recharged_on'],$ds['recharged_time'])}{Lang::dateAndTimeFormat($ds['expiration'],$ds['time'])}{$ds['method']}
+
+ {include file="pagination.tpl"} +
+
+
+
+
+{include file="sections/user-footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-orderPlan.tpl b/ui/ui/user-orderPlan.tpl new file mode 100644 index 0000000..96afb5e --- /dev/null +++ b/ui/ui/user-orderPlan.tpl @@ -0,0 +1,430 @@ +{include file="sections/user-header.tpl"} + +
+
+
+
+
+ + + + + +
+

Buy or Upgrade Your Package

+

You can buy a package or chose a different package if you wish to upgrade to another package.

+
+
+
+
+
+ {if $_c['radius_enable']} + {if $_user['service_type'] == 'PPPoE'} + {if Lang::arrayCount($radius_pppoe)>0} + +
+ {foreach $radius_pppoe as $plan} +
+
+
+
+

{$plan['name_plan']}

+
+
+
+
+ {Lang::T('Type')} + {$plan['type']} +
+
+ {Lang::T('Price')} + {Lang::moneyFormat($plan['price'])} +
+
+ {Lang::T('Validity')} + {$plan['validity']} {$plan['validity_unit']} +
+
+ +
+
+ {/foreach} +
+ {/if} + {elseif $_user['service_type'] == 'Hotspot'} + {if Lang::arrayCount($radius_hotspot)>0} + +
+ {foreach $radius_hotspot as $plan} +
+
+
+
+

{$plan['name_plan']}

+
+
+
+
+ {Lang::T('Type')} + {$plan['type']} +
+
+ {Lang::T('Price')} + {Lang::moneyFormat($plan['price'])} +
+
+ {Lang::T('Validity')} + {$plan['validity']} {$plan['validity_unit']} +
+
+ +
+
+ {/foreach} +
+ {/if} + {elseif $_user['service_type'] == 'Others' || $_user['service_type'] == '' && (Lang::arrayCount($radius_pppoe)>0 || Lang::arrayCount($radius_hotspot)>0)} + + {if Lang::arrayCount($radius_pppoe)>0} +
+ {foreach $radius_pppoe as $plan} +
+
+
{$plan['name_plan']} +
+
+
+ {Lang::T('Type')} + {$plan['type']} +
+
+ {Lang::T('Price')} + {Lang::moneyFormat($plan['price'])} +
+
+ {Lang::T('Validity')} + {$plan['validity']} {$plan['validity_unit']} +
+
+ +
+
+ {/foreach} +
+ {/if} + {if Lang::arrayCount($radius_hotspot)>0} + +
+ {foreach $radius_hotspot as $plan} +
+
+
+
+

{$plan['name_plan']}

+
+
+
+
+ {Lang::T('Type')} + {$plan['type']} +
+
+ {Lang::T('Price')} + {Lang::moneyFormat($plan['price'])} +
+
+ {Lang::T('Validity')} + {$plan['validity']} {$plan['validity_unit']} +
+
+ +
+
+ {/foreach} +
+ {/if} + {/if} + {/if} + {foreach $routers as $router} + {if Validator::isRouterHasPlan($plans_hotspot, $router['name']) || Validator::isRouterHasPlan($plans_pppoe, $router['name'])} +
+
+
{$router['name']} - {if $router['description'] != ''}{$router['description']} {/if}
+ {if $_user['service_type'] == 'Hotspot' && Validator::countRouterPlan($plans_hotspot, $router['name'])>0} +
{if $_c['hotspot_plan']==''}Hotspot Plan{else}{$_c['hotspot_plan']}{/if} +
+
+ {foreach $plans_hotspot as $plan} + {if $router['name'] eq $plan['routers']} +
+
+
+
+

{$plan['name_plan']}

+
+
+
+
+ {Lang::T('Type')} + {$plan['type']} +
+
+ {Lang::T('Price')} + {Lang::moneyFormat($plan['price'])} +
+
+ {Lang::T('Validity')} + {$plan['validity']} {$plan['validity_unit']} +
+
+ +
+
+ {/if} + {/foreach} +
+ {/if} + {if $_user['service_type'] == 'PPPoE' && Validator::countRouterPlan($plans_pppoe,$router['name'])>0} +
{if $_c['pppoe_plan']==''}PPPOE Plan{else}{$_c['pppoe_plan']}{/if}
+
+ {foreach $plans_pppoe as $plan} + {if $router['name'] eq $plan['routers']} +
+
+
+
+

{$plan['name_plan']}

+
+
+
+
+ {Lang::T('Type')} + {$plan['type']} +
+
+ {Lang::T('Price')} + {Lang::moneyFormat($plan['price'])} +
+
+ {Lang::T('Validity')} + {$plan['validity']} {$plan['validity_unit']} +
+
+ +
+
+ {/if} + {/foreach} +
+ {/if} + {if $_user['service_type'] == 'Others' || $_user['service_type'] == '' && (Validator::countRouterPlan($plans_hotspot, $router['name'])>0 || Validator::countRouterPlan($plans_pppoe, $router['name'])>0)} +
{if $_c['hotspot_plan']==''}Hotspot Plan{else}{$_c['hotspot_plan']}{/if} +
+
+ {foreach $plans_hotspot as $plan} + {if $router['name'] eq $plan['routers']} +
+
+
+
+

{$plan['name_plan']}

+
+
+
+
+ {Lang::T('Type')} + {$plan['type']} +
+
+ {Lang::T('Price')} + {Lang::moneyFormat($plan['price'])} +
+
+ {Lang::T('Validity')} + {$plan['validity']} {$plan['validity_unit']} +
+
+ +
+
+ {/if} + {/foreach} +
+
{if $_c['pppoe_plan']==''}PPPOE Plan{else}{$_c['pppoe_plan']}{/if}
+
+ {foreach $plans_pppoe as $plan} + {if $router['name'] eq $plan['routers']} +
+
+
+
+

{$plan['name_plan']}

+
+
+
+
+ {Lang::T('Type')} + {$plan['type']} +
+
+ {Lang::T('Price')} + {Lang::moneyFormat($plan['price'])} +
+
+ {Lang::T('Validity')} + {$plan['validity']} {$plan['validity_unit']} +
+
+ +
+
+ {/if} + {/foreach} +
+ {/if} +
+
+ {/if} + {/foreach} +
+{include file="sections/user-footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-orderView.tpl b/ui/ui/user-orderView.tpl new file mode 100644 index 0000000..e38f74f --- /dev/null +++ b/ui/ui/user-orderView.tpl @@ -0,0 +1,149 @@ +{include file="sections/user-header.tpl"} + +
+
+
+
+ + {if !in_array($trx['routers'],['balance','radius'])} +
+
+
{$router['name']}
+
+ {$router['description']} +
+
+
+ {/if} +
+ {if $trx['pg_url_payment']=='balance'} + + + + + + + + + + + + {if $trx['plan_name'] == 'Receive Balance'} + + {else} + + {/if} + + + + + + + {if $invoice['note']} + + + + + {/if} + +
{Lang::T('Type')}{$trx['plan_name']}
{Lang::T('Paid Date')}{date($_c['date_format'], strtotime($trx['paid_date']))} + {date('H:i', strtotime($trx['paid_date']))}
{Lang::T('From')}{Lang::T('To')}{$trx['gateway']}
{Lang::T('Total')}{Lang::moneyFormat($trx['price'])}
{Lang::T('Notes')} + {nl2br($invoice['note'])} +
+ {else} + + + + + + + + + + + {if $trx['status']==2} + + + + + {/if} + + + + + {if $add_cost>0} + {foreach $bills as $k => $v} + + + + + {/foreach} + + + + + {/if} + + + + + + + + + {if $plan['type']!='Balance'} + {if $plan['type'] eq 'Hotspot'} + + + + + {if $plan['typebp'] eq 'Limited'} + {if $plan['limit_type'] eq 'Time_Limit' or $plan['limit_type'] eq 'Both_Limit'} + + + + + {/if} + {if $plan['limit_type'] eq 'Data_Limit' or $plan['limit_type'] eq 'Both_Limit'} + + + + + {/if} + {/if} + {/if} + + + + + + + + + {/if} + +
{Lang::T('Status')}{if $trx['status']==1}{Lang::T('UNPAID')}{elseif $trx['status']==2}{Lang::T('PAID')}{elseif $trx['status']==3}{Lang::T('FAILED')}{elseif $trx['status']==4}{Lang::T('CANCELED')}{else}{Lang::T('UNKNOWN')}{/if} +
{Lang::T('expired')}{date($_c['date_format'], strtotime($trx['expired_date']))} + {date('H:i', strtotime($trx['expired_date']))}
{Lang::T('Paid Date')}{date($_c['date_format'], strtotime($trx['paid_date']))} + {date('H:i', strtotime($trx['paid_date']))}
{Lang::T('Plan Name')}{$plan['name_plan']}
{$k}{Lang::moneyFormat($v)}
{Lang::T('Additional Cost')}{Lang::moneyFormat($add_cost)}
{Lang::T('Plan Price')}{if $add_cost>0} + + {Lang::T('Additional Cost')}{/if} + {Lang::moneyFormat($trx['price'])}
{Lang::T('Type')}{$plan['type']}
{Lang::T('Plan_Type')}{Lang::T($plan['typebp'])}
{Lang::T('Time_Limit')}{$ds['time_limit']} {$ds['time_unit']}
{Lang::T('Data_Limit')}{$ds['data_limit']} {$ds['data_unit']}
{Lang::T('Plan Validity')}{$plan['validity']} {$plan['validity_unit']}
{Lang::T('Bandwidth Plans')}{$bandw['name_bw']}
{$bandw['rate_down']}{$bandw['rate_down_unit']}/{$bandw['rate_up']}{$bandw['rate_up_unit']} +
+ {/if} +
+ {if $trx['status']==1} + + {/if} +
+
+
+{include file="sections/user-footer.tpl"} \ No newline at end of file