| 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 table-responsive">
|
| 4 |
<div class="searchbar">
|
4 |
<div class="searchbar">
|
| 5 |
<form class="navbar-form" role="search" method="GET" name="search">
|
5 |
<form class="navbar-form" role="search" method="GET" name="search">
|
| 6 |
<div class="input-group col-xs-12 text-right" id="remote">
|
6 |
<div class="input-group col-xs-12 text-right" id="remote">
|
| 7 |
<input autocomplete="off" type="text" class="form-control" placeholder="Search for url" name="q" id="srch-term" value="<?php if(isset($q)){echo $q;}?>">
|
7 |
<input autocomplete="off" type="text" class="form-control" placeholder="Search for url" name="q" id="srch-term" value="<?php if(isset($q)){echo $q;}?>">
|
| 8 |
<div class="input-group-btn w25px">
|
8 |
<div class="input-group-btn w25px">
|
| Line 15... |
Line 15... |
| 15 |
<table class="table table-striped">
|
15 |
<table class="table table-striped">
|
| 16 |
<tr>
|
16 |
<tr>
|
| 17 |
<th><?php echo $this->Paginator->sort('time'); ?></th>
|
17 |
<th><?php echo $this->Paginator->sort('time'); ?></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 |
<th><?php echo $this->Paginator->sort('ip'); ?></th>
|
| 20 |
</tr>
|
21 |
</tr>
|
| 21 |
<?php foreach ($userUrls as $url): ?>
|
22 |
<?php foreach ($userUrls as $url): ?>
|
| 22 |
<tr>
|
23 |
<tr>
|
| 23 |
<td><?php echo h($url['UserUrl']['time']); ?></td>
|
24 |
<td><?php echo h($url['UserUrl']['time']); ?></td>
|
| 24 |
<!-- <td><?php //echo h($url['UserUrl']['id']); ?> </td> -->
|
25 |
<!-- <td><?php //echo h($url['UserUrl']['id']); ?> </td> -->
|
| 25 |
<td>
|
26 |
<td>
|
| 26 |
<?php echo $this->Html->link($url['User']['username'].' ('.$url['User']['id'].')', array('controller' => 'user_urls', 'action' => 'by', $url['User']['id'])); ?>
|
27 |
<?php echo $this->Html->link($url['User']['username'].' ('.$url['User']['id'].')', array('controller' => 'user_urls', 'action' => 'by', $url['User']['id'])); ?>
|
| 27 |
</td>
|
28 |
</td>
|
| 28 |
<td><?php echo h($url['UserUrl']['url']); ?></td>
|
29 |
<td><?php echo h($url['UserUrl']['url']); ?></td>
|
| - |
|
30 |
<td><?php echo h($url['UserUrl']['ip']); ?></td>
|
| 29 |
</tr>
|
31 |
</tr>
|
| 30 |
<?php endforeach; ?>
|
32 |
<?php endforeach; ?>
|
| 31 |
</table>
|
33 |
</table>
|
| 32 |
<p>
|
34 |
<p>
|
| 33 |
<?php
|
35 |
<?php
|