From fdadc713af4b2fa5443ae76eb3fc4821a86000f8 Mon Sep 17 00:00:00 2001 From: nestict Date: Sat, 24 May 2025 12:11:28 +0200 Subject: [PATCH] Upload files to "ui/ui" Signed-off-by: nestict --- ui/ui/customers-add.tpl | 215 +++++++++++++++++ ui/ui/customers-edit.tpl | 254 ++++++++++++++++++++ ui/ui/customers-map.tpl | 64 +++++ ui/ui/customers-view.tpl | 263 +++++++++++++++++++++ ui/ui/dashboard.tpl | 499 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 1295 insertions(+) create mode 100644 ui/ui/customers-add.tpl create mode 100644 ui/ui/customers-edit.tpl create mode 100644 ui/ui/customers-map.tpl create mode 100644 ui/ui/customers-view.tpl create mode 100644 ui/ui/dashboard.tpl diff --git a/ui/ui/customers-add.tpl b/ui/ui/customers-add.tpl new file mode 100644 index 0000000..413c8d8 --- /dev/null +++ b/ui/ui/customers-add.tpl @@ -0,0 +1,215 @@ +{include file="sections/header.tpl"} + {assign var="icmcode" value="ICM{rand(000000,999999)}"} + {assign var="itcode" value="IT{rand(500,999)}"} +
+
+
+
+
+
+
{Lang::T('Add New Contact')}
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+
+ {if $_c['country_code_phone']!= ''} + + + {else} + + {/if} + +
+
+
+
+ +
+ +
+
+
+ +
+ + + {Lang::T('User Cannot change this, only admin. if it Empty it will use user password')} + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+
+
+
+
{Lang::T('Attributes')}
+
+ +
+
+ +
+ +
+
+
+
+
+
+
+ +
+
+ +
{Lang::T('Cancel')} +
+
+ {literal} + + + + {/literal} +
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/customers-edit.tpl b/ui/ui/customers-edit.tpl new file mode 100644 index 0000000..cec60bc --- /dev/null +++ b/ui/ui/customers-edit.tpl @@ -0,0 +1,254 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+
+
{Lang::T('Edit Contact')}
+
+
+ +
+ +
+ +
+
+
+ +
+
+ {if $_c['country_code_phone']!= ''} + + {else} + + {/if} + +
+
+
+
+ +
+
+ {if $_c['country_code_phone']!= ''} + + {else} + + {/if} + +
+
+
+
+ +
+ +
+
+
+ +
+
+ {if $_c['country_code_phone']!= ''} + + + {else} + + {/if} + +
+
+
+
+ +
+ + {Lang::T('Keep Blank to do not change Password')} +
+
+
+ +
+ + + {Lang::T('User Cannot change this, only admin. if it Empty it will use user password')} + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+
+
+
+
{Lang::T('Attributes')}
+
+ + {if $customFields} + {foreach $customFields as $customField} +
+ +
+ +
+ +
+ {/foreach} + {/if} + + +
+
+ +
+ +
+
+
+
+
+
+
+
+
+ +
{Lang::T('Cancel')} +
+
+ + {literal} + + + + + {/literal} + +
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/customers-map.tpl b/ui/ui/customers-map.tpl new file mode 100644 index 0000000..3963d39 --- /dev/null +++ b/ui/ui/customers-map.tpl @@ -0,0 +1,64 @@ +{include file="sections/header.tpl"} +
+ +
+
+
+ {literal} + + {/literal} +
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/customers-view.tpl b/ui/ui/customers-view.tpl new file mode 100644 index 0000000..da3f95f --- /dev/null +++ b/ui/ui/customers-view.tpl @@ -0,0 +1,263 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+ avatar + +

{$d['fullname']}

+ +
    +
  • + {Lang::T('Username')} {$d['username']} +
  • +
  • + {Lang::T('Phone Number')} {$d['phonenumber']} +
  • +
  • + {Lang::T('Email')} {$d['email']} +
  • +
+ +
    +
  • + {Lang::T('Password')} +
  • + {if $d['pppoe_password'] != ''} +
  • + PPPOE {Lang::T('Password')} +
  • + {/if} + + {if $customFields} + {foreach $customFields as $customField} +
  • + {$customField.field_name} + {if strpos($customField.field_value, ':0') === false} + {$customField.field_value} + {else} + {Lang::T('Paid')} + {/if} + +
  • + {/foreach} + {/if} + +
  • + {Lang::T('Service Type')} {Lang::T($d['service_type'])} +
  • +
  • + {Lang::T('Account')} {Lang::T($d['account'])} +
  • +
  • + {Lang::T('Account Type')} {Lang::T($d['account_type'])} +
  • +
  • + {Lang::T('Balance')} {Lang::moneyFormat($d['balance'])} +
  • +
  • + {Lang::T('Auto Renewal')} {if + $d['auto_renewal']}yes{else}no + {/if} +
  • +
  • + {Lang::T('Created On')} {Lang::dateTimeFormat($d['created_at'])} +
  • +
  • + {Lang::T('Last Login')} {Lang::dateTimeFormat($d['last_login'])} +
  • + {if $d['coordinates']} +
  • + {Lang::T('Coordinates')} + Get + Directions + +
    +
  • + {/if} +
