diff --git a/ui/ui/admin/customers/view.tpl b/ui/ui/admin/customers/view.tpl index 43b3f656..930d3ea1 100644 --- a/ui/ui/admin/customers/view.tpl +++ b/ui/ui/admin/customers/view.tpl @@ -150,7 +150,7 @@ {foreach $activation as $ds} - {$ds['invoice']} {$ds['username']} diff --git a/ui/ui/customer/change-password.tpl b/ui/ui/customer/change-password.tpl index 9b07ca78..cadf429f 100644 --- a/ui/ui/customer/change-password.tpl +++ b/ui/ui/customer/change-password.tpl @@ -6,7 +6,8 @@
{Lang::T('Change Password')}
-
+
@@ -29,9 +30,8 @@
- - Or {Lang::T('Cancel')} + + Or {Lang::T('Cancel')}
diff --git a/ui/ui/customer/dashboard.tpl b/ui/ui/customer/dashboard.tpl index 77571da3..b9cc75af 100644 --- a/ui/ui/customer/dashboard.tpl +++ b/ui/ui/customer/dashboard.tpl @@ -34,14 +34,14 @@ -
- {else} -
-
-
-
-
- -
- +
+
+ +
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+ {if $p>0} + + {/if} +
- -
-
-
- -
-
- {if $p>0} - - {/if} - -
+
+ + + {foreach $mails as $mail} + + + + + + + {/foreach} + +
+ +
+ {if $mail['date_read'] == null} + + {else} + + {/if} + {$mail['subject']} +
+
+
{$mail['from']}{Lang::dateTimeFormat($mail['date_created'])}
-
- - - {foreach $mails as $mail} - - - - - - - {/foreach} - -
- -
- {if $mail['date_read'] == null} - - {else} - - {/if} - {$mail['subject']} -
-
-
{$mail['from']}{Lang::dateTimeFormat($mail['date_created'])}
-
-
-
- {Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} - {Lang::T('Buy for friend')} + {/if} +
+
+
+ {/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']}
+
+
+ + + + + + + {if $_c['show_bandwidth_plan'] == 'yes'} + + + + + {/if} + + + + + + + + + +
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')}
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} + {if !empty($plan['price_old'])} + {Lang::moneyFormat($plan['price_old'])} + {/if} +
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
+
+
+
+ {Lang::T('Buy')} + {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} + {Lang::T('Buy for friend')} + {/if} +
+
+
+ {/foreach} +
+ {/if} + {if Lang::arrayCount($radius_hotspot)>0} + +
+ {foreach $radius_hotspot as $plan} +
+
+
{$plan['name_plan']}
+
+
+ + + + + + + {if $_c['show_bandwidth_plan'] == 'yes'} + + + + + {/if} + + + + + + + + + +
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')}
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} + {if !empty($plan['price_old'])} + {Lang::moneyFormat($plan['price_old'])} + {/if} +
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
+
+
+
+ {Lang::T('Buy')} + {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && + $_user['balance']>=$plan['price']} + {Lang::T('Buy for friend')} {/if} @@ -120,127 +235,12 @@ {/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']}
-
-
- - - - - - - {if $_c['show_bandwidth_plan'] == 'yes'} - - - - - {/if} - - - - - - - - - -
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')}
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} - {if !empty($plan['price_old'])} - {Lang::moneyFormat($plan['price_old'])} - {/if} -
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
-
-
-
- {Lang::T('Buy')} - {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} - {Lang::T('Buy for friend')} - {/if} -
-
-
- {/foreach} -
- {/if} - {if Lang::arrayCount($radius_hotspot)>0} - -
- {foreach $radius_hotspot as $plan} -
-
-
{$plan['name_plan']}
-
-
- - - - - - - {if $_c['show_bandwidth_plan'] == 'yes'} - - - - - {/if} - - - - - - - - - -
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')}
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} - {if !empty($plan['price_old'])} - {Lang::moneyFormat($plan['price_old'])} - {/if} -
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
-
-
-
- {Lang::T('Buy')} - {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && - $_user['balance']>=$plan['price']} - {Lang::T('Buy for friend')} - {/if} -
-
-
- {/foreach} -
- {/if} {/if} {/if} {foreach $routers as $router} {if Validator::isRouterHasPlan($plans_hotspot, $router['name']) || Validator::isRouterHasPlan($plans_pppoe, - $router['name']) || Validator::isRouterHasPlan($plans_vpn, - $router['name'])} + $router['name']) || Validator::isRouterHasPlan($plans_vpn, + $router['name'])}
{$router['name']}
{if $router['description'] != ''} @@ -268,7 +268,8 @@ {if $_c['show_bandwidth_plan'] == 'yes'} {Lang::T('Bandwidth')} - + + {/if} @@ -289,11 +290,183 @@
- {Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} - {Lang::T('Buy for friend')} + {/if} +
+
+
+ {/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']}
+
+
+ + + + + + + {if $_c['show_bandwidth_plan'] == 'yes'} + + + + + {/if} + + + + + + + + + +
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')} +
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} + {if !empty($plan['price_old'])} + {Lang::moneyFormat($plan['price_old'])} + {/if} +
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
+
+
+
+ {Lang::T('Buy')} + {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} + {Lang::T('Buy for friend')} + {/if} +
+
+
+ {/if} + {/foreach} +
+ {/if} + {if $_user['service_type'] == 'VPN' && Validator::countRouterPlan($plans_vpn,$router['name'])>0} +
{if $_c['vpn_plan']==''}VPN Plan{else}{$_c['vpn_plan']}{/if}
+
+ {foreach $plans_vpn as $plan} + {if $router['name'] eq $plan['routers']} +
+
+
{$plan['name_plan']}
+
+
+ + + + + + + {if $_c['show_bandwidth_plan'] == 'yes'} + + + + + {/if} + + + + + + + + + +
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')} +
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} + {if !empty($plan['price_old'])} + {Lang::moneyFormat($plan['price_old'])} + {/if} +
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
+
+
+
+ {Lang::T('Buy')} + {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} + {Lang::T('Buy for friend')} + {/if} +
+
+
+ {/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 || Validator::countRouterPlan($plans_vpn, + $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']}
+
+
+ + + + + + + {if $_c['show_bandwidth_plan'] == 'yes'} + + + + + {/if} + + + + + + + + + +
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')} +
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} + {if !empty($plan['price_old'])} + {Lang::moneyFormat($plan['price_old'])} + {/if} +
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
+
+
+
+ {Lang::T('Buy')} + {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} + {Lang::T('Buy for friend')} {/if} @@ -303,8 +476,6 @@ {/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} @@ -323,7 +494,8 @@ {if $_c['show_bandwidth_plan'] == 'yes'} {Lang::T('Bandwidth')} - + + {/if} @@ -344,22 +516,20 @@
- {Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} - {Lang::T('Buy for friend')} - {/if} + {Lang::T('Buy for friend')} + {/if} +
-
- {/if} - {/foreach} -
- {/if} - {if $_user['service_type'] == 'VPN' && Validator::countRouterPlan($plans_vpn,$router['name'])>0} + {/if} + {/foreach} +
{if $_c['vpn_plan']==''}VPN Plan{else}{$_c['vpn_plan']}{/if}
{foreach $plans_vpn as $plan} @@ -378,7 +548,8 @@ {if $_c['show_bandwidth_plan'] == 'yes'} {Lang::T('Bandwidth')} - + + {/if} @@ -399,185 +570,20 @@
- {Lang::T('Buy')} {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} - {Lang::T('Buy for friend')} - {/if} -
-
- - {/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 || Validator::countRouterPlan($plans_vpn, - $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']}
-
-
- - - - - - - {if $_c['show_bandwidth_plan'] == 'yes'} - - - - - {/if} - - - - - - - - - -
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')}
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} - {if !empty($plan['price_old'])} - {Lang::moneyFormat($plan['price_old'])} - {/if} -
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
+ {Lang::T('Buy for friend')} + {/if}
-
- {Lang::T('Buy')} - {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} - {Lang::T('Buy for friend')} - {/if}
-
-
- {/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']}
-
-
- - - - - - - {if $_c['show_bandwidth_plan'] == 'yes'} - - - - - {/if} - - - - - - - - - -
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')}
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} - {if !empty($plan['price_old'])} - {Lang::moneyFormat($plan['price_old'])} - {/if} -
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
-
-
-
- {Lang::T('Buy')} - {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} - {Lang::T('Buy for friend')} - {/if} -
-
-
- {/if} - {/foreach} -
-
{if $_c['vpn_plan']==''}VPN Plan{else}{$_c['vpn_plan']}{/if}
-
- {foreach $plans_vpn as $plan} - {if $router['name'] eq $plan['routers']} -
-
-
{$plan['name_plan']}
-
-
- - - - - - - {if $_c['show_bandwidth_plan'] == 'yes'} - - - - - {/if} - - - - - - - - - -
{Lang::T('Type')}{$plan['type']}
{Lang::T('Bandwidth')}
{Lang::T('Price')}{Lang::moneyFormat($plan['price'])} - {if !empty($plan['price_old'])} - {Lang::moneyFormat($plan['price_old'])} - {/if} -
{Lang::T('Validity')}{$plan['validity']} {$plan['validity_unit']}
-
-
-
- {Lang::T('Buy')} - {if $_c['enable_balance'] == 'yes' && $_c['allow_balance_transfer'] == 'yes' && $_user['balance']>=$plan['price']} - {Lang::T('Buy for friend')} - {/if} -
-
-
- {/if} - {/foreach} -
+ {/if} + {/foreach} + {/if} {/if} diff --git a/ui/ui/customer/orderView.tpl b/ui/ui/customer/orderView.tpl index 620ffe4e..153e1905 100644 --- a/ui/ui/customer/orderView.tpl +++ b/ui/ui/customer/orderView.tpl @@ -140,16 +140,16 @@ {/if} -{include file="customer/footer.tpl"} +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/customer/phone-update.tpl b/ui/ui/customer/phone-update.tpl index 8380e143..f30d8007 100644 --- a/ui/ui/customer/phone-update.tpl +++ b/ui/ui/customer/phone-update.tpl @@ -18,15 +18,15 @@ - +
+ - + @@ -34,7 +34,7 @@
-
+
@@ -52,7 +52,7 @@
- Or {Lang::T('Cancel')} + Or {Lang::T('Cancel')}
diff --git a/ui/ui/customer/profile.tpl b/ui/ui/customer/profile.tpl index 5846c2b9..a08b843c 100644 --- a/ui/ui/customer/profile.tpl +++ b/ui/ui/customer/profile.tpl @@ -6,13 +6,14 @@
{Lang::T('Data Change')}
-
+
Foto + onerror="this.src='{$app_url}/{$UPLOAD_PATH}/user.default.jpg'" + class="img-circle img-responsive" alt="Foto" onclick="return deletePhoto({$d['id']})">

@@ -20,7 +21,8 @@
- +
@@ -62,7 +64,8 @@
- + @@ -74,12 +77,13 @@
@@ -102,7 +106,7 @@ - {Lang::T('Change')}
@@ -113,9 +117,9 @@
+ {Lang::T('Save Changes')}
- {Lang::T('Cancel')} + {Lang::T('Cancel')}
@@ -124,4 +128,4 @@
-{include file="customer/footer.tpl"} +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/customer/register-otp.tpl b/ui/ui/customer/register-otp.tpl index b4993a23..62eead98 100644 --- a/ui/ui/customer/register-otp.tpl +++ b/ui/ui/customer/register-otp.tpl @@ -10,7 +10,7 @@
-
+
1. {Lang::T('Register as Member')}
@@ -80,7 +80,7 @@
diff --git a/ui/ui/customer/register-rotp.tpl b/ui/ui/customer/register-rotp.tpl index c166cc48..b861c419 100644 --- a/ui/ui/customer/register-rotp.tpl +++ b/ui/ui/customer/register-rotp.tpl @@ -13,7 +13,7 @@
- +
1. {Lang::T('Register as Member')}
@@ -24,14 +24,15 @@
+ class="glyphicon glyphicon-phone-alt"> + placeholder="{if $_c['country_code_phone']!= '' || $_c['registration_username'] == 'phone'}{$_c['country_code_phone']} {Lang::T('Phone Number')}{else}{Lang::T('Phone Number')}{/if}" + inputmode="numeric" pattern="[0-9]*">
@@ -49,4 +50,4 @@
-{include file="customer/footer-public.tpl"} +{include file="customer/footer-public.tpl"} \ No newline at end of file diff --git a/ui/ui/customer/register.tpl b/ui/ui/customer/register.tpl index ec144d0b..6ba1c001 100644 --- a/ui/ui/customer/register.tpl +++ b/ui/ui/customer/register.tpl @@ -10,7 +10,7 @@
-
+
1. {Lang::T('Register as Member')}
@@ -83,7 +83,7 @@
diff --git a/ui/ui/customer/selectGateway.tpl b/ui/ui/customer/selectGateway.tpl index 2323ffff..f8c96421 100644 --- a/ui/ui/customer/selectGateway.tpl +++ b/ui/ui/customer/selectGateway.tpl @@ -73,7 +73,7 @@ {/if} {if $discount == '' && $plan['type'] neq 'Balance' && $custom == '' && $_c['enable_coupons'] == 'yes'} - +
@@ -143,7 +143,7 @@ - + {if $custom == '1' && $amount neq ''} @@ -165,9 +165,9 @@
- - {Lang::T('Cancel')} + + {Lang::T('Cancel')}