diff --git a/ui/ui/ppp_users.tpl b/ui/ui/ppp_users.tpl new file mode 100644 index 0000000..52c54bf --- /dev/null +++ b/ui/ui/ppp_users.tpl @@ -0,0 +1,69 @@ +{include file="sections/header.tpl"} +
+
+
+
+
{Lang::T('Hotspot Users')}
+
+
+ + + + + + + + + + + + + + + + + + +
{Lang::T('Username')}{Lang::T('Address')}{Lang::T('Uptime')}{Lang::T('Server')}{Lang::T('MAC Address')}{Lang::T('Session Time')}{Lang::T('Upload')}{Lang::T('Download')}{Lang::T('Total')}{Lang::T('Action')}
+
+
+
+ {include file="pagination.tpl"} +
+
+
+{include file="sections/footer.tpl"} + + + + \ No newline at end of file diff --git a/ui/ui/pppoe-add.tpl b/ui/ui/pppoe-add.tpl new file mode 100644 index 0000000..26b4ed2 --- /dev/null +++ b/ui/ui/pppoe-add.tpl @@ -0,0 +1,181 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+

{Lang::T('Add Service Plan')}

+
+
+
+
+ +
+ Enable + Disable +
+
+
+ +
+ Prepaid + Postpaid +
+
+ +
+ +
+ Personal + Business +
+
+ + {if $_c['radius_enable']} +
+ +
+ Radius Plan +
+

{Lang::T('Cannot be change after saved')}

+
+ {/if} +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ {$_c['currency_code']} + +
+
+
+
+ +
+ +
+
+ +
+

{Lang::T('1 Period = 1 Month, Expires the 20th of each month')}

+
+
+ +
+ +

{Lang::T('Cannot be change after saved')}

+
+
+
+ +
+ +
+
+ {Lang::T('Expired Action')} {Lang::T('Optional')} +
+ +
+ +
+
+ {*
+ +
+ +
+
*} +
+
+
+ + Or {Lang::T('Cancel')} +
+
+
+
+
+
+
+
+ + {if $_c['radius_enable']} + {literal} + + {/literal} + {/if} +
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/pppoe-edit.tpl b/ui/ui/pppoe-edit.tpl new file mode 100644 index 0000000..f9a9138 --- /dev/null +++ b/ui/ui/pppoe-edit.tpl @@ -0,0 +1,183 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+

{Lang::T('Edit Service Plan')} || {$d['name_plan']}

+
+
+
+ +
+ +
+ Enable + Disable +
+
+
+ +
+ + Prepaid + Postpaid +
+
+
+ +
+ + Personal + Business +
+
+ {if $_c['radius_enable'] and $d['is_radius']} +
+ +
+ +
+
+ {/if} +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ {$_c['currency_code']} + +
+
+
+
+ +
+ +
+
+ +
+

+ {Lang::T('1 Period = 1 Month, Expires the 20th of each month')}

+
+
+ +
+ +
+
+
+ +
+ +
+
+ {Lang::T('Expired Action')} {Lang::T('Optional')} +
+ +
+ +
+
+ {*
+ +
+ +
+
*} +
+
+
+ + Or {Lang::T('Cancel')} +
+
+
+
+
+
+
+
+ + {if $_c['radius_enable'] && $d['is_radius']} + {literal} + + {/literal} + {/if} +
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/pppoe.tpl b/ui/ui/pppoe.tpl new file mode 100644 index 0000000..9b9a91f --- /dev/null +++ b/ui/ui/pppoe.tpl @@ -0,0 +1,92 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+

{Lang::T('PPPOE Plans')}

+
+ sync +
+
+
+
+
+ +
+   +
+
+ + + + + + + + + + + + + + + + + {foreach $d as $ds} + + + + + + + + + + + + + {/foreach} + +
{Lang::T('Plan Name')}{Lang::T('Plan Type')}{Lang::T('Bandwidth Plans')}{Lang::T('Plan Price')}{Lang::T('Plan Validity')}{Lang::T('IP Pool')}{Lang::T('Expired IP Pool')}{Lang::T('Routers')}{Lang::T('Manage')}ID
{$ds['name_plan']}{$ds['plan_type']} {if $ds['prepaid'] != 'yes'}Postpaid{else}Prepaid{/if}{$ds['name_bw']}{Lang::moneyFormat($ds['price'])}{$ds['validity']} {$ds['validity_unit']}{$ds['pool']}{$ds['pool_expired']}{if $ds['list_expired']} + {if $ds['pool_expired']} | + {/if}{$ds['list_expired']} + {/if} + {if $ds['is_radius']} + RADIUS + {else} + {if $ds['routers']!=''} + {$ds['routers']} + {/if} + {/if} + + {Lang::T('Edit')} + + {$ds['id']}
+
+ {include file="pagination.tpl"} +
+
+
+
+
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/print-by-date.tpl b/ui/ui/print-by-date.tpl new file mode 100644 index 0000000..50dc4dc --- /dev/null +++ b/ui/ui/print-by-date.tpl @@ -0,0 +1,74 @@ + + + + {$_title} + + + + + + + + + +
+
+
+

{Lang::T('All Transactions at Date')}: {date($_c['date_format'], strtotime($mdate))}

+
+ + + + + + + + + + {foreach $d as $ds} + + + + + + + + + + + {/foreach} +
{Lang::T('Username')}{Lang::T('Plan Name')}{Lang::T('Type')}{Lang::T('Plan Price')}{Lang::T('Created On')}{Lang::T('Expires On')}{Lang::T('Method')}{Lang::T('Routers')}
{$ds['username']}{$ds['plan_name']}{$ds['type']}{Lang::moneyFormat($ds['price'])}{Lang::dateAndTimeFormat($ds['recharged_on'],$ds['recharged_time'])}{Lang::dateAndTimeFormat($ds['expiration'],$ds['time'])}{$ds['method']}{$ds['routers']}
+
+
+

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

+

{$_c['currency_code']} {number_format($dr,2,$_c['dec_point'],$_c['thousands_sep'])}

+
+
+ +
+
+ + +{if isset($xfooter)} + {$xfooter} +{/if} + + + + \ No newline at end of file