Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
15094 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-12 table-responsive">
4
			<div class="searchbar">
5
				<form class="navbar-form" role="search" method="GET" name="search">
6
			        <div class="input-group col-xs-12 text-right" id="remote">
7
			            <input autocomplete="off" type="text" class="form-control" placeholder="Search for url" name="q" id="srch-term" value="<?php if(isset($q)){echo $q;}?>">
8
			            <div class="input-group-btn w25px">
9
			                <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
10
			            </div>
11
			        </div>
12
		        </form>
13
			</div>
14
			<h3><?php echo __('User Filters'); ?></h3>
15
			<table class="table table-striped">
16
			<tr>
17
					<th><?php echo $this->Paginator->sort('id'); ?></th>
18
					<th><?php echo $this->Paginator->sort('user_id'); ?></th>
19
					<th><?php echo $this->Paginator->sort('type'); ?></th>
20
					<th><?php echo $this->Paginator->sort('filters'); ?></th>
21
					<th><?php echo $this->Paginator->sort('created'); ?></th>
22
			</tr>
23
			<?php foreach ($userFilters as $userFilter): ?>
24
			<tr>
25
				<td><?php echo h($userFilter['UserFilter']['id']); ?>&nbsp;</td>
26
				<td>
27
					<?php echo $this->Html->link($userFilter['User']['username'], array('controller' => 'user_filters', 'action' => 'by', $userFilter['User']['id'])); ?>
28
				</td>
29
				<td><?php echo h($userFilter['UserFilter']['type']); ?>&nbsp;</td>
30
				<td><?php echo h($userFilter['UserFilter']['filters']); ?>&nbsp;</td>
31
				<td><?php echo h($userFilter['UserFilter']['created']); ?>&nbsp;</td>		
32
			</tr>
33
		<?php endforeach; ?>
34
			</table>
35
			<p>
36
			<?php
37
			echo $this->Paginator->counter(array(
38
			'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
39
			));
40
			?>	</p>
41
			<div class="paging">
42
			<?php
43
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
44
				echo $this->Paginator->numbers(array('separator' => ''));
45
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
46
			?>
47
			</div>
48
		</div>
15085 anikendra 49
	</div>
50
</div>