| 13532 |
anikendra |
1 |
<div class="container">
|
|
|
2 |
<div class="row">
|
| 14720 |
anikendra |
3 |
<div class="col-lg-12 table-responsive">
|
| 13532 |
anikendra |
4 |
<h3>List of registered users</h3>
|
|
|
5 |
<?php if(!empty($users)):?>
|
|
|
6 |
<table class="table table-striped">
|
|
|
7 |
<thead>
|
|
|
8 |
<tr>
|
| 14395 |
anikendra |
9 |
<th><?php echo $this->Paginator->sort('id');?></th>
|
| 14394 |
anikendra |
10 |
<th><?php echo $this->Paginator->sort('email');?></th>
|
|
|
11 |
<th><?php echo $this->Paginator->sort('name');?></th>
|
|
|
12 |
<th><?php echo $this->Paginator->sort('referrer');?></th>
|
| 14720 |
anikendra |
13 |
<th><?php echo $this->Paginator->sort('utm_source');?></th>
|
|
|
14 |
<th><?php echo $this->Paginator->sort('utm_medium');?></th>
|
|
|
15 |
<th><?php echo $this->Paginator->sort('utm_term');?></th>
|
|
|
16 |
<th><?php echo $this->Paginator->sort('utm_campaign');?></th>
|
| 14394 |
anikendra |
17 |
<th><?php echo $this->Paginator->sort('mobile_number');?></th>
|
| 14395 |
anikendra |
18 |
<th><?php echo $this->Paginator->sort('created');?></th>
|
| 14401 |
anikendra |
19 |
<th>Actions</th>
|
| 13532 |
anikendra |
20 |
</tr>
|
|
|
21 |
</thead>
|
|
|
22 |
<tbody>
|
|
|
23 |
<?php foreach($users AS $user):?>
|
|
|
24 |
<tr>
|
| 14395 |
anikendra |
25 |
<td><?php echo $user['User']['id'];?></td>
|
| 13532 |
anikendra |
26 |
<td><?php echo $user['User']['email'];?></td>
|
|
|
27 |
<td><?php echo $user['User']['first_name'];?></td>
|
| 14394 |
anikendra |
28 |
<td><?php echo $user['User']['referrer'];?></td>
|
| 14720 |
anikendra |
29 |
<td><?php echo $user['User']['utm_source'];?></td>
|
|
|
30 |
<td><?php echo $user['User']['utm_medium'];?></td>
|
|
|
31 |
<td><?php echo $user['User']['utm_term'];?></td>
|
|
|
32 |
<td><?php echo $user['User']['utm_campaign'];?></td>
|
|
|
33 |
<td><?php echo $user['User']['mobile_number'];?></td>
|
| 14395 |
anikendra |
34 |
<td><?php echo $user['User']['created'];?></td>
|
| 14401 |
anikendra |
35 |
<td>
|
| 14734 |
anikendra |
36 |
<a href="/admin/user_urls/by/<?php echo $user['User']['id'];?>">Browsing History</a> | <a href="/admin/devices/by/<?php echo $user['User']['id'];?>">Device History</a> | <a href="/admin/clicks/by/<?php echo $user['User']['id'];?>">Click History</a>
|
| 14401 |
anikendra |
37 |
</td>
|
| 13532 |
anikendra |
38 |
</tr>
|
|
|
39 |
<?php endforeach;?>
|
|
|
40 |
</tbody>
|
|
|
41 |
</table>
|
|
|
42 |
<p>
|
|
|
43 |
<?php
|
|
|
44 |
echo $this->Paginator->counter(array(
|
|
|
45 |
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
|
|
|
46 |
));
|
|
|
47 |
?>
|
|
|
48 |
</p>
|
|
|
49 |
<div class="paging">
|
|
|
50 |
<?php
|
|
|
51 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
|
|
52 |
echo $this->Paginator->numbers(array('separator' => ''));
|
|
|
53 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
|
|
54 |
?>
|
|
|
55 |
</div>
|
|
|
56 |
<?php endif;?>
|
|
|
57 |
</div>
|
|
|
58 |
</div>
|
|
|
59 |
</div>
|