Beispiel #1
0
	function __construct()
	{
		parent::__construct();
		$this->load->model('Mlienhe');
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
	}
Beispiel #2
0
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
		$this->load->model('Mhomepage');
	}
Beispiel #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();
	}
Beispiel #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');
 }
Beispiel #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();
	}
Beispiel #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');
	}
Beispiel #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();
	}
Beispiel #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');
	}
Beispiel #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');
		}
Beispiel #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');
	}
Beispiel #11
0
	function __construct()
	{
		parent::__construct();
		$this->module = strtolower(get_class());
	}
Beispiel #12
0
	function __construct()
	{
		parent::__construct();
		$this->module = "example";
	}