Subversion Repositories SmartDukaan

Rev

Rev 14420 | Rev 17101 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14401 anikendra 1
<div class="container">
2
	<div class="row">
14734 anikendra 3
		<div class="col-lg-12 table-responsive">
14420 anikendra 4
			<h3>Browsing history (<?php echo $userUrls[0]['User']['username'];?>)</h3>
14409 anikendra 5
			<table class="table table-striped">
14401 anikendra 6
				<tr>
14409 anikendra 7
					<th><?php echo $this->Paginator->sort('created'); ?></th>
14420 anikendra 8
					<!-- <th><?php //echo $this->Paginator->sort('user_id'); ?></th> -->
9
					<th><?php echo $this->Paginator->sort('url'); ?></th>					
14401 anikendra 10
				</tr>
11
				<?php foreach ($userUrls as $url): ?>
12
				<tr>
14409 anikendra 13
					<td><?php echo h($url['UserUrl']['created']); ?>&nbsp;</td>
14420 anikendra 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>					
14401 anikendra 19
				</tr>
20
			<?php endforeach; ?>
14409 anikendra 21
			</table>
22
			<p>
14401 anikendra 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
				));
14409 anikendra 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
			?>
14401 anikendra 35
			</div>
36
		</div>
37
	</div>
38
</div>