Subversion Repositories SmartDukaan

Rev

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

Rev 13532 Rev 14394
Line 4... Line 4...
4
			<h3>List of registered users</h3>
4
			<h3>List of registered users</h3>
5
			<?php if(!empty($users)):?>
5
			<?php if(!empty($users)):?>
6
			<table class="table table-striped">
6
			<table class="table table-striped">
7
				<thead>
7
				<thead>
8
					<tr>
8
					<tr>
9
						<th>Email</th>
9
						<th><?php echo $this->Paginator->sort('email');?></th>
10
						<th>Name</th>
10
						<th><?php echo $this->Paginator->sort('name');?></th>
11
						<th>Group</th>
-
 
12
						<th>Created</th>
11
						<th><?php echo $this->Paginator->sort('referrer');?></th>
13
						<th>Actions</th>
12
						<th><?php echo $this->Paginator->sort('mobile_number');?></th>
14
					</tr>
13
					</tr>
15
				</thead>
14
				</thead>
16
				<tbody>
15
				<tbody>
17
				<?php foreach($users AS $user):?>
16
				<?php foreach($users AS $user):?>
18
					<tr>
17
					<tr>
19
						<td><?php echo $user['User']['email'];?></td>
18
						<td><?php echo $user['User']['email'];?></td>
20
						<td><?php echo $user['User']['first_name'];?></td>
19
						<td><?php echo $user['User']['first_name'];?></td>
21
						<td><?php echo $groups[$user['User']['group_id']];?></td>
20
						<td><?php echo $user['User']['referrer'];?></td>
22
						<td><?php echo $user['User']['created'];?></td>
21
						<td><?php echo $user['User']['mobile_number'];?></td>						
23
						<td class="actions">
-
 
24
							<?php echo $this->Html->link(__('View'), array('action' => 'view', $user['User']['id'])); ?>
-
 
25
							<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $user['User']['id'])); ?>
-
 
26
						</td>
-
 
27
					</tr>
22
					</tr>
28
				<?php endforeach;?>
23
				<?php endforeach;?>
29
				</tbody>
24
				</tbody>
30
			</table>
25
			</table>
31
			<p>
26
			<p>