From b2eb51fff8e0ef9843f2a8265b32ccfa2512b476 Mon Sep 17 00:00:00 2001 From: nestict Date: Sat, 24 May 2025 12:23:06 +0200 Subject: [PATCH] Upload files to "ui/ui" Signed-off-by: nestict --- ui/ui/user-activation-list.tpl | 44 +++++ ui/ui/user-change-password.tpl | 43 +++++ ui/ui/user-dashboard.tpl | 333 +++++++++++++++++++++++++++++++++ ui/ui/user-logi.tpl | 119 ++++++++++++ ui/ui/user-login.tpl | 63 +++++++ 5 files changed, 602 insertions(+) create mode 100644 ui/ui/user-activation-list.tpl create mode 100644 ui/ui/user-change-password.tpl create mode 100644 ui/ui/user-dashboard.tpl create mode 100644 ui/ui/user-logi.tpl create mode 100644 ui/ui/user-login.tpl diff --git a/ui/ui/user-activation-list.tpl b/ui/ui/user-activation-list.tpl new file mode 100644 index 0000000..c815053 --- /dev/null +++ b/ui/ui/user-activation-list.tpl @@ -0,0 +1,44 @@ +{include file="sections/user-header.tpl"} + + +
+
+
+
{Lang::T('List Activated Voucher')}
+
+
+ + + + + + + + + + + + + + {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-change-password.tpl b/ui/ui/user-change-password.tpl new file mode 100644 index 0000000..1020a83 --- /dev/null +++ b/ui/ui/user-change-password.tpl @@ -0,0 +1,43 @@ +{include file="sections/user-header.tpl"} + + +
+
+
+
{Lang::T('Change Password')}
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+ + Or {Lang::T('Cancel')} +
+
+
+ +
+
+
+
+ +{include file="sections/user-footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-dashboard.tpl b/ui/ui/user-dashboard.tpl new file mode 100644 index 0000000..fb19d73 --- /dev/null +++ b/ui/ui/user-dashboard.tpl @@ -0,0 +1,333 @@ +{include file="sections/user-header.tpl"} +
+
+
+
+
+
+
+ +
+ +

{Lang::moneyFormat($_user['balance'])}

+

{Lang::T('Balance')}

+
+ Refresh +
+
+
+
+ +

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

+ Below are your account details. Auto renew is enabled by default. +
    +
  • {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}
  • + +
+ + +
+
+
+
+
+
+
+
+ {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')}

+
+
+
+
+
+ + {$Announcement_Customer = "{$PAGES_PATH}/Announcement_Customer.html"} + {if file_exists($Announcement_Customer)} + {include file=$Announcement_Customer} + {/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 neq ''} + + + + + {/if} + {if $nux_mac neq ''} + + + + + {/if} + {if $_bill['type'] == 'Hotspot' && $_bill['status'] == 'on' && $_bill['routers'] != 'radius'} + + + + + {/if} + + + + +
{Lang::T('Plan Name')} + {$_bill['namebp']} + {if $_bill['status'] != 'on'} + {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('Type')} + {if $_bill['prepaid'] eq yes}Prepaid{else}Postpaid{/if} + {Lang::T($_bill['plan_type'])} +
{Lang::T('Current IP')}{$nux_ip}
{Lang::T('Current MAC')}{$nux_mac}
{Lang::T('Login Status')} + +
+ {if $_bill['status'] == 'on'} + + {/if} + + {if $_bill['status'] != 'on' && $_bill['prepaid'] != 'yes' && $_c['extend_expired']} + {Lang::T('Extend')} + {/if} + {Lang::T('Recharge')} +
+
+ {/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"} \ No newline at end of file diff --git a/ui/ui/user-logi.tpl b/ui/ui/user-logi.tpl new file mode 100644 index 0000000..b8f0b03 --- /dev/null +++ b/ui/ui/user-logi.tpl @@ -0,0 +1,119 @@ + + + + + + + {Lang::T('Login')} - {$_c['CompanyName']} + + + + + + + +
+ +
+

{$_c['CompanyName']}

+
+
+ {if isset($notify)} +
+ +
{$notify}
+
+ {/if} +
+
+
+
{Lang::T('Announcement')}
+
+ {$Announcement = "{$PAGES_PATH}/Announcement.html"} + {if file_exists($Announcement)} + {include file=$Announcement} + {/if} +
+
+
+
+
+
{Lang::T('Log in to Member Panel')}
+
+
+
+ +
+ {if $_c['country_code_phone']!= ''} + + {else} + + {/if} + +
+ +
+
+ +
+ + +
+
+ + +
+ +
+ +
+
+
+
+ Privacy + • + T & C +
+
+
+
+
+
+
+ + + + + + + + + diff --git a/ui/ui/user-login.tpl b/ui/ui/user-login.tpl new file mode 100644 index 0000000..38edcb6 --- /dev/null +++ b/ui/ui/user-login.tpl @@ -0,0 +1,63 @@ + + + + + + + + {Lang::T('Login')} - {$_c['CompanyName']} + + + + + + + + + + + + + + + + + + + + + + + + + +