Subversion Repositories SmartDukaan

Rev

Rev 13532 | Rev 14395 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
13532 anikendra 1
<div class="container">
2
	<div class="row">
3
		<div class="col-lg-12">
4
			<h3>List of registered users</h3>
5
			<?php if(!empty($users)):?>
6
			<table class="table table-striped">
7
				<thead>
8
					<tr>
14394 anikendra 9
						<th><?php echo $this->Paginator->sort('email');?></th>
10
						<th><?php echo $this->Paginator->sort('name');?></th>
11
						<th><?php echo $this->Paginator->sort('referrer');?></th>
12
						<th><?php echo $this->Paginator->sort('mobile_number');?></th>
13532 anikendra 13
					</tr>
14
				</thead>
15
				<tbody>
16
				<?php foreach($users AS $user):?>
17
					<tr>
18
						<td><?php echo $user['User']['email'];?></td>
19
						<td><?php echo $user['User']['first_name'];?></td>
14394 anikendra 20
						<td><?php echo $user['User']['referrer'];?></td>
21
						<td><?php echo $user['User']['mobile_number'];?></td>						
13532 anikendra 22
					</tr>
23
				<?php endforeach;?>
24
				</tbody>
25
			</table>
26
			<p>
27
				<?php
28
				echo $this->Paginator->counter(array(
29
				'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
30
				));
31
				?>	
32
			</p>
33
			<div class="paging">
34
			<?php
35
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
36
				echo $this->Paginator->numbers(array('separator' => ''));
37
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
38
			?>
39
			</div>
40
			<?php endif;?>
41
		</div>		
42
	</div>
43
</div>