Subversion Repositories SmartDukaan

Rev

Rev 14401 | Rev 14420 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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