?
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/showstatusdiv.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <table class="sort" cellpadding="0" cellspacing="0"> <caption>Document Status</caption> <thead> <tr> <th>Sl.NO</th> <th>Date</th> <th>Mode</th> <th>Address</th> <th>Response</th> <th>Remarks</th> <th>Action</th> </tr> </thead> <?php $z=1; foreach($viewstatus as $updata) { if($z%2==0) { $alt="alt"; } else $alt="alt1"; $declaration_id=$updata['declaration_id']; $statusdate=$updata['statusdate']; $statusmode=$updata['statusmode']; $address=$updata['address']; $id=$updata['id']; $docstatus=$updata['docstatus']; $statusresponse=$updata['statusresponse']; $statusremarks=$updata['statusremarks']; echo '<tr class='.$alt.'><td>'.$z.'</td><td>'.$statusdate.'</td><td>'.$statusmode.'</td><td>'.$address.'</td><td>'.$statusresponse.'</td><td>'.$statusremarks.'</td>'; ?> <td><img src="<?=base_url()?>/assets/images/edit-icon.gif" class="clickimage" title="Edit" width="20" height="20" alt="Edit" align = "center" onclick="editstatus(<?=$id?>)" alt="" /> <?=anchor('policies/delete/declaration_status/'.$id.'/27', '<img src="'.base_url().'/assets/images/delete-icon.png" title="Delete" align = "center" width="20" height="20">',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to delete this record?')"))?></td> <?php echo '</tr>'; $z++; } ?> </table>