2022-09-06 10:31:33 +07:00
|
|
|
{include file="sections/header.tpl"}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
2022-10-17 11:57:39 +07:00
|
|
|
<div class="panel panel-hovered mb20 panel-primary">
|
2022-09-06 10:31:33 +07:00
|
|
|
<div class="panel-heading">{$_L['Hotspot_Plans']}</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="md-whiteframe-z1 mb20 text-center" style="padding: 15px">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<form id="site-search" method="post" action="{$_url}services/hotspot/">
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-addon">
|
|
|
|
<span class="fa fa-search"></span>
|
|
|
|
</div>
|
|
|
|
<input type="text" name="name" class="form-control" placeholder="{$_L['Search_by_Name']}...">
|
|
|
|
<div class="input-group-btn">
|
2023-06-15 16:46:36 +07:00
|
|
|
<button class="btn btn-success" type="submit">{$_L['Search']}</button>
|
2022-09-06 10:31:33 +07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<a href="{$_url}services/add" class="btn btn-primary btn-block waves-effect"><i class="ion ion-android-add"> </i> {$_L['New_Plan']}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-16 14:48:21 +07:00
|
|
|
<div class="table-responsive">
|
2022-11-17 12:36:32 +07:00
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
2022-09-08 10:43:46 +07:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{$_L['Plan_Name']}</th>
|
|
|
|
<th>{$_L['Plan_Type']}</th>
|
|
|
|
<th>{$_L['Bandwidth_Plans']}</th>
|
|
|
|
<th>{$_L['Plan_Price']}</th>
|
|
|
|
<th>{$_L['Time_Limit']}</th>
|
|
|
|
<th>{$_L['Data_Limit']}</th>
|
|
|
|
<th>{$_L['Plan_Validity']}</th>
|
|
|
|
<th>{$_L['Routers']}</th>
|
2023-09-05 16:40:23 +07:00
|
|
|
<th>{Lang::T('Expired IP Pool')}</th>
|
2022-09-08 10:43:46 +07:00
|
|
|
<th>{$_L['Manage']}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{foreach $d as $ds}
|
|
|
|
<tr {if $ds['enabled'] != 1}class="danger" title="disabled"{/if}>
|
|
|
|
<td>{$ds['name_plan']}</td>
|
|
|
|
<td>{$ds['typebp']}</td>
|
|
|
|
<td>{$ds['name_bw']}</td>
|
2023-08-16 09:05:59 +07:00
|
|
|
<td>{Lang::moneyFormat($ds['price'])}</td>
|
2022-09-08 10:43:46 +07:00
|
|
|
<td>{$ds['time_limit']} {$ds['time_unit']}</td>
|
|
|
|
<td>{$ds['data_limit']} {$ds['data_unit']}</td>
|
|
|
|
<td>{$ds['validity']} {$ds['validity_unit']}</td>
|
|
|
|
<td>{$ds['routers']}</td>
|
2023-09-05 16:40:23 +07:00
|
|
|
<td>{$ds['pool_expired']}</td>
|
2022-09-08 10:43:46 +07:00
|
|
|
<td>
|
2023-04-06 09:56:17 +07:00
|
|
|
<a href="{$_url}services/edit/{$ds['id']}" class="btn btn-info btn-xs">{$_L['Edit']}</a>
|
2023-08-14 15:01:47 +07:00
|
|
|
<a href="{$_url}services/delete/{$ds['id']}" id="{$ds['id']}" onclick="return confirm('{$_L['Delete']}?')" class="btn btn-danger btn-xs">{$_L['Delete']}</a>
|
2022-09-08 10:43:46 +07:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{$paginator['contents']}
|
2022-09-06 10:31:33 +07:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{include file="sections/footer.tpl"}
|