Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->uid = $this->session->userdata('uid');
     $this->lang->load('vars', 'romanian');
     $this->load->model('admin_model');
     $this->langs = $this->mysql->get_All('langs', array('status' => 1), '', '', 'ord', 'asc');
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     $this->uid = $this->session->userdata('uid');
     $this->lang->load('vars', 'romanian');
     $this->load->model('product_model');
     $this->db->set_dbprefix('app_');
     $this->langs = $this->mysql->get_All('langs');
 }