Subversion Repositories SmartDukaan

Rev

Rev 14409 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14401 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-12">
4
			<h3>User's browsing history</h3>
5
				<table cellpadding="0" cellspacing="0">
6
				<tr>
7
						<th><?php echo $this->Paginator->sort('id'); ?></th>
8
						<th><?php echo $this->Paginator->sort('user_id'); ?></th>
9
						<th><?php echo $this->Paginator->sort('url'); ?></th>
10
						<th><?php echo $this->Paginator->sort('created'); ?></th>
11
				</tr>
12
				<?php foreach ($userUrls as $url): ?>
13
				<tr>
14
					<td><?php echo h($url['Userurl']['id']); ?>&nbsp;</td>
15
					<td>
16
						<?php echo $this->Html->link($url['User']['username'], array('controller' => 'users', 'action' => 'view', $url['User']['id'])); ?>
17
					</td>
18
					<td><?php echo h($url['Userurl']['url']); ?>&nbsp;</td>
19
					<td><?php echo h($url['Userurl']['created']); ?>&nbsp;</td>
20
				</tr>
21
			<?php endforeach; ?>
22
				</table>
23
				<p>
24
				<?php
25
				echo $this->Paginator->counter(array(
26
				'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
27
				));
28
				?>	</p>
29
				<div class="paging">
30
				<?php
31
					echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
32
					echo $this->Paginator->numbers(array('separator' => ''));
33
					echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
34
				?>
35
				</div>
36
			</div>
37
		</div>
38
	</div>
39
</div>