Rev 15227 | Rev 16256 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="container"><div class="row"><div class="col-lg-12 table-responsive"><form class="navbar-form" role="search" method="GET" name="search" action="<?php echo $base_url;?>admin/users/search"><div class="input-group col-xs-6 text-left">Search By:<input type="radio" name="type" value="mobile_number" checked="checked"/>Mobile<input type="radio" name="type" value="email"/>Email<input type="radio" name="type" value="first_name"/>Name<input type="radio" name="type" value="referrer"/>Referral Code<input type="radio" name="type" value="unactivated"/>Activation Pending</div><div class="input-group col-xs-6 text-right" id="remote"><input autocomplete="off" type="text" class="form-control" placeholder="Search for users" name="search" id="srch-term"><div class="input-group-btn w25px"><button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button></div></div></form><?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 $this->Paginator->sort('created');?></th><th> </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><td><?php echo $user['User']['created'];?></td><td><a href="/orders/by/<?php echo $user['User']['id'];?>">Orders</a> | <a href="/cashbacks/by/<?php echo $user['User']['id'];?>">Cashback History</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>