Subversion Repositories SmartDukaan

Rev

Rev 20118 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20118 Rev 20119
Line 1... Line 1...
1
<div class="callhistories index">
1
<div class="callhistories index">
2
<h3><?php if(sizeof($result)==0) {echo h("No result");} else{?></h3>
2
<h3><?php if(sizeof($result)==0) {echo h("No result");} else{?></h3>
3
<table cellpadding="0" cellspacing="0" class="table table-striped" >
3
<table cellpadding="0" cellspacing="0" class="table table-striped" >
4
	<tr>
4
	<tr>
5
			<th><?php echo h('Role'); ?></th>
-
 
6
			<th><?php echo h('Agent Id'); ?></th>
5
			<th><?php echo h('Agent Id'); ?></th>
-
 
6
			<th><?php echo h('Agent Name'); ?></th>
-
 
7
			<th><?php echo h('Role'); ?></th>
7
			<th><?php echo h('Count'); ?></th>
8
			<th><?php echo h('Count'); ?></th>
8
	</tr>	
9
	</tr>	
9
	<?php foreach ($result as $backup): ?>
10
	<?php foreach ($result as $backup): ?>
10
	<tr>
11
	<tr>
11
		<td><?php echo h($backup['r']['status']); ?>&nbsp;</td>
-
 
12
		<td><?php echo h($backup[0]['agent_id']); ?>&nbsp;</td>
12
		<td><?php echo h($backup[0]['agent_id']); ?>&nbsp;</td>
-
 
13
		<td><?php echo h($backup[0]['agent_name']); ?>&nbsp;</td>
-
 
14
		<td><?php echo h($backup['r']['status']); ?>&nbsp;</td>
13
		<td><?php echo h($backup[0]['count']); ?>&nbsp;</td> 
15
		<td><?php echo h($backup[0]['count']); ?>&nbsp;</td> 
14
	</tr>
16
	</tr>
15
<?php endforeach; ?>
17
<?php endforeach; ?>
16
	</table>
18
	</table>
17
<?php }?>	
19
<?php }?>