+
+
+ +
+ +
+
+
+ {foreach $packages as $package} +
+
+

{$package['type']} - {$package['namebp']}

+
    +
  • + {Lang::T('Active')} {if + $package['status']=='on'}yes{else}no + {/if} +
  • +
  • + {Lang::T('Type')} + {if $package['prepaid'] eq yes}Prepaid{else}Postpaid{/if} +
  • +
  • + {Lang::T('Created On')} {Lang::dateAndTimeFormat($package['recharged_on'],$package['recharged_time'])} +
  • +
  • + {Lang::T('Expires On')} {Lang::dateAndTimeFormat($package['expiration'], + $package['time'])} +
  • +
  • + {$package['routers']} {$package['method']} +
  • +
+ +
+
+ {/foreach} + +
+
+
+
+ +
+ + {if Lang::arrayCount($activation)} + + + + + + + + + + + + + + {foreach $activation as $ds} + + + + + + + + + + + {/foreach} + + {/if} + {if Lang::arrayCount($order)} + + + + + + + + + + + + + + + {foreach $order as $ds} + + + + + + + + + + + + {/foreach} + + {/if} +
{Lang::T('Invoice')}{Lang::T('Username')}{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['username']}{$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']}
{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'])}{Lang::dateTimeFormat($ds['created_date'])}{Lang::dateTimeFormat($ds['expired_date'])}{if $ds['status']!=1}{Lang::dateTimeFormat($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"} +
+
+
+
+ + {if $d['coordinates']} + {literal} + + + {/literal} + {/if} +
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/dashboard.tpl b/ui/ui/dashboard.tpl new file mode 100644 index 0000000..2d74d10 --- /dev/null +++ b/ui/ui/dashboard.tpl @@ -0,0 +1,499 @@ + +{include file="sections/header.tpl"} +
+ +
+
+
+
+
+
+
+

{$_c['currency_code']}{number_format($iday,0,$_c['dec_point'],$_c['thousands_sep'])}

+

{Lang::T('Income Today')}

+
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+

{$_c['currency_code']}{number_format($imonth,0,$_c['dec_point'],$_c['thousands_sep'])}

+

{Lang::T('Income This Month')}

+
+ +
+ +
+
+
+
+
+
+
+
+
+

{$u_act}/{$u_all}

+

{Lang::T('Users Active')}

+
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+

{$c_all}

+

{Lang::T('Total Users')}

+
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+

{Lang::T('Online Users')}

+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+

{Lang::T('Data Usage')}

+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+

{Lang::T('Online Hotspot Users')}

+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

+

{Lang::T('Online PPPoE Users')}

+
+
+ +
+
+
+
+
+
+
+
+ + {if $_c['hide_mrc'] != 'yes'} +
+
+ +

{Lang::T('Monthly Customers')}

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

{Lang::T('Total Monthly Sales')}

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

{Lang::T('Expired Users')}

+
+
+ + + + + + + + + + + + + + + {foreach $expire as $expired} + + + + + + + + + + + + {/foreach} +
{Lang::T('Fullname')}{Lang::T('Username')}{Lang::T('Account')}{Lang::T('Created On')}{Lang::T('Expires On')}{Lang::T('Router')}{Lang::T('Package')}{Lang::T('Action')}
{$expired['fullname']}{$expired['username']}{$expired['account']}{Lang::dateAndTimeFormat($expired['recharged_on'],$expired['recharged_time'])} + {Lang::dateAndTimeFormat($expired['expiration'],$expired['time'])} + {$expired['routers']}{$expired['namebp']} + {Lang::T('Recharge')} +
+
+   {include file="pagination.tpl"} +
+
+ {/if} +
+
+ {if $_c['disable_voucher'] != 'yes' && $stocks['unused']>0 || $stocks['used']>0} + {if $_c['hide_vs'] != 'yes'} +
+
Vouchers Stock
+
+ + + + + + + + + + {foreach $plans as $stok} + + + + + + + {/foreach} + + + + + +
{Lang::T('Plan Name')}unusedused
{$stok['name_plan']}{$stok['unused']}{$stok['used']}
Total{$stocks['unused']}{$stocks['used']}
+
+
+ {/if} + {/if} +
+
+
+
+ {if $_c['hide_aui'] != 'yes'} +
+

{Lang::T('All Users Insights')}

+
+ +
+
+ {/if} +
+
+ {if $_c['hide_al'] != 'yes'} +
+ +
+
+
    + {foreach $dlog as $dlogs} +
  • +
    +
    + + {Lang::timeElapsed($dlogs['date'],true)} +

    {$dlogs['description']}

    +
    +
  • + {/foreach} +
+
+
+
+ {/if} +
+
+ + + + + + {include file="sections/footer.tpl"}