403Webshell
Server IP : 68.178.202.69  /  Your IP : 216.73.216.122
Web Server : Apache
System : Linux 69.202.178.68.host.secureserver.net 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64
User : ikioworld ( 1005)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/ikioworld/www/application/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ikioworld/www/application/controllers/Home.php
<?php
defined('BASEPATH') or exit('No direct script access allowed');

class Home extends CI_Controller
{

    public function index()
    {
        $this->load->helper(array('form', 'url', 'common'));
        $this->load->library(array('session', 'pagination'));
        $this->load->model('homemodel', '', true);
        
        $sql=$this->db->query("SELECT * from page where page_name='Home Page'");
        $result = $sql->result();
        
        $title = $result[0]->page_title;
        $meta_title = $result[0]->meta_title;
        $meta_d =$result[0]->meta_description;
        $image = $result[0]->page_image;
        
        
        $data['title'] = $title ." || IKIO LED LIGHTING";
        $data['meta_title'] = $meta_title ."  || IKIO LED LIGHTING";
        $data['meta_description'] = $meta_d ."  || IKIO LED LIGHTING";
        $data['image'] = $image;
        
         
    
        $data['sliders'] = $this->homemodel->getSlider();
        $data['sustain'] =  $this->homemodel->getSustain();
        $data['testimonial'] = $this->homemodel->getTestimonial();
        $data['category'] = $this->homemodel->getCategory();
        $data['subcategorys'] =$this->homemodel->getSubCategory();
        $data['blogs'] = $this->homemodel->getBlogs();
        $data['news'] = $this->homemodel->getNews();
        $data['products'] =$this->homemodel->getProducts();
      
        
        $this->load->view('inc/header',$data);
        $this->load->view('home/index', $data);
        $this->load->view('inc/footer',$data);
    }
    
    
    
    
    
      public function privacy()
    {
        $this->load->helper(array('form', 'url', 'common'));
        $this->load->library(array('session', 'pagination'));
        $this->load->model('homemodel', '', true);
        
        $data['category'] = $this->homemodel->getCategory();
        $data['subcategorys'] =$this->homemodel->getSubCategory();

        $sql=$this->db->query("SELECT * from page where page_name='Privacy Policy'");
        $result = $sql->result();
        
        $title = $result[0]->page_title;
        $meta_title = $result[0]->meta_title;
        $meta_d =$result[0]->meta_description;
        $image = $result[0]->page_image;
        
        
        $data['title'] = $title ." || IKIO LED LIGHTING";
        $data['meta_title'] = $meta_title ."  || IKIO LED LIGHTING";
        $data['meta_description'] = $meta_d ."  || IKIO LED LIGHTING";
        $data['image'] = $image;
        
    
      
        
        $this->load->view('inc/header',$data);
        $this->load->view('home/privacy', $data);
        $this->load->view('inc/footer',$data);
    }
    
    
     public function eventsform()
    {
 
        $data['title'] = " || IKIO LED LIGHTING";
        $data['meta_title'] = "  || IKIO LED LIGHTING";
        $data['meta_description'] = "  || IKIO LED LIGHTING";

        $this->load->view('home/events-form', $data);

    }
    
       public function financialreports()
    {
 
        $data['title'] = " || IKIO LED LIGHTING";
        $data['meta_title'] = "  || IKIO LED LIGHTING";
        $data['meta_description'] = "  || IKIO LED LIGHTING";

   
         $this->load->view('inc/header',$data);
            $this->load->view('financial-reports/index', $data);
        $this->load->view('inc/footer',$data);

    }
     public function login()
    {
        $this->load->helper(array('form', 'url', 'common'));
        $this->load->library(array('session', 'pagination'));
        $this->load->model('homemodel', '', true);
        
        $data['category'] = $this->homemodel->getCategory();
        $data['subcategorys'] =$this->homemodel->getSubCategory();

        $sql=$this->db->query("SELECT * from page where page_name='Login'");
        $result = $sql->result();
        
        $title = $result[0]->page_title;
        $meta_title = $result[0]->meta_title;
        $meta_d =$result[0]->meta_description;
        $image = $result[0]->page_image;
        
        
        $data['title'] = $title ." || IKIO LED LIGHTING";
        $data['meta_title'] = $meta_title ."  || IKIO LED LIGHTING";
        $data['meta_description'] = $meta_d ."  || IKIO LED LIGHTING";
        $data['image'] = $image;
        
    
      
        
        $this->load->view('inc/header',$data);
        $this->load->view('home/login', $data);
        $this->load->view('inc/footer',$data);
    }
    
    
    
    
    
    
    
