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/public_html/application/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

class Welcome 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 index()
	{
		$this->load->view('welcome_message');
	}
}

public function product()
    {
        $this->load->helper(array('form', 'url', 'common'));
       
        $this->load->library(array('session', 'pagination'));

        $this->load->model('homemodel', '', true);

        $data['title'] = "Product";
        $data['meta'] ="Axenic-UV Products: Germicidal and Detections Systems";
        $data['description'] = "Combat the risk of pathogens with our Contactless Disinfection Systems like Smart UVC Robots, Microwave UV Sterilizers, HVAC Sterilizers and Induction Air Sterilizers.";
    
        $data['type'] = ['Disinfection Robots'=>'Disinfection Robots','Microwave UV Disinfections'=>'Microwave UV Disinfections','UV Light Disinfection Systems'=>'UV Light Disinfection Systems','Air Sterlization Systems'=>'Air Sterlization Systems','Detection Systems'=>'Detection Systems'];       
        $data['application'] = ['Gym & Atheletic Centers' => 'Gym & Atheletic Centers', 'Schools & Colleges' => 'Schools & Colleges', 'Manufacturing Facilities' => 'Manufacturing Facilities', 'Offices' => 'Offices','Public Transports' => 'Public Transports', 'Grocery & Retail Stores' => 'Grocery & Retail Stores','Hospitals' => 'Hospitals','Households' => 'Households'];
        
        
        
        $limit_per_page = 1;
        $page = ($this->uri->segment(3)) ? ($this->uri->segment(3) - 1) : 0;
        $total_records = $this->homemodel->get_total();
 
       if ($total_records > 0)
        {
            // get current page records
            $data["results"] = $this->homemodel->get_current_page_records($limit_per_page, $page*$limit_per_page);
                 
            $config['base_url'] = base_url() . 'home/product';
            $config['total_rows'] = $total_records;
            $config['per_page'] = $limit_per_page;
            $config["uri_segment"] = 3;
             
            // custom paging configuration
            $config['num_links'] = 2;
            $config['use_page_numbers'] = TRUE;
            $config['reuse_query_string'] = TRUE;
             
            $config['full_tag_open'] = '<div class="pagination">';
            $config['full_tag_close'] = '</div>';
             
            $config['first_link'] = 'First Page';
            $config['first_tag_open'] = '<span class="firstlink">';
            $config['first_tag_close'] = '</span>';
             
            $config['last_link'] = 'Last Page';
            $config['last_tag_open'] = '<span class="lastlink">';
            $config['last_tag_close'] = '</span>';
             
            $config['next_link'] = 'Next Page';
            $config['next_tag_open'] = '<span class="nextlink">';
            $config['next_tag_close'] = '</span>';
 
            $config['prev_link'] = 'Prev Page';
            $config['prev_tag_open'] = '<span class="prevlink">';
            $config['prev_tag_close'] = '</span>';
 
            $config['cur_tag_open'] = '<span class="curlink">';
            $config['cur_tag_close'] = '</span>';
 
            $config['num_tag_open'] = '<span class="numlink">';
            $config['num_tag_close'] = '</span>';
             
            $this->pagination->initialize($config);
                 
            // build paging links
            $data["links"] = $this->pagination->create_links();
        }
        
        
        $data['category']= $this->homemodel->getAllCategories();
        $data['products'] = $this->homemodel->get_products();
        
        $this->load->view('inc/header',$data);
        $this->load->view('product',$data);
        $this->load->view('inc/footer',$data);
    }

Youez - 2016 - github.com/yon3zu
LinuXploit