Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15403 manish.sha 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-12 table-responsive">
4
			<h3>Browsing history (<?php echo $userUrls[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('user_id'); ?></th> -->
9
					<th><?php echo $this->Paginator->sort('url'); ?></th>					
10
				</tr>
11
				<?php foreach ($userUrls as $url): ?>
12
				<tr>
13
					<td><?php echo h($url['UserUrl']['created']); ?>&nbsp;</td>
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
				</tr>
20
			<?php endforeach; ?>
21
			</table>
22
			<p>
23
				<?php
24
				echo $this->Paginator->counter(array(
25
				'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
26
				));
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>