?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Master/ |
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/Master/viewinsurancecompany.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/add-icon.png" title="Add New" class="clickimage" onclick="addinsurancecompany(1)" alt="Add New" align = "center" width="25" height="25" /></label> </div> <table class="sort" cellpadding="0" cellspacing="0"> <caption>Insurance Company</caption> <thead> <tr> <th style="-moz-user-select: none;" class="sortable-one">Sl.NO</th> <th style="-moz-user-select: none;" class="sortable-two">Company Name</th> <th style="-moz-user-select: none;" class="sortable-three">Office Phone</th> <th style="-moz-user-select: none;" class="sortable-four">Office Fax</th> <th style="-moz-user-select: none;" class="sortable-five">Office Email</th> <th style="-moz-user-select: none;" class="sortable-six">Action</th> </tr></thead> <?php if ($viewinfo->num_rows() > 0){ $z=1; foreach ($viewinfo->result() as $row){ if($z%2==0) { $alt="alt"; } else $alt="alt1"; echo '<tr class="'.$alt.'"><td>'.$id.'</td><td onclick="viewcompanydetails(0,'.$row->id.')" style=" color:#2756c1;" class="clickimage">'.$row->company_name.'</td> <td>'.$row->office_phone.'</td> <td>'.$row->office_fax.'</td> <td>'.$row->office_email.'</td>'; $value='2~'.$row->id.'~'.$row->company_code; ?> <td> <div id="console_fronticons"> <div class="fronticons"> <img src="<?=base_url()?>/assets/images/upload.png" title="Upload" width="20" height="20" alt="Upload" align = "center" class="clickimage uploadform" onclick="showuploadform(<?=$row->id?>,'insurance_files','company_id')" alt="" /></div> <div class="fronticons"> <img src="<?=base_url()?>/assets/images/edit-icon.gif" title="Edit" width="20" height="20" alt="Edit" align = "center" class="clickimage" onclick="editcompanydetails(1,<?=$row->id?>)" alt="" /></div> <div class="fronticons"> <?=anchor('master/delete/insurance_company/'.$row->id.'/3', '<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?')"))?> </div> </div> </td> <?php $id++; $z++; } } ?> </table> <ul class="paginate"> <li class="pagsel"onclick="paginationdatasearch('1','<?=$searchoption?>','<?=$searchtxt?>')"> <img src="<?php echo base_url() ?>/assets/images/first.gif"/> </li> <li class="pagsel" <?php if($pagenum>1){ ?> onclick="paginationdatasearch('<?=$pagenum-1?>','<?=$searchoption?>','<?=$searchtxt?>')" <?php } ?> > <img src="<?php echo base_url() ?>/assets/images/prev.gif"/> </li> <?php //Pagination Numbers for($i=$startpage; $i<=$endpage; $i++) { if($pagenum==$i ) {?> <li class="pagsel" onclick="paginationdatasearch('<?=$i?>','<?=$searchoption?>','<?=$searchtxt?>')"><?=$i?></li> <?php } else {?> <li class="pag" onclick="paginationdatasearch('<?=$i?>','<?=$searchoption?>','<?=$searchtxt?>')"><?=$i?></li> <?php } } ?> <li class="pagsel" <?php if($pagenum<$pages){ ?> onclick="paginationdatasearch(<?=$pagenum+1?>,'<?=$searchoption?>','<?=$searchtxt?>')"<?php } ?>> <img style="vertical-align:top" src="<?php echo base_url() ?>/assets/images/next.gif"/> </li> <li class="pagsel" onclick="paginationdatasearch('<?=$pages?>','<?=$searchoption?>','<?=$searchtxt?>')"><img src="<?php echo base_url() ?>/assets/images/last.gif"/> </li> </ul>