Subversion Repositories SmartDukaan

Rev

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

Rev 14434 Rev 14509
Line 13... Line 13...
13
			</div>
13
			</div>
14
			<h3>Browsing history</h3>
14
			<h3>Browsing history</h3>
15
			<table class="table table-striped">
15
			<table class="table table-striped">
16
				<tr>
16
				<tr>
17
					<th><?php echo $this->Paginator->sort('created'); ?></th>
17
					<th><?php echo $this->Paginator->sort('created'); ?></th>
18
					<th><?php //echo $this->Paginator->sort('user_id'); ?></th>
18
					<th><?php echo $this->Paginator->sort('user_id'); ?></th>
19
					<th><?php echo $this->Paginator->sort('url'); ?></th>					
19
					<th><?php echo $this->Paginator->sort('url'); ?></th>					
20
				</tr>
20
				</tr>
21
				<?php foreach ($userUrls as $url): ?>
21
				<?php foreach ($userUrls as $url): ?>
22
				<tr>
22
				<tr>
23
					<td><?php echo h($url['UserUrl']['created']); ?>&nbsp;</td>
23
					<td><?php echo h($url['UserUrl']['created']); ?>&nbsp;</td>
24
					<!-- <td><?php //echo h($url['UserUrl']['id']); ?>&nbsp;</td> -->
24
					<!-- <td><?php //echo h($url['UserUrl']['id']); ?>&nbsp;</td> -->
25
					<td>
25
					<td>
26
						<?php echo $this->Html->link($url['User']['username'], array('controller' => 'users', 'action' => 'view', $url['User']['id'])); ?>
26
						<?php echo $this->Html->link($url['User']['username'], array('controller' => 'user_urls', 'action' => 'by', $url['User']['id'])); ?>
27
					</td>
27
					</td>
28
					<td><?php echo h($url['UserUrl']['url']); ?>&nbsp;</td>					
28
					<td><?php echo h($url['UserUrl']['url']); ?>&nbsp;</td>					
29
				</tr>
29
				</tr>
30
			<?php endforeach; ?>
30
			<?php endforeach; ?>
31
			</table>
31
			</table>