?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Policies/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Policies/loadpolilist.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <table class="sort" cellpadding="0" cellspacing="0"> <caption>Policies</caption> <thead><tr> <th>Sl.NO</th> <th>Quotation Ref No</th> <th>Policy No</th> <th>Customer Name</th> <th >Customer Code</th> <th>Type Of Cover</th> <th class="last">Use</th> </tr> <?php $id=1; $z=1; if(count($viewinfo)>0) { foreach ($viewinfo as $row) { if($z%2==0) { $alt="alt"; } else $alt="alt1"; echo '<tr class="'.$alt.'"><td>'.$id.'</td> <td>'.$row['qref'].'</td> <td>'.$row['polino'].'</td> <td>'.$row['cname'].'</td> <td>'.$row['ccode'].'</td> <td>'.$row['cover'].'</td>'; ?> <td> <img src="<?=base_url()?>/assets/images/use.png" class="clickimage" onclick="usepoli('<?=$row['polino']?>','<?=$row['poliid']?>','<?=$row['cname']?>','<?=addslashes($row['cover'])?>','<?=$row['qref']?>')" alt="" width="20" height="20" /> </td> <?php $id++; } } else{ echo "<tr><td align='center'>No results found</td><td></td><td></td><td></td><td></td><td></td></tr>"; } ?> </table>