| 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 table-responsive">
|
3 |
<div class="col-lg-12 table-responsive">
|
| 4 |
<h3>List of registered users</h3>
|
4 |
<h3>List of registered users</h3>
|
| 5 |
<?php if(!empty($users)):?>
|
5 |
<?php if(!empty($users)):?>
|
| - |
|
6 |
|
| 6 |
<table class="table table-striped">
|
7 |
<table class="table table-striped">
|
| 7 |
<thead>
|
8 |
<thead>
|
| 8 |
<tr>
|
9 |
<tr>
|
| 9 |
<th><?php echo $this->Paginator->sort('id');?></th>
|
10 |
<th><?php echo $this->Paginator->sort('id');?></th>
|
| 10 |
<th><?php echo $this->Paginator->sort('email');?></th>
|
11 |
<th><?php echo $this->Paginator->sort('email');?></th>
|
| Line 14... |
Line 15... |
| 14 |
<th><?php echo $this->Paginator->sort('utm_medium');?></th>
|
15 |
<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_term');?></th>
|
| 16 |
<th><?php echo $this->Paginator->sort('utm_campaign');?></th>
|
17 |
<th><?php echo $this->Paginator->sort('utm_campaign');?></th>
|
| 17 |
<th><?php echo $this->Paginator->sort('mobile_number');?></th>
|
18 |
<th><?php echo $this->Paginator->sort('mobile_number');?></th>
|
| 18 |
<th><?php echo $this->Paginator->sort('activated');?></th>
|
19 |
<th><?php echo $this->Paginator->sort('activated');?></th>
|
| - |
|
20 |
<th><?php echo ('City');?></th>
|
| - |
|
21 |
<th><?php echo ('State');?></th>
|
| 19 |
<th><?php echo $this->Paginator->sort('created');?></th>
|
22 |
<th><?php echo $this->Paginator->sort('created');?></th>
|
| 20 |
<th>Actions</th>
|
23 |
<th>Actions</th>
|
| 21 |
</tr>
|
24 |
</tr>
|
| 22 |
</thead>
|
25 |
</thead>
|
| 23 |
<tbody>
|
26 |
<tbody>
|
| 24 |
<?php foreach($users AS $user):?>
|
27 |
<?php foreach($users AS $user):?>
|
| 25 |
<tr>
|
28 |
<tr>
|
| - |
|
29 |
|
| 26 |
<td><?php echo $user['User']['id'];?></td>
|
30 |
<td><?php echo $user['User']['id'];?></td>
|
| 27 |
<td><?php echo $user['User']['email'];?></td>
|
31 |
<td><?php echo $user['User']['email'];?></td>
|
| 28 |
<td><?php echo $user['User']['first_name'];?></td>
|
32 |
<td><?php echo $user['User']['first_name'];?></td>
|
| 29 |
<td><?php echo $user['User']['referrer'];?></td>
|
33 |
<td><?php echo $user['User']['referrer'];?></td>
|
| 30 |
<td><?php echo $user['User']['utm_source'];?></td>
|
34 |
<td><?php echo $user['User']['utm_source'];?></td>
|
| 31 |
<td><?php echo $user['User']['utm_medium'];?></td>
|
35 |
<td><?php echo $user['User']['utm_medium'];?></td>
|
| 32 |
<td><?php echo $user['User']['utm_term'];?></td>
|
36 |
<td><?php echo $user['User']['utm_term'];?></td>
|
| 33 |
<td><?php echo $user['User']['utm_campaign'];?></td>
|
37 |
<td><?php echo $user['User']['utm_campaign'];?></td>
|
| 34 |
<td><?php echo $user['User']['mobile_number'];?></td>
|
38 |
<td><?php echo $user['User']['mobile_number'];?></td>
|
| 35 |
<th><?php echo $user['User']['activated'];?></th>
|
39 |
<th><?php echo $user['User']['activated'];?></th>
|
| - |
|
40 |
<th><?php echo $user['User']['city'];?></th>
|
| - |
|
41 |
<th><?php echo $user['User']['state'];?></th>
|
| 36 |
<td><?php echo $user['User']['created'];?></td>
|
42 |
<td><?php echo $user['User']['created'];?></td>
|
| 37 |
<td>
|
43 |
<td>
|
| 38 |
<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>
|
44 |
<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>| <a href="/admin/userAddresses/by/<?php echo $user['User']['id'];?>">Address</a>
|
| 39 |
</td>
|
45 |
</td>
|
| 40 |
</tr>
|
46 |
</tr>
|
| 41 |
<?php endforeach;?>
|
47 |
<?php endforeach;?>
|
| 42 |
</tbody>
|
48 |
</tbody>
|
| 43 |
</table>
|
49 |
</table>
|
| Line 48... |
Line 54... |
| 48 |
));
|
54 |
));
|
| 49 |
?>
|
55 |
?>
|
| 50 |
</p>
|
56 |
</p>
|
| 51 |
<div class="paging">
|
57 |
<div class="paging">
|
| 52 |
<?php
|
58 |
<?php
|
| 53 |
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
|
59 |
echo $this->Paginator->prev('< ' . __('previous '), array(), null, array('class' => 'prev disabled'));
|
| 54 |
echo $this->Paginator->numbers(array('separator' => ''));
|
60 |
echo $this->Paginator->numbers(array('separator' => ' '));
|
| 55 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
61 |
echo $this->Paginator->next(__(' next') . ' >', array(), null, array('class' => 'next disabled'));
|
| 56 |
?>
|
62 |
?>
|
| 57 |
</div>
|
63 |
</div>
|
| 58 |
<?php endif;?>
|
64 |
<?php endif;?>
|
| 59 |
</div>
|
65 |
</div>
|
| 60 |
</div>
|
66 |
</div>
|