    public function addNewsletter()
    {
    
    $this->load->helper(array('form', 'url', 'common'));
    
    $this->load->library(array('session','pagination','cart','mathcaptcha'));     
    
    $this->load->model('homemodel', '', true);
    $this->load->model('Mailmodel', '', true);
    
//     $captcha_code = $this->input->post('captcha_code');
//     if($captcha_code==$_SESSION['CAP_1']){
//      if(!empty($this->input->post())){		
//           $email = $this->input->post('email');
//           $fullname=$this->input->post('fullname');
           
//           if($email!='' && $fullname!=''){
//             $newsletter_data['email'] = $email;
//             $newsletter_data['fullname'] = $fullname;
//             $insert_id = $this->homemodel->addNewsletter($newsletter_data);
//             $data['fullname'] =$this->input->post('fullname');
            
            
//             $message = "<html>
        
//         <head>
//             <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
    
//         </head>
        
//         <body style='background-color:#f6f6f6;  box-sizing: border-box; font-family: 'Poppins', sans-serif;'>
        
//         <div style='margin:0px auto;background: #f3f3f3;padding: 10px;'>
        
//         <div style='border: 1px solid #ccc;background-color:#fff;clear:both;color:#666;line-height:32px;max-width:500px;margin:50px auto;border-radius:5px 5px 5px 5px'>
        
//         <div style='color:#fff;text-align:center;padding:0px 0px 10px 0px;background-repeat:no-repeat;background-position:center;background-size:183px;background-color:#000000;width:100%;height:auto;border-radius:5px 5px 0px 0px'>
        
//         <img src='".base_url()."/assets/img/logo.png' style=' display: block; margin: 0 auto;width: 140px; padding-top: 15px;'>
         
           
//         </div>
        
//         <div style='margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0px;padding-left:0;font-size:15px'>
//         <img src='".base_url()."/assets/img/message.png' style=' display: block; margin: 0 auto;width: 100px; padding-top: 15px;'>
//         <table cellpadding='0' cellspacing='0' style='width: 100%;margin: 8px 1px;font-size: 12px;font-size:12px'>
//         <tbody>
        
//         <tr>
//         <td style='border-bottom:1px solid #eeee;text-align:left;padding: 10px;color: #000;width: 171px;font-weight:bold;font-size: 15px;'>

//             <p style='font-weight:bold;text-align: center;font-size: 14px;margin-bottom: 0;color: #fff;text-transform: capitalize; display:block; width:100% '></p>
//             <p style='font-weight:400;text-align: center;font-size: 14px;margin-bottom: 0; display:block; width:100%'><b>Thank You ".$data['fullname']."for suscribing to Our Newsletter.</b>
       
//         </td>
//          </tr>
      
        
       
//         </tbody>
//         </table>
//         <p style='padding: 10px 30px;font-weight: bold;text-align: center;font-size: 14px;margin-bottom: 0;background-repeat:no-repeat;background-position:center;background-color:#000000;background: #000000;color: #fff;'> © 2022  IKIO LED LIGHTING. All Rights Reserved.</p>
//         </div>
//         </div>
//         </div>
//         </div>
//         </body>
//         </html>";
                
                
        		
//         		$this->Mailmodel->sendMail( "IKIO Newsletter Subscription", $email, $data['fullname'], $message );

            

//         }
//             $data['email'] = $this->input->post('email');
//             $data['fullname'] =$this->input->post('fullname');
            
            
//             $message = "
// <html>
        
// <head>
//     <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>

// </head>

// <body style='background-color:#f6f6f6;  box-sizing: border-box; font-family: 'Poppins', sans-serif;'>

// <div style='margin:0px auto;background: #f3f3f3;padding: 10px;'>

// <div style='border: 1px solid #ccc;background-color:#fff;clear:both;color:#666;line-height:32px;max-width:500px;margin:50px auto;border-radius:5px 5px 5px 5px'>

// <div style='color:#fff;text-align:center;padding:0px 0px 10px 0px;background-repeat:no-repeat;background-position:center;background-size:183px;background-color:#000000;width:100%;height:auto;border-radius:5px 5px 0px 0px'>

// <img src='".base_url()."/assets/img/logo.png' style=' display: block; margin: 0 auto;width: 140px; padding-top: 15px;'>
   
//   <p style='font-weight:bold;text-align: center;font-size: 14px;margin-bottom: 0;color: #fff;text-transform: capitalize; display:block; width:100% '>A New Newsletter Subscription is there !</b></p>
// </div>

// <div style='margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0px;padding-left:0;font-size:15px'>
// <img src='".base_url()."/assets/img/message.png' style=' display: block; margin: 0 auto;width: 100px; padding-top: 15px;'>
// <table cellpadding='0' cellspacing='0' style='width: 100%;margin: 8px 1px;font-size: 12px;font-size:12px'>
// <tbody>

// <tr>
// <td style='border-bottom:1px solid #eeee;text-align:left;padding: 10px;color: #000;width: 171px;font-weight:bold;font-size: 15px;background: url(".base_url()."/assets/img/dots.png);background-size: 3px;background-repeat: no-repeat;background-position: right;'>Name</td>
// <td style='border-bottom:1px solid #eeee;font-size: 17px;padding: 10px;color: #000;text-align: left; '>".$data['fullname']."</td>       
// </tr>

// <tr>
// <td style='border-bottom:1px solid #eeee;text-align:left;padding: 10px;color: #000;width: 171px;font-weight:bold;font-size: 15px;background: url(".base_url()."/assets/img/dots.png);background-size: 3px;background-repeat: no-repeat;background-position: right;'>Email</td>
// <td style='border-bottom:1px solid #eeee;font-size: 17px;padding: 10px;color: #000;text-align: left;'>".$data['email']."</td>
// </tr>


// </tbody>
// </table>
// <p style='padding: 10px 30px;font-weight: bold;text-align: center;font-size: 14px;margin-bottom: 0;background-repeat:no-repeat;background-position:center;background-color:#000000;background: #000000;color: #fff;'> © 2022  IKIO LED LIGHTING. All Rights Reserved.</p>
// </div>
// </div>
// </div>
// </div>
// </body>
// </html>";
                
                
        		
//         		$this->Mailmodel->sendMail( "NEW IKIO Newsletter Subscription", "info@ikioledlighting.com", "Ikio Led Lighting", $message );
           
      
    //  }$_SESSION['CaptchaCode_Msg'] = "";
    //     redirect($_SERVER['HTTP_REFERER']);
    // }else{
    //     $_SESSION['CaptchaCode_Msg'] = "Invalid Captcha Code";
    //     redirect($_SERVER['HTTP_REFERER']);
    // }
    redirect($_SERVER['HTTP_REFERER']);
        
    }
   
}



Youez - 2016 - github.com/yon3zu
LinuXploit