Subversion Repositories SmartDukaan

Rev

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

Rev 16449 Rev 16465
Line 2... Line 2...
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
            <form class="navbar-form" role="search" method="GET" name="search" action="<?php echo $base_url;?>admin/users/search">
4
            <form class="navbar-form" role="search" method="GET" name="search" action="<?php echo $base_url;?>admin/users/search">
5
        		<div class="input-group col-xs-6 text-left">
5
        		<div class="input-group col-xs-6 text-left">
6
        			Search By:         			
6
        			Search By:         			
-
 
7
                    <input type="radio" name="type" value="id"/>Id
7
        			<input type="radio" name="type" value="mobile_number" checked="checked"/>Mobile
8
        			<input type="radio" name="type" value="mobile_number" checked="checked"/>Mobile
8
                    <input type="radio" name="type" value="email"/>Email
9
                    <input type="radio" name="type" value="email"/>Email
9
                    <input type="radio" name="type" value="first_name"/>Name
10
                    <input type="radio" name="type" value="first_name"/>Name
10
                    <input type="radio" name="type" value="referrer"/>Referral Code
11
                    <input type="radio" name="type" value="referrer"/>Referral Code
11
                    <input type="radio" name="type" value="unactivated"/>Activation Pending
12
                    <input type="radio" name="type" value="unactivated"/>Activation Pending
Line 29... Line 30...
29
                        <th><?php echo $this->Paginator->sort('utm_medium');?></th>
30
                        <th><?php echo $this->Paginator->sort('utm_medium');?></th>
30
                        <th><?php echo $this->Paginator->sort('utm_term');?></th>
31
                        <th><?php echo $this->Paginator->sort('utm_term');?></th>
31
                        <th><?php echo $this->Paginator->sort('utm_campaign');?></th>
32
                        <th><?php echo $this->Paginator->sort('utm_campaign');?></th>
32
                        <th><?php echo $this->Paginator->sort('mobile_number');?></th>
33
                        <th><?php echo $this->Paginator->sort('mobile_number');?></th>
33
                        <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>
34
                        <th><?php echo $this->Paginator->sort('agent_name');?></th>
36
                        <th><?php echo $this->Paginator->sort('agent_name');?></th>
35
                        <th><?php echo $this->Paginator->sort('retailer_id');?></th>
37
                        <th><?php echo $this->Paginator->sort('retailer_id');?></th>
36
                        <th><?php echo $this->Paginator->sort('created');?></th>                        
38
                        <th><?php echo $this->Paginator->sort('created');?></th>                        
37
                        <th>&nbsp;</th>  
39
                        <th>&nbsp;</th>  
38
                    </tr>
40
                    </tr>
39
                </thead>
41
                </thead>
40
                <tbody>
42
                <tbody>
41
                <?php foreach($users AS $user):?>
43
                <?php foreach($users AS $user):?>                
42
                    <tr>
44
                    <tr>
43
                        <td><?php echo $user['User']['id'];?></td>
45
                        <td><?php echo $user['User']['id'];?></td>
44
                        <td><?php echo $user['User']['email'];?></td>
46
                        <td><?php echo $user['User']['email'];?></td>
45
                        <td><?php echo $user['User']['first_name'];?></td>
47
                        <td><?php echo $user['User']['first_name'];?></td>
46
                        <td><?php echo $user['User']['referrer'];?></td>
48
                        <td><?php echo $user['User']['referrer'];?></td>
Line 48... Line 50...
48
                        <td><?php echo $user['User']['utm_medium'];?></td>
50
                        <td><?php echo $user['User']['utm_medium'];?></td>
49
                        <td><?php echo $user['User']['utm_term'];?></td>
51
                        <td><?php echo $user['User']['utm_term'];?></td>
50
                        <td><?php echo $user['User']['utm_campaign'];?></td>                
52
                        <td><?php echo $user['User']['utm_campaign'];?></td>                
51
                        <td><?php echo $user['User']['mobile_number'];?></td>
53
                        <td><?php echo $user['User']['mobile_number'];?></td>
52
                        <th><?php echo $user['User']['activated'];?></th>       
54
                        <th><?php echo $user['User']['activated'];?></th>       
-
 
55
                        <th><?php echo $user['Useractive']['last_active'];?></th>     
53
                        <th><?php echo $user['User']['agent_name'];?></th>    
56
                        <th><?php echo $user['User']['agent_name'];?></th>    
54
                        <th><?php echo $user['User']['retailer_id'];?></th>    
57
                        <th><?php echo $user['User']['retailer_id'];?></th>    
55
                        <td><?php echo $user['User']['created'];?></td>
58
                        <td><?php echo $user['User']['created'];?></td>
56
                        <td>
59
                        <td>
57
                            <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>
60
                            <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>