コード例 #1
0
ファイル: pcat.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('pcat_model', 'pcat');
     $this->pre_message = "";
     $this->load->helper('vimg');
 }
コード例 #2
0
ファイル: sys_language.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->pre_message = "";
     $this->load->language('date', 'vi');
     $this->load->language('sys_language', 'vi');
 }
コード例 #3
0
ファイル: setting.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('setting_model', 'setting');
     $this->language = $this->lang->get_lang();
     $this->lang_default = $this->lang->lang_default();
 }
コード例 #4
0
ファイル: category.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('category_model', 'category');
     $this->language = $this->lang->get_lang();
     $this->lang_default = $this->lang->lang_default();
 }
コード例 #5
0
ファイル: home.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('home_model', 'home');
     $this->lang_active = $this->session->data['lang'];
     $this->lang_id = $this->language->lang_id();
     $this->load->language('home', $this->language->active());
 }
コード例 #6
0
ファイル: hoidap.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     //        $this->load->config('config_hoidap');
     $this->load->model('hoidap_model', 'hoidap');
     $this->language = $this->lang->get_lang();
     $this->lang_default = $this->lang->lang_default();
 }
コード例 #7
0
ファイル: contact.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->config('config_contact');
     $this->load->model('contact_model', 'contact');
     $this->language = $this->lang->get_lang();
     $this->lang_default = $this->lang->lang_default();
 }
コード例 #8
0
ファイル: tuvan.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('tuvan_model', 'tuvan');
     $this->language = $this->lang->get_lang();
     $this->lang_default = $this->lang->lang_default();
     $this->pre_message = "";
 }
コード例 #9
0
ファイル: office.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('office_model', 'office');
     $this->language = $this->lang->get_lang();
     $this->lang_default = $this->lang->lang_default();
     $this->write_route();
 }
コード例 #10
0
ファイル: news.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('news_model', 'news');
     $this->load->helper('vimg');
     $this->language = $this->lang->get_lang();
     $this->lang_default = $this->lang->lang_default();
     $this->pre_message = "";
 }
コード例 #11
0
ファイル: mod.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('mod_model', 'mod');
     $this->language = $this->lang->get_lang();
     $this->lang_default = $this->lang->lang_default();
     $this->pre_message = "";
     $this->load->helper('xml');
 }
コード例 #12
0
ファイル: khachhang.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->lang_active = $this->session->data['lang'];
     $this->lang_id = $this->language->lang_id();
     $this->lang_url = $this->language->lang_url();
     $this->load->language('khachhang', $this->lang_active);
     $this->load->model('khachhang_model', 'khachhang');
 }
コード例 #13
0
ファイル: category.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('category_model', 'category');
     $this->language = $this->lang->get_lang();
     $this->lang_default = $this->lang->lang_default();
     $this->pre_message = "";
     $this->write_route();
     $this->write_menu();
 }
コード例 #14
0
ファイル: product.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('product_model', 'product');
     $this->lang_active = $this->session->data['lang'];
     $this->lang_id = $this->language->lang_id();
     $this->lang_url = $this->language->lang_url();
     $this->load->language('product', $this->lang_active);
     $this->pre_message = "";
 }
コード例 #15
0
ファイル: term.php プロジェクト: shyaken/maoy.palt
 function __construct()
 {
     parent::__construct();
     $this->load->model('term_model', 'term');
     $get = $this->request->get;
     $str = "";
     foreach ($get as $key => $val) {
         if ($val != "") {
             $str .= $key . "=" . $val . "&";
         }
     }
     $str = rtrim($str, '&');
     $this->str = $str != "" ? "?" . $str : "";
 }
コード例 #16
0
ファイル: dangky.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('dangky_model', 'dangky');
 }
コード例 #17
0
ファイル: slide.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
 }
コード例 #18
0
ファイル: account.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('account_model', 'account');
     $this->pre_message = "";
 }
コード例 #19
0
ファイル: acinfo.php プロジェクト: shyaken/maoy.palt
 function __construct()
 {
     parent::__construct();
     $this->user_id = $_SESSION['user_id'];
 }
コード例 #20
0
ファイル: weblink.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->pre_message = "";
 }
コード例 #21
0
ファイル: setting.php プロジェクト: shyaken/maoy.palt
 function __construct()
 {
     parent::__construct();
     $this->load->model('setting_model', 'setting');
 }
コード例 #22
0
ファイル: home.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('home_model', 'home');
 }
コード例 #23
0
ファイル: cpanel.php プロジェクト: shyaken/maoy.palt
 function __construct()
 {
     parent::__construct();
     $this->load->model('admincp_model', 'admincp');
 }
コード例 #24
0
ファイル: api.php プロジェクト: VoDongMy/VoDongMy
 function __construct()
 {
     parent::__construct();
     $this->load->model('api_model', 'api');
     $this->user_id = $this->session->data['user_id'];
 }