?
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/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/busybees/application/views/report/view_report.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="grid_12"> <div class="box"> <div class="header main no-icon"> <span></span> </div> <div class="content "> <table id="table-example" class="table"> <thead> <tr> <th>Sl No</th> <th>Report Name</th> </tr> </thead> <tbody> <?php $user_report=$this->mastermodel->get_data('user_report',$_SESSION['user_id'],'user_id'); $data=array(); foreach($user_report as $row) $data[]=$row['report_id']; if ($viewinfo->num_rows() > 0) { $z = 1; $i = 0; foreach ($viewinfo->result() as $row) { if ($z % 2 == 0) $alt = "alt"; else $alt = "alt1"; if(in_array($row->report_id, $data)) { ?> <tr class="<?= $alt; ?>"> <td style="text-align: center;"><?= ++$i; ?></td> <td><a href="#" onclick="<?= $row->report_target ?>" ><?= $row->report_label; ?></a></td> <?php } $z++; } ?> </tr> <?php } ?> </tbody> </table> </div> </div> </div>