{include file="sections/header.tpl"}
            <div class="container-fluid">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="card card-hovered mb20 card-primary">
                            <div class="card-header" style="display: grid; align-content: center; justify-content: center;">
                                <h5 class="card-title">{Lang::T('Bandwidth Plans')}</h5></div>
                                <div class="card-body">
                                    <div class="md-whiteframe-z1 mb20 text-center row" style="padding: 15px">
                                        <div class="col-md-8">
                                            <form id="site-search" method="post" action="{$_url}bandwidth/list/">
                                            <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="{Lang::T('Search by Name')}...">
                                                <button class="btn btn-success" type="submit"><i class="fa fa-search"></i>{Lang::T('Search')}</button>
                                                <!-- <div class="input-group-btn">
                                                </div> -->
                                            </div>
                                            </form>
                                        </div>
                                        <div class="col-md-4">
                                            <a href="{$_url}bandwidth/add" class="btn btn-primary btn-block"><i class="fa fa-plus"> </i> {Lang::T('New Bandwidth')}</a>
                                        </div>&nbsp;
                                    </div>
                                    <div class="table-responsive">
                                        <table class="table table-bordered table-condensed table-striped table_mobile">
                                            <thead>
                                                <tr>
                                                    <th>{Lang::T('Bandwidth Name')}</th>
                                                    <th>{Lang::T('Rate')}</th>
                                                    <th>{Lang::T('Burst')}</th>
                                                    <th>{Lang::T('Manage')}</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                            {foreach $d as $ds}
                                                <tr>
                                                    <td>{$ds['name_bw']}</td>
                                                    <td>{$ds['rate_down']} {$ds['rate_down_unit']} / {$ds['rate_up']} {$ds['rate_up_unit']}</td>
                                                    <td>{$ds['burst']}</td>
                                                    <td>
                                                        <a href="{$_url}bandwidth/edit/{$ds['id']}" class="btn btn-sm btn-warning"><i class="fa fa-edit"></i>{Lang::T('Edit')}</a>
                                                        <a href="{$_url}bandwidth/delete/{$ds['id']}" id="{$ds['id']}" class="btn btn-danger btn-sm" onclick="return confirm('{Lang::T('Delete')}?')" ><i class="fa fa-trash"></i></a>
                                                    </td>
                                                </tr>
                                            {/foreach}
                                            </tbody>
                                        </table>
                                    </div>
                                    {include file="pagination.tpl"}
                                </div>
                            </div>
                        </div>
                    </div>
            </div>
{include file="sections/footer.tpl"}