| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/wamp/www/simbada_2017/application/modules/laporan/controllers/ |
Upload File : |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Laporan extends Core_Laporan {
public function __construct()
{
parent::__construct();
$this->modul_name = 'laporan';
$this->load->model('auth/login_model', 'auth');
$this->xml_file = 'simbada.xml';
$this->xml_custom = 'simbada_custom.xml';
$this->xml_temp = 'simbada_temp.xml';
}
public function index()
{
$report = $this->load->library('report_builder');
$data['modul'] = $this->modul_name;
$html = $this->report_builder->get_html_menu($this->xml_file, $this->xml_custom, $this->xml_temp);
$data['ul'] = $html;
$data['title']= 'Laporan';//get_title('Laporan');
$data['main_content']='laporan_view';
$data['akses'] = $this->auth->get_level_akses($this->uri->slash_segment(1));
$this->load->view('layout/template',$data);
}
}