Subversion Repositories SmartDukaan

Rev

Rev 15085 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="container">
        <div class="row">
                <div class="col-lg-12 table-responsive">
                        <div class="searchbar">
                                <form class="navbar-form" role="search" method="GET" name="search">
                                <div class="input-group col-xs-12 text-right" id="remote">
                                    <input autocomplete="off" type="text" class="form-control" placeholder="Search for url" name="q" id="srch-term" value="<?php if(isset($q)){echo $q;}?>">
                                    <div class="input-group-btn w25px">
                                        <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
                                    </div>
                                </div>
                        </form>
                        </div>
                        <h3><?php echo __('User Filters'); ?></h3>
                        <table class="table table-striped">
                        <tr>
                                        <th><?php echo $this->Paginator->sort('id'); ?></th>
                                        <th><?php echo $this->Paginator->sort('user_id'); ?></th>
                                        <th><?php echo $this->Paginator->sort('type'); ?></th>
                                        <th><?php echo $this->Paginator->sort('filters'); ?></th>
                                        <th><?php echo $this->Paginator->sort('created'); ?></th>
                        </tr>
                        <?php foreach ($userFilters as $userFilter): ?>
                        <tr>
                                <td><?php echo h($userFilter['UserFilter']['id']); ?>&nbsp;</td>
                                <td>
                                        <?php echo $this->Html->link($userFilter['User']['username'], array('controller' => 'user_filters', 'action' => 'by', $userFilter['User']['id'])); ?>
                                </td>
                                <td><?php echo h($userFilter['UserFilter']['type']); ?>&nbsp;</td>
                                <td><?php echo h($userFilter['UserFilter']['filters']); ?>&nbsp;</td>
                                <td><?php echo h($userFilter['UserFilter']['created']); ?>&nbsp;</td>           
                        </tr>
                <?php endforeach; ?>
                        </table>
                        <p>
                        <?php
                        echo $this->Paginator->counter(array(
                        'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
                        ));
                        ?>      </p>
                        <div class="paging">
                        <?php
                                echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
                                echo $this->Paginator->numbers(array('separator' => ''));
                                echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
                        ?>
                        </div>
                </div>
        </div>
</div>