Пример #1
0
	function __construct()
	{
		parent::__construct();
		$this->load->model('Mlienhe');
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
	}
Пример #2
0
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
		$this->load->model('Mhomepage');
	}
Пример #3
0
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
		$this->load->model('Mhomepage');
		$this->load->helper('text'); //cop vao controller
		$this->setLang();
		$this->loadLang();
	}
Пример #4
0
 function __construct()
 {
     parent::__construct();
     $this->module = basename(dirname(dirname(__FILE__)));
     $this->module = strtolower(get_class());
     $this->load->model('Mhomepage');
     $this->setLang();
     $this->loadLang();
     $this->addVisiting();
     $this->load->library('pagination');
 }
Пример #5
0
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
		$this->load->model('Mhomepage');
		$this->load->library('pagination');
		
		//var_dump($_SESSION['front_user_fullname']); die();
	}
Пример #6
0
	function __construct()
	{
		parent::__construct();
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
		$this->load->model('Mhomepage');
		$this->load->library('session');
		
		$this->load->helper('text');
		$this->load->library('pagination');
		$this->load->helper('url');
	}
Пример #7
0
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
		$this->load->model('Mhomepage');
		$this->load->library('pagination');
		$this->load->helper('text');
		$this->load->library('form_validation');
		$this->loadLang();
	}
Пример #8
0
	function __construct()
	{
		parent::__construct();
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
		$this->load->model('Mhomepage');
		
		$this->SetLang();
		
		if ($this->session->userdata('lang')=='vn')
			$this->lang->load('tn','vietnamese');
		else $this->lang->load('tn','english');
	}
Пример #9
0
		function __construct()
		{
			parent::__construct();
			$this->module=basename(dirname(dirname(__FILE__)));
			$this->module = strtolower(get_class());
			
			$this->load->library('session');
			
			if ($this->session->userdata('lang')=='vn')
					$this->lang->load('tuongnhat','vietnamese');
				else
					$this->lang->load('tuongnhat','english');
			$this->load->model('Mtimkiem');
		}
Пример #10
0
	function __construct()
	{
		parent::__construct();
		$this->module = strtolower(get_class());
		
		$this->load->model('Mdathang');
		$this->load->library('session');
		$this->load->library('form_validation');
		$this->setLang();
		
		if ($this->session->userdata('lang')=='vn')
		{
			$this->lang->load('mc','vietnamese');
		}
		else $this->lang->load('mc','english');
	}
Пример #11
0
	function __construct()
	{
		parent::__construct();
		$this->module = strtolower(get_class());
	}
Пример #12
0
	function __construct()
	{
		parent::__construct();
		$this->module = "example";
	}