?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/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/public_html/savoyglobal.net/sgms/draft/application/views/Master/uploaded_files.php |
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ $files=$this->mastermodel->get_data_joined('common_file','document_category','document_type_id ','document_category_id',$master_id,'master_id'); if(!empty($files)) { ?> <ul> <li> <table class="sort"> <tr> <th style="width: 20%">S.No</th> <th style="width: 67%">File Name</th> <th style="width: 13%">Operation</th> </tr> <?php $i=1; //var_dump($employee_file); foreach ($files as $file) { ?> <tr> <td><?= $i?></td> <td><?=$file['document_category_name'] ?></td> <td> <div id="console_fronticons"> <div class="fronticons"> <a href="<?=base_url().$file['file_location'];?>"><img src="<?=base_url()?>assets/images/downarrow.png" title="Download" alt="Download" width="20" height="20"/></a> </div> <div class="fronticons"> <img src="<?=base_url()?>assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="deletedata('common_file',<?=$file['common_file_id'];?>,'file_id','<?=$controller;?>','<?=$controller_function;?>','<?=$model_function;?>','<?=$page;?>','','')" alt="Delete" align = "center"/> </div> </div> </td> <?php $i++; } ?> </table> </li> </ul> <?php } ?>