diff --git a/ui/ui/hotspot.tpl b/ui/ui/hotspot.tpl
index d083d0b8..3df4710d 100644
--- a/ui/ui/hotspot.tpl
+++ b/ui/ui/hotspot.tpl
@@ -35,8 +35,8 @@
@@ -44,9 +44,9 @@
@@ -54,8 +54,8 @@
@@ -63,8 +63,8 @@
@@ -72,7 +72,7 @@
@@ -81,7 +81,7 @@
@@ -104,38 +104,40 @@
-
-
-
- |
- {Lang::T('Internet Package')} |
- {Lang::T('Limit')} |
- |
-
- {Lang::T('Expired')} |
- |
-
-
- {Lang::T('Name')} |
- {Lang::T('Type')} |
- Bandwidth |
- {Lang::T('Category')} |
- {Lang::T('Price')} |
- {Lang::T('Validity')} |
- {Lang::T('Time')} |
- {Lang::T('Data')} |
- {Lang::T('Location')} |
- {Lang::T('Device')} |
- {Lang::T('Internet Package')} |
- {Lang::T('Date')} |
- {Lang::T('ID')} |
- {Lang::T('Manage')} |
-
-
-
- {foreach $d as $ds}
+
+
+
+
+ |
+ {Lang::T('Internet Package')} |
+
+ {Lang::T('Limit')} |
+ |
+
+ {Lang::T('Expired')} |
+ |
+
+
+ {Lang::T('Name')} |
+ {Lang::T('Type')} |
+ Bandwidth |
+ {Lang::T('Category')} |
+ {Lang::T('Price')} |
+ {Lang::T('Validity')} |
+ {Lang::T('Time')} |
+ {Lang::T('Data')} |
+ {Lang::T('Location')} |
+ {Lang::T('Device')} |
+ {Lang::T('Internet Package')} |
+ {Lang::T('Date')} |
+ {Lang::T('ID')} |
+ {Lang::T('Manage')} |
+
+
+
+ {foreach $d as $ds}
+ }class="warning" title="Postpaid" {/if}>
{$ds['name_plan']} |
{if $ds['prepaid'] == no}Postpaid{else}Prepaid{/if} {$ds['plan_type']} |
{$ds['name_bw']} |
@@ -146,11 +148,11 @@
{$ds['data_limit']} {$ds['data_unit']} |
{if $ds['is_radius']}
- RADIUS
+ RADIUS
{else}
- {if $ds['routers']!=''}
- {$ds['routers']}
- {/if}
+ {if $ds['routers']!=''}
+ {$ds['routers']}
+ {/if}
{/if}
|
{$ds['device']} |
@@ -163,13 +165,14 @@
{Lang::T('Edit')}
+ onclick="return confirm('{Lang::T('Delete')}?')"
+ class="btn btn-danger btn-xs">
- {/foreach}
-
-
+ {/foreach}
+
+
+
-{include file="sections/footer.tpl"}
+{include file="sections/footer.tpl"}
\ No newline at end of file
diff --git a/ui/ui/plan.tpl b/ui/ui/plan.tpl
index 4cf71280..3cca5861 100644
--- a/ui/ui/plan.tpl
+++ b/ui/ui/plan.tpl
@@ -5,19 +5,19 @@
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
-
- {*
*}
+
+ {*
*}
{/if}
-{Lang::T('Active Customers')}
+ {Lang::T('Active Customers')}
@@ -70,33 +70,34 @@
-
-
-
- {Lang::T('Username')} |
- {Lang::T('Plan Name')} |
- {Lang::T('Type')} |
- {Lang::T('Created On')} |
- {Lang::T('Expires On')} |
- {Lang::T('Method')} |
- {Lang::T('Location')} |
- {Lang::T('Manage')} |
-
-
-
- {foreach $d as $ds}
-
+
+
+
{include file="pagination.tpl"}
@@ -131,10 +133,10 @@
var res = prompt("Extend for many days?", "3");
if (res) {
if (confirm("Extend for " + res + " days?")) {
- window.location.href = "{$_url}plan/extend/"+idP+"/"+res+"&stoken={App::getToken()}";
+ window.location.href = "{$_url}plan/extend/" + idP + "/" + res + "&stoken={App::getToken()}";
}
}
}
-{include file="sections/footer.tpl"}
+{include file="sections/footer.tpl"}
\ No newline at end of file
diff --git a/ui/ui/pppoe.tpl b/ui/ui/pppoe.tpl
index 3c17d6b1..9dfc8711 100644
--- a/ui/ui/pppoe.tpl
+++ b/ui/ui/pppoe.tpl
@@ -35,8 +35,8 @@
@@ -44,9 +44,9 @@
@@ -54,8 +54,8 @@
@@ -63,8 +63,8 @@
@@ -72,7 +72,7 @@
@@ -81,7 +81,7 @@
@@ -104,36 +104,38 @@
-
-
-
- |
- {Lang::T('Internet Plan')} |
- |
-
- {Lang::T('Expired')} |
- |
-
-
- {Lang::T('Name')} |
- {Lang::T('Type')} |
- {Lang::T('Bandwidth')} |
- {Lang::T('Price')} |
- {Lang::T('Validity')} |
- {Lang::T('IP Pool')} |
- {Lang::T('Internet Plan')} |
- {Lang::T('Date')} |
- {Lang::T('Location')} |
- {Lang::T('Device')} |
- {Lang::T('Manage')} |
- ID |
-
-
-
- {foreach $d as $ds}
-
+
+
+
+
+ |
+ {Lang::T('Internet Plan')} |
+ |
+
+ {Lang::T('Expired')} |
+ |
+
+
+ {Lang::T('Name')} |
+ {Lang::T('Type')} |
+ {Lang::T('Bandwidth')} |
+ {Lang::T('Price')} |
+ {Lang::T('Validity')} |
+ {Lang::T('IP Pool')} |
+ {Lang::T('Internet Plan')} |
+ {Lang::T('Date')} |
+ {Lang::T('Location')} |
+ {Lang::T('Device')} |
+ {Lang::T('Manage')} |
+ ID |
+
+
+
+ {foreach $d as $ds}
+
{$ds['name_plan']} |
- {$ds['plan_type']} {if $ds['prepaid'] != 'yes'}{Lang::T('Postpaid')}{else}{Lang::T('Prepaid')}{/if} |
+ {$ds['plan_type']} {if $ds['prepaid'] !=
+ 'yes'}{Lang::T('Postpaid')}{else}{Lang::T('Prepaid')}{/if} |
{$ds['name_bw']} |
{Lang::moneyFormat($ds['price'])} |
{$ds['validity']} {$ds['validity_unit']} |
@@ -144,11 +146,11 @@
{if $ds['prepaid'] == no}{$ds['expired_date']}{/if} |
{if $ds['is_radius']}
- RADIUS
+ RADIUS
{else}
- {if $ds['routers']!=''}
- {$ds['routers']}
- {/if}
+ {if $ds['routers']!=''}
+ {$ds['routers']}
+ {/if}
{/if}
|
{$ds['device']} |
@@ -161,9 +163,10 @@
{$ds['id']} |
- {/foreach}
-
-
+ {/foreach}
+
+
+
-{include file="sections/footer.tpl"}
+{include file="sections/footer.tpl"}
\ No newline at end of file
diff --git a/ui/ui/voucher.tpl b/ui/ui/voucher.tpl
index 6f357b48..abf652f0 100644
--- a/ui/ui/voucher.tpl
+++ b/ui/ui/voucher.tpl
@@ -17,11 +17,12 @@
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
-
+
{/if}
@@ -41,8 +42,8 @@
@@ -50,7 +51,7 @@
@@ -65,7 +66,7 @@
@@ -76,8 +77,8 @@
class="fa fa-search">
@@ -85,24 +86,25 @@
-
-
-
- ID |
- {Lang::T('Type')} |
- {Lang::T('Routers')} |
- {Lang::T('Plan Name')} |
- {Lang::T('Code Voucher')} |
- {Lang::T('Status Voucher')} |
- {Lang::T('Customer')} |
- {Lang::T('Used Date')} |
- {Lang::T('Generated By')} |
- {Lang::T('Manage')} |
-
-
-
- {foreach $d as $ds}
-
+
+
+
+
+ ID |
+ {Lang::T('Type')} |
+ {Lang::T('Routers')} |
+ {Lang::T('Plan Name')} |
+ {Lang::T('Code Voucher')} |
+ {Lang::T('Status Voucher')} |
+ {Lang::T('Customer')} |
+ {Lang::T('Used Date')} |
+ {Lang::T('Generated By')} |
+ {Lang::T('Manage')} |
+
+
+
+ {foreach $d as $ds}
+
{$ds['id']} |
{$ds['type']} |
{$ds['routers']} |
@@ -112,33 +114,35 @@
onmouseenter="this.style.backgroundColor = 'white';">
{$ds['code']}
{if $ds['status'] eq '0'} {else}
+ {else}
{/if} |
{if $ds['user'] eq '0'} -
{else}{$ds['user']}
{/if} |
{if $ds['used_date']}{Lang::dateTimeFormat($ds['used_date'])}{/if} |
{if $ds['generated_by']}
- {$admins[$ds['generated_by']]}
+ {$admins[$ds['generated_by']]}
{else} -
{/if}
|
{if $ds['status'] neq '1'}
- {Lang::T('View')}
+ {Lang::T('View')}
{/if}
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
-
+
{/if}
|
- {/foreach}
-
-
+ {/foreach}
+
+
+
{include file="pagination.tpl"}
-{include file="sections/footer.tpl"}
+{include file="sections/footer.tpl"}
\ No newline at end of file