Subversion Repositories SmartDukaan

Rev

Rev 22766 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
22761 amit.gupta 1
<div class="container">
2
	<!--<div class="row">
3
		<div class="col-xs-12">
4
			<?php echo $this->Form->create('Retailer');
5
				$searchtype = array(0 => 'Invite code inserted', 1=> 'Invite code not inserted',2=>'Not Verified');
6
				echo $this->Form->input('searchReatailerBy',array('options'=> $searchtype ));
7
				echo $this->Form->end(__('Submit'));
8
			?>
9
 
10
		</div>
11
	</div>-->
12
 
13
	<?php if(isset($result) && !empty($result)):?>
14
		<div class="row">
15
			<div class="col-xs-12 ">
16
				<table cellpadding="0" cellspacing="0" class="table table-striped">
17
					<tr>
18
						<th>Name</th>
19
						<th>Email</th>
20
						<th>Mobile</th>
21
						<th>Business Name</th>
22
						<th>Type</th>
23
						<th>Number</th>
24
						<th>Created</th>
25
						<th>Actions</th>
26
					</tr>
27
 
28
					<?php foreach ($result as $rkey =>$rval):?>
29
					<tr>
30
						<td><?php echo $rval['u']['name'];?></td>
31
						<td><?php echo $rval['u']['email'];?></td>
32
						<td><?php echo $rval['u']['mobile_number'];?></td>
33
						<td><?php echo $rval['r']['name'];?></td>
34
						<td><?php echo $rval['r']['type'];?></td>
35
						<td><?php echo $rval['r']['number'];?></td>
36
						<td><?php echo $rval['r']['created'];?></td>
37
						<td><a href="#">View Details</a> 
38
					</tr>
39
					<?php endforeach;?>
40
 
41
				</table>
42
			</div>
43
		</div>
44
	<?php endif;?>
45
 
46
</div>