コード例 #1
0
ファイル: thuvienanh.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=strtolower(get_class());
		$this->load->model('Mthuvienanh');
	}
コード例 #2
0
ファイル: danhmuc.php プロジェクト: hungnv0789/vhtm
 function __construct()
 {
     parent::__construct();
     $this->module = strtolower(get_class());
     $this->load->model('Mdanhmuc');
     $this->addVisiting();
 }
コード例 #3
0
ファイル: Public_Controller.php プロジェクト: hungnv0789/vhtm
    function __construct()
	{
		parent::__construct();

        // Loading config
        //$this->load->config('kaimonokago');

        // Set container variable

        // Load the PUBLIC asset group in bep_assets.php
        $this->bep_assets->load_asset_group('PUBLIC');


        // Loading language helper
        $this->load->helper('language');

        session_start();

        // Loading all the module models here instead of autoload.php


        // Loading libraries instead of autoload
        $this->load->library('form_validation');
        //$this->load->library('validation'); // for BEP 0.6

        // Loading helpers
        //$this->load->helper( array('security', 'form', 'mytools') );
        //$this->mainmodule = $this->preference->item('main_module_name');
        //$this->data['mainmodule']= $this->mainmodule;
        
    }
コード例 #4
0
ファイル: sanpham.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			
			$this->load->model('Msanpham');
		} 
コード例 #5
0
ファイル: hotro.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->model('Mhotro');
			$this->load->library('form_validation');
		}
コード例 #6
0
ファイル: lienhe.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=strtolower(get_class());
		$this->load->model('Mlienhe');
		$this->load->library('form_validation');
	}
コード例 #7
0
ファイル: timkiem.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		parent::__construct();
		$this->module=strtolower(get_class());
		$this->load->model('Mtimkiem');
		$this->load->library('pagination');
		$this->load->library('session');
	}
コード例 #8
0
ファイル: hoadon.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		
		$this->Mhoadon	=	new CI_Model();
		$this->load->library('form_validation');
	}
コード例 #9
0
ファイル: Admin_Controller.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		parent::__construct();
		check('Control Panel');
		
		// Load the ADMIN asset group
		$this->bep_assets->load_asset_group('ADMIN');
	}
コード例 #10
0
ファイル: tuvansanpham.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		parent::__construct();
		$this->module=strtolower(get_class());
		$this->load->model('Mtuvansanpham');
		$this->load->library('pagination');
		//$this->addVisiting();
	}
コード例 #11
0
ファイル: portfolio.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->model('Mportfolio');
			$this->load->helper('date');
			$this->load->library('editor_library');
			$this->load->helper(array('form', 'url'));
		}
コード例 #12
0
ファイル: dangky.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		
		$this->load->model("Mdangky");
		$this->module = strtolower(get_class());
		$this->data['title'] = 'Flash games | Flash games';
	}
コード例 #13
0
ファイル: dangnhap.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		
		$this->load->model("Mdangnhap");
		$this->module = strtolower(get_class());
		$this->data['title'] = 'Nội thất Tường Nhật | Đăng nhập';
	}
コード例 #14
0
ファイル: thuvienanh.php プロジェクト: hungnv0789/vhtm
 function __construct()
 {
     parent::__construct();
     $this->module = strtolower(get_class());
     $this->load->model('Mthuvienanh');
     $this->setLang();
     $this->loadLang();
     $this->addVisiting();
 }
コード例 #15
0
ファイル: Admin_Controller.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		parent::__construct();
		check('Control Panel');
		
		// Load the ADMIN asset group
		$this->bep_assets->load_asset_group('ADMIN');
		$this->load->library('form_validation');
		$this->load->helper('language');
	}
コード例 #16
0
ファイル: gioithieu.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=strtolower(get_class());
		$this->load->model('Mgioithieu');
		$this->load->helper('text'); //cop vao controller
		$this->setLang();
		$this->loadLang();
	}
コード例 #17
0
ファイル: sanpham.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			@session_start();
			parent::__construct();
			$this->module=strtolower(get_class());
			
			$this->load->model('Msanpham');
			$this->setLang();
			$this->loadLang();
		}
