Rev 15785 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="container"><div class="row"><div class="col-lg-12 table-responsive"><h3>List of registered users</h3><?php if(!empty($users)):?><table class="table table-striped"><thead><tr><th><?php echo $this->Paginator->sort('id');?></th><th><?php echo $this->Paginator->sort('email');?></th><th><?php echo $this->Paginator->sort('name');?></th><th><?php echo $this->Paginator->sort('referrer');?></th><th><?php echo $this->Paginator->sort('utm_source');?></th><th><?php echo $this->Paginator->sort('utm_medium');?></th><th><?php echo $this->Paginator->sort('utm_term');?></th><th><?php echo $this->Paginator->sort('utm_campaign');?></th><th><?php echo $this->Paginator->sort('mobile_number');?></th><th><?php echo $this->Paginator->sort('activated');?></th><th><?php echo ('RetailerId');?></th><th><?php echo ('City');?></th><th><?php echo ('State');?></th><th><?php echo $this->Paginator->sort('created');?></th><th>Actions</th></tr></thead><tbody><?php foreach($users AS $user):?><tr><td><?php echo $user['User']['id'];?></td><td><?php echo $user['User']['email'];?></td><td><?php echo $user['User']['first_name'];?></td><td><?php echo $user['User']['referrer'];?></td><td><?php echo $user['User']['utm_source'];?></td><td><?php echo $user['User']['utm_medium'];?></td><td><?php echo $user['User']['utm_term'];?></td><td><?php echo $user['User']['utm_campaign'];?></td><td><?php echo $user['User']['mobile_number'];?></td><th><?php echo $user['User']['activated'];?></th><th><?php echo $user['User']['retailer_id'];?></th><th><?php echo $user['User']['city'];?></th><th><?php echo $user['User']['state'];?></th><td><?php echo $user['User']['created'];?></td><td><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></td></tr><?php endforeach;?></tbody></table><p><?phpecho $this->Paginator->counter(array('format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')));?></p><div class="paging"><?phpecho $this->Paginator->prev('< ' . __('previous '), array(), null, array('class' => 'prev disabled'));echo $this->Paginator->numbers(array('separator' => ' '));echo $this->Paginator->next(__(' next') . ' >', array(), null, array('class' => 'next disabled'));?></div><?php endif;?></div></div></div>