?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Report/ |
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/public_html/savoyglobal.net/drafthr/system/application/views/Report/viewrenewal.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <table class="sort" cellpadding="0" cellspacing="0"> <caption>renewal Reports</caption> <thead><tr> <th>Sl No.</th> <th class="last">Report Name</th> </tr></thead> <?php if($searchinfo == "") { if ($viewinfo->num_rows() > 0) { $id=1; $z=1; foreach ($viewinfo->result() as $row) { if($z%2==0) { $alt="alt"; } else $alt="alt1"; echo '<tr class="'.$alt.'"><td>'.$id.'</td><td>';?> <a href="javascript:void(0)" onclick="singlerenewal(0,'<?=$row->target;?>')"><?php echo $row->renrepname; ?></a><?php echo '</td></tr>' ; $id++; $z++; } } } else { $res = mysql_query($searchinfo); if (mysql_num_rows($res) > 0) { $z=1; while ($row = mysql_fetch_array($res)) { if($z%2==0) { $alt="alt"; } else $alt="alt1"; echo '<tr class="'.$alt.'"><td>'.$id.'</td><td>';?> <a href="javascript:void(0)" onclick="singlerenewal(0,'<?=$row->target;?>')"><?php echo $row['renrepname'] ?></a><?php echo '</td></tr>' ; $z++; $id++; } } } ?> </table>