コード例 #18
0
ファイル: sanpham.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=strtolower(get_class());

		$this->load->model('Msanpham');
		$this->load->library('pagination');
		$this->load->library('recaptcha');
	}
コード例 #19
0
ファイル: tintuc.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=basename(dirname(dirname(__FILE__)));
		$this->module = strtolower(get_class());
		$this->load->model('Mtintuc');
		$this->load->library('session');
		$this->load->helper('text');
	}
コード例 #20
0
ファイル: lienhe.php プロジェクト: hungnv0789/vhtm
 function __construct()
 {
     parent::__construct();
     $this->module = strtolower(get_class());
     $this->load->model('Mlienhe');
     $this->load->library('form_validation');
     $this->setLang();
     $this->loadLang();
     $this->addVisiting();
 }
コード例 #21
0
ファイル: danhmuc.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			@session_start();
			parent::__construct();
			$this->module=strtolower(get_class());
			
			$this->load->library('pagination');
			$this->load->model('Mdanhmuc');
			$this->data['title'] = 'Nội thất Tường Nhật | Danh mục sản phẩm';
		}
コード例 #22
0
ファイル: tintuc.php プロジェクト: hungnv0789/vhtm
 function __construct()
 {
     parent::__construct();
     $this->module = strtolower(get_class());
     $this->load->model('Mtintuc');
     $this->setLang();
     $this->loadLang();
     $this->load->library('pagination');
     $this->addVisiting();
 }
コード例 #23
0
ファイル: sanpham.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=strtolower(get_class());
		$this->load->model('Msanpham');
		$this->load->helper('text'); //cop vao controller
		$this->load->library('pagination');
		$this->setLang();
		$this->loadLang();
	}
コード例 #24
0
ファイル: belote.php プロジェクト: hungnv0789/vhtm
	function __construct()
	{
		@session_start();
		parent::__construct();
		$this->module=strtolower(get_class());
		$this->load->model('Mbelote');
		$this->loadLang();
		$this->load->library('pagination');
		$this->load->helper('text');
		$this->loadLang();
	}
コード例 #25
0
ファイル: langnghe.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			parent::__construct();
			$this->module=basename(dirname(dirname(__FILE__)));
			$this->module = strtolower(get_class());
			$this->load->library('pagination');
			$this->load->helper('url');
			$this->load->model('Mlangnghe');
			$this->load->library('session');
			$this->load->helper('text');
		}
コード例 #26
0
ファイル: lienhe.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			@session_start();
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->module=basename(dirname(dirname(__FILE__)));
			$this->load->model('Mlienhe');
			$this->load->library('session');
			$this->setLang();
			$this->loadLang();
		}
コード例 #27
0
ファイル: gianhang.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->library('pagination');
			$this->load->model('Mgianhang');
			$this->load->library('form_validation');
			$this->load->library('session');
			$this->load->helper('url'); //You should autoload this one ;)
			$this->load->helper('ckeditor');
		}
コード例 #28
0
ファイル: dichvu.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			@session_start();
			parent::__construct();
			$this->module=strtolower(get_class());
			
			$this->load->model('Mdichvu');
			$this->load->library('session');
			$this->setLang();
			$this->loadLang();
		}
コード例 #29
0
ファイル: sanpham.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			parent::__construct();
			$this->module=strtolower(get_class());
			$this->load->model('Msanpham');
			$this->SetLangSession();
			
			if ($this->session->userdata('lang')=='vn')
				$this->lang->load('tuongnhat','vietnamese');
			else
				$this->lang->load('tuongnhat','english');
		}
コード例 #30
0
ファイル: tagcloud.php プロジェクト: hungnv0789/vhtm
		function __construct()
		{
			@session_start();
			parent::__construct();
			$this->module=basename(dirname(dirname(__FILE__)));
			$this->module = strtolower(get_class());
			$this->load->library('pagination');
			$this->load->model('Mtagcloud');
			$this->load->library('session');
			$this->load->helper('text'); //cop vao controller
			$this->setLang();
			$this->loadLang();
		}