| Line 24... |
Line 24... |
| 24 |
<tr>
|
24 |
<tr>
|
| 25 |
<th><?php echo $this->Paginator->sort('id');?></th>
|
25 |
<th><?php echo $this->Paginator->sort('id');?></th>
|
| 26 |
<th><?php echo $this->Paginator->sort('email');?></th>
|
26 |
<th><?php echo $this->Paginator->sort('email');?></th>
|
| 27 |
<th><?php echo $this->Paginator->sort('name');?></th>
|
27 |
<th><?php echo $this->Paginator->sort('name');?></th>
|
| 28 |
<th><?php echo $this->Paginator->sort('referrer');?></th>
|
28 |
<th><?php echo $this->Paginator->sort('referrer');?></th>
|
| 29 |
<th><?php echo $this->Paginator->sort('utm_source');?></th>
|
29 |
<!-- <th><?php echo $this->Paginator->sort('utm_source');?></th>
|
| 30 |
<th><?php echo $this->Paginator->sort('utm_medium');?></th>
|
30 |
<th><?php echo $this->Paginator->sort('utm_medium');?></th>
|
| 31 |
<th><?php echo $this->Paginator->sort('utm_term');?></th>
|
31 |
<th><?php echo $this->Paginator->sort('utm_term');?></th> -->
|
| 32 |
<th><?php echo $this->Paginator->sort('utm_campaign');?></th>
|
32 |
<th><?php echo $this->Paginator->sort('utm_campaign');?></th>
|
| 33 |
<th><?php echo $this->Paginator->sort('mobile_number');?></th>
|
33 |
<th><?php echo $this->Paginator->sort('mobile_number');?></th>
|
| 34 |
<th><?php echo $this->Paginator->sort('activated');?></th>
|
34 |
<th><?php echo $this->Paginator->sort('activated');?></th>
|
| 35 |
<th><?php echo $this->Paginator->sort('last_active');?></th>
|
35 |
<th><?php echo $this->Paginator->sort('last_active');?></th>
|
| 36 |
<th><?php echo $this->Paginator->sort('agent_name');?></th>
|
36 |
<th><?php echo $this->Paginator->sort('agent_name');?></th>
|
| 37 |
<th><?php echo $this->Paginator->sort('retailer_id');?></th>
|
37 |
<th><?php echo $this->Paginator->sort('retailer_id');?></th>
|
| 38 |
<th><?php echo $this->Paginator->sort('created');?></th>
|
38 |
<th><?php echo $this->Paginator->sort('created');?></th>
|
| 39 |
<th> </th>
|
39 |
<th> </th>
|
| - |
|
40 |
<th>App Tab</th>
|
| 40 |
</tr>
|
41 |
</tr>
|
| 41 |
</thead>
|
42 |
</thead>
|
| 42 |
<tbody>
|
43 |
<tbody>
|
| 43 |
<?php foreach($users AS $user):?>
|
44 |
<?php foreach($users AS $user):?>
|
| 44 |
<tr>
|
45 |
<tr>
|
| 45 |
<td><?php echo $user['User']['id'];?></td>
|
46 |
<td><?php echo $user['User']['id'];?></td>
|
| 46 |
<td><?php echo $user['User']['email'];?></td>
|
47 |
<td><?php echo $user['User']['email'];?></td>
|
| 47 |
<td><?php echo $user['User']['first_name'];?></td>
|
48 |
<td><?php echo $user['User']['first_name'];?></td>
|
| 48 |
<td><?php echo $user['User']['referrer'];?></td>
|
49 |
<td><?php echo $user['User']['referrer'];?></td>
|
| 49 |
<td><?php echo $user['User']['utm_source'];?></td>
|
50 |
<!-- <td><?php echo $user['User']['utm_source'];?></td>
|
| 50 |
<td><?php echo $user['User']['utm_medium'];?></td>
|
51 |
<td><?php echo $user['User']['utm_medium'];?></td>
|
| 51 |
<td><?php echo $user['User']['utm_term'];?></td>
|
52 |
<td><?php echo $user['User']['utm_term'];?></td> -->
|
| 52 |
<td><?php echo $user['User']['utm_campaign'];?></td>
|
53 |
<td><?php echo $user['User']['utm_campaign'];?></td>
|
| 53 |
<td><?php echo $user['User']['mobile_number'];?></td>
|
54 |
<td><?php echo $user['User']['mobile_number'];?></td>
|
| 54 |
<th><?php echo $user['User']['activated'];?></th>
|
55 |
<th><?php echo $user['User']['activated'];?></th>
|
| 55 |
<th><?php echo $user['Useractive']['last_active'];?></th>
|
56 |
<th><?php echo $user['Useractive']['last_active'];?></th>
|
| 56 |
<th><?php echo $user['User']['agent_name'];?></th>
|
57 |
<th><?php echo $user['User']['agent_name'];?></th>
|
| 57 |
<th><?php echo $user['User']['retailer_id'];?></th>
|
58 |
<th><?php echo $user['User']['retailer_id'];?></th>
|
| 58 |
<td><?php echo $user['User']['created'];?></td>
|
59 |
<td><?php echo $user['User']['created'];?></td>
|
| 59 |
<td>
|
60 |
<td>
|
| 60 |
<a href="/orders/by/<?php echo $user['User']['id'];?>">Orders</a> | <a href="/cashbacks/by/<?php echo $user['User']['id'];?>">Cashback History</a> | <a href="/admin/userAddresses/by/<?php echo $user['User']['id'];?>">Address</a> | <a href="/admin/appacls/activate/<?php echo $user['User']['id'];?>">Activate App Tab</a>
|
61 |
<a href="/orders/by/<?php echo $user['User']['id'];?>">Orders</a> | <a href="/cashbacks/by/<?php echo $user['User']['id'];?>">Cashback History</a> | <a href="/admin/userAddresses/by/<?php echo $user['User']['id'];?>">Address</a>
|
| - |
|
62 |
</td>
|
| - |
|
63 |
<td>
|
| - |
|
64 |
<a href="/admin/appacls/activate/<?php echo $user['User']['id'];?>"><button type="button" class="btn btn-danger btn-xs">Activate</button></a>
|
| 61 |
</td>
|
65 |
</td>
|
| 62 |
</tr>
|
66 |
</tr>
|
| 63 |
<?php endforeach;?>
|
67 |
<?php endforeach;?>
|
| 64 |
</tbody>
|
68 |
</tbody>
|
| 65 |
</table>
|
69 |
</table>
|