Subversion Repositories SmartDukaan

Rev

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

Rev 16925 Rev 17346
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>
Line 45... Line 45...
45
                    <tr>
45
                    <tr>
46
                        <td><?php echo $user['User']['id'];?></td>
46
                        <td><?php echo $user['User']['id'];?></td>
47
                        <td><?php echo $user['User']['email'];?></td>
47
                        <td><?php echo $user['User']['email'];?></td>
48
                        <td><?php echo $user['User']['first_name'];?></td>
48
                        <td><?php echo $user['User']['first_name'];?></td>
49
                        <td><?php echo $user['User']['referrer'];?></td>
49
                        <td><?php echo $user['User']['referrer'];?></td>
50
                        <!-- <td><?php echo $user['User']['utm_source'];?></td>
50
                        <!-- <td><?php //echo $user['User']['utm_source'];?></td>
51
                        <td><?php echo $user['User']['utm_medium'];?></td>
51
                        <td><?php //echo $user['User']['utm_medium'];?></td>
52
                        <td><?php echo $user['User']['utm_term'];?></td> -->
52
                        <td><?php //echo $user['User']['utm_term'];?></td> -->
53
                        <td><?php echo $user['User']['utm_campaign'];?></td>                
53
                        <td><?php echo $user['User']['utm_campaign'];?></td>                
54
                        <td><?php echo $user['User']['mobile_number'];?></td>
54
                        <td><?php echo $user['User']['mobile_number'];?></td>
55
                        <th><?php echo $user['User']['activated'];?></th>       
55
                        <th><?php echo $user['User']['activated'];?></th>       
56
                        <th><?php echo $user['Useractive']['last_active'];?></th>     
56
                         <!-- <th><?php //echo $user['Useractive']['last_active'];?></th>   -->
-
 
57
                        <th><?php $x =  intval($user['User']['id']);
-
 
58
                                if(isset($last_act_user_id[$x])){
-
 
59
                                    echo $last_act_user_id[$x];    
-
 
60
                                }
-
 
61
                                
-
 
62
                            ?>
-
 
63
                        </th>
-
 
64
                            
57
                        <th><?php echo $user['User']['agent_name'];?></th>    
65
                        <th><?php echo $user['User']['agent_name'];?></th>    
58
                        <th><?php echo $user['User']['retailer_id'];?></th>    
66
                        <th><?php echo $user['User']['retailer_id'];?></th>    
59
                        <td><?php echo $user['User']['created'];?></td>
67
                        <td><?php echo $user['User']['created'];?></td>
60
                        <td>
68
                        <td>
61
                            <a href="/orders/by/<?php echo $user['User']['id'];?>">Orders</a>&nbsp;|&nbsp;<a href="/cashbacks/by/<?php echo $user['User']['id'];?>">Cashback History</a>&nbsp;|&nbsp;<a href="/admin/userAddresses/by/<?php echo $user['User']['id'];?>">Address</a>
69
                            <a href="/orders/by/<?php echo $user['User']['id'];?>">Orders</a>&nbsp;|&nbsp;<a href="/cashbacks/by/<?php echo $user['User']['id'];?>">Cashback History</a>&nbsp;|&nbsp;<a href="/admin/userAddresses/by/<?php echo $user['User']['id'];?>">Address</a>