Subversion Repositories SmartDukaan

Rev

Details | 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
			<h3>Filter history (<?php echo $userFilters[0]['User']['username'];?>)</h3>
5
			<table class="table table-striped">
6
				<tr>
7
					<th><?php echo $this->Paginator->sort('created'); ?></th>
8
					<th><?php echo $this->Paginator->sort('type'); ?></th>
9
					<th><?php echo $this->Paginator->sort('filters'); ?></th>					
10
				</tr>
11
				<?php foreach ($userFilters as $url): ?>
12
				<tr>
13
					<td><?php echo h($url['UserFilter']['created']); ?>&nbsp;</td>
14
					<td><?php echo h($url['UserFilter']['type']); ?>&nbsp;</td>
15
					<td><?php echo h($url['UserFilter']['filters']); ?>&nbsp;</td>					
16
				</tr>
17
			<?php endforeach; ?>
18
			</table>
19
			<p>
20
				<?php
21
				echo $this->Paginator->counter(array(
22
				'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
23
				));
24
				?>	
25
			</p>
26
			<div class="paging">
27
			<?php
28
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
29
				echo $this->Paginator->numbers(array('separator' => ''));
30
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
31
			?>
32
			</div>
33
		</div>
34
	</div>
35
</div>