From ce6b63f3a3188712099c08f24482f2938dec077b Mon Sep 17 00:00:00 2001 From: nestict Date: Sat, 24 May 2025 12:17:47 +0200 Subject: [PATCH] Upload files to "ui/ui" Signed-off-by: nestict --- ui/ui/onlinehotspot.tpl | 78 ++++++++++++++++++++++++++++++++++ ui/ui/page-edit.tpl | 63 ++++++++++++++++++++++++++++ ui/ui/pagination.tpl | 20 +++++++++ ui/ui/paymentgateway.tpl | 35 ++++++++++++++++ ui/ui/plan.tpl | 91 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 287 insertions(+) create mode 100644 ui/ui/onlinehotspot.tpl create mode 100644 ui/ui/page-edit.tpl create mode 100644 ui/ui/pagination.tpl create mode 100644 ui/ui/paymentgateway.tpl create mode 100644 ui/ui/plan.tpl diff --git a/ui/ui/onlinehotspot.tpl b/ui/ui/onlinehotspot.tpl new file mode 100644 index 0000000..7800a4c --- /dev/null +++ b/ui/ui/onlinehotspot.tpl @@ -0,0 +1,78 @@ + + + + + + Online Hotspot Users + + + + + + + +
+

Online Hotspot Users

+ + + + + + + + + + + + + + + + + {foreach $onlineHotspotUsers as $user} + + + + + + + + + + + + + {/foreach} + +
UsernameAddressUptimeServerMACSession TimeRx BytesTx BytesTotal BytesAction
{$user.username}{$user.address}{$user.uptime}{$user.server}{$user.mac}{$user.session_time}{$user.rx_bytes}{$user.tx_bytes}{$user.total}
+
+ + + diff --git a/ui/ui/page-edit.tpl b/ui/ui/page-edit.tpl new file mode 100644 index 0000000..2e33b98 --- /dev/null +++ b/ui/ui/page-edit.tpl @@ -0,0 +1,63 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+

{$pageHeader}

+
+ +
+
+
+
{$htmls}
+ {if $writeable} + + {else} + + {/if} + {if $PageFile=='Voucher'} + + {/if} +
+
+
+ + + {literal} + + {/literal} +
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/pagination.tpl b/ui/ui/pagination.tpl new file mode 100644 index 0000000..5bf0452 --- /dev/null +++ b/ui/ui/pagination.tpl @@ -0,0 +1,20 @@ +{if $paginator} + +{/if} \ No newline at end of file diff --git a/ui/ui/paymentgateway.tpl b/ui/ui/paymentgateway.tpl new file mode 100644 index 0000000..a153fa6 --- /dev/null +++ b/ui/ui/paymentgateway.tpl @@ -0,0 +1,35 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+
+

{Lang::T('Payment Gateway')}

+
+
+ + + {foreach $pgs as $pg} + + + + + + {/foreach} + +
{ucwords($pg)} +
+
+ +
+
+
+
+
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/plan.tpl b/ui/ui/plan.tpl new file mode 100644 index 0000000..6e99e20 --- /dev/null +++ b/ui/ui/plan.tpl @@ -0,0 +1,91 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+

Plans

+ {if in_array($_admin['user_type'],['SuperAdmin','Admin'])} +
+
+ sync +
+
+ CSV +
+
+ {/if} +   +
+
+
+
+ +
+   +
+
+ + + + + + + + + + + + + + + + {foreach $d as $ds} + + + + + + + + + + + + {/foreach} + +
{Lang::T('Username')}{Lang::T('Plan Name')}{Lang::T('Plan Type')}{Lang::T('Type')}{Lang::T('Created On')}{Lang::T('Expires On')}{Lang::T('Method')}{Lang::T('Routers')}{Lang::T('Manage')}
{$ds['username']}{$ds['namebp']}{$ds['type']}{$ds['plan_type']}{Lang::dateAndTimeFormat($ds['recharged_on'],$ds['recharged_time'])}{Lang::dateAndTimeFormat($ds['expiration'],$ds['time'])}{$ds['method']}{$ds['routers']} + {Lang::T('Edit')} + {if in_array($_admin['user_type'],['SuperAdmin','Admin'])} + + {/if} +
+
+ {include file="pagination.tpl"} +
+
+
+
+
+{include file="sections/footer.tpl"} \ No newline at end of file