?
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/viewtemplate.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <table width="80%" align="center" class="sort" cellpadding="0" cellspacing="0"> <tr> <th>Sl.NO</th> <th>Name</th> <th>Type of Cover</th> <th>Type Of Template</th> <th class="last">Use</th> </tr> <?php if ($viewinfo->num_rows() > 0) { $id=1; foreach ($viewinfo->result() as $row) { $cover=$this->mastermodel->get_data_srow('covers',$row->cover_id,'id'); $templatetype=$this->mastermodel->get_data_srow('template_type',$row->template_type,'id'); echo '<tr><td>'.$id.'</td><td>'.$row->name.'</td><td>'.$cover->cover.'</td><td>'.$templatetype->type.'</td>'; ?> <td><img src="<?=base_url()?>/assets/images/use.png" class="clickimage" title="Use" width="32" height="32" alt="Use" align = "center" onclick="usetemplate('<?=$row->id?>','<?=$cover->cover?>','<?=$row->cover_id?>')" /> </td> <?php $id++; } } ?> </table>