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