Rev 15226 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="callhistories index"><h3><?php if(sizeof($result)==0) {echo h("No result");} else{?></h3><table cellpadding="0" cellspacing="0" class="table table-striped" ><tr><th><?php echo h('Id'); ?></th><th><?php echo h('Retailer Id'); ?></th><th><?php echo h('Agent_Id'); ?></th><th><?php echo h('Mobile Number'); ?></th><th><?php echo h('Call Type'); ?></th><th><?php echo h('Sms Verified'); ?></th><th><?php echo h('Call Time'); ?></th><th><?php echo h('Duration sec'); ?></th><th><?php echo h('Call Disposition'); ?></th><th><?php echo h('Disposition Description'); ?></th><th><?php echo h('Created'); ?></th></tr><?php foreach ($result as $callhistory): ?><tr><td><?php echo h($callhistory['c']['id']); ?> </td><td><?php echo h($callhistory['c']['retailer_id']); ?> </td><td><?php echo h($callhistory['a']['name']." (". ($callhistory['c']['agent_id']).") "); ?></td><!-- <td><?php echo h($callhistory['c']['mobile_number']); ?> </td> --><td><?php echo h(substr($callhistory['c']['mobile_number'], 0, 4) . str_repeat("X", strlen($callhistory['c']['mobile_number']) - 6) . substr($callhistory['c']['mobile_number'], -2)); ?> </td><td><?php echo h($callhistory['c']['call_type']); ?> </td><td><?php if($callhistory['c']['sms_verified']==0) {echo h(0);} else {echo h($callhistory['c']['sms_verified']);} ?> </td><td><?php echo h($callhistory['c']['call_time']); ?> </td><td><?php echo h($callhistory['c']['duration_sec']); ?> </td><td><?php echo h($callhistory['c']['call_disposition']); ?> </td><td><?php echo h($callhistory['c']['disposition_description']); ?> </td><td><?php echo h($callhistory['c']['created']); ?> </td></tr><?php endforeach; ?></table><?php }?></div>