Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->module = $this->uri->segment(4);
     $this->table = "omc_" . $this->module;
     $this->id = $this->uri->segment(5);
 }
Ejemplo n.º 2
0
 function __construct()
 {
     parent::__construct();       
     $this->load->model('MHomepage');
     $this->module=basename(dirname(dirname(__FILE__)));      
     $this->bep_site->set_crumb($this->lang->line('backendpro_ql_homepage'),$this->module.'/admin');
 }
Ejemplo n.º 3
0
 function __construct()
 {
     parent::__construct();       
     $this->load->model('Mtintuc');
     $this->module=basename(dirname(dirname(__FILE__)));      
    // $this->bep_site->set_crumb($this->lang->line('backendpro_ql_khoahoc'),$this->module.'/admin');
     $this->load->library('form_validation');
 }
Ejemplo n.º 4
0
 function __construct()
 {
     parent::__construct();
 	$this->module='currency';
     $this->load->model('menus/MMenus');
     $this->load->model('MCurrency');
     $this->bep_site->set_crumb($this->lang->line('backendpro_pages'),$this->module.'/admin');
 }
Ejemplo n.º 5
0
	    function __construct()
	    {
	        parent::__construct();       
	        $this->load->model('Mlichhoc');
	        $this->module=basename(dirname(dirname(__FILE__)));
	        $this->bep_site->set_crumb($this->lang->line('backendpro_ql_lichhoc'),$this->module.'/admin');
	        $this->load->library('form_validation');
			$this->load->library('Spreadsheet_Excel_Reader');
	    }
Ejemplo n.º 6
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     //check('Loaisach');        
     $this->load->model('MLoaiKhoaHoc');
     $this->module=basename(dirname(dirname(__FILE__)));      
     $this->bep_site->set_crumb("Quản lý loại khóa học",$this->module.'/admin');
 }
Ejemplo n.º 7
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     $this->load->model('MNews');
     $this->module=basename(dirname(dirname(__FILE__)));
     $this->module='is_news';
     mb_internal_encoding('UTF-8');
 }
Ejemplo n.º 8
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     //check('Loaisach');        
     $this->load->model('MLoaisach');
     $this->module=basename(dirname(dirname(__FILE__)));      
     $this->bep_site->set_crumb($this->lang->line('backendpro_ql_loaisach'),$this->module.'/admin');
 }
Ejemplo n.º 9
0
	    function __construct()
	    {
	        parent::__construct();
	        // Check for access permission
	        //check('Hoithao');        
	        $this->load->model('Mdangky');
	        $this->load->library('session');
	        $this->module=basename(dirname(dirname(__FILE__)));      
	        //$this->bep_site->set_crumb($this->lang->line('backendpro_ql_hoithao'),$this->module.'/admin');
	    }
Ejemplo n.º 10
0
    function __construct()
    {
        parent::__construct();       
        $this->load->model('MKhoahoc');
        $this->load->model('loaikhoahoc/MLoaiKhoaHoc');
        $this->module=basename(dirname(dirname(__FILE__)));      
        $this->bep_site->set_crumb($this->lang->line('backendpro_ql_khoahoc'),$this->module.'/admin');
        $this->load->library('form_validation');
		$this->load->helper('ckeditor');
    }
Ejemplo n.º 11
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
   
     // load the MKho model
     $this->module=basename(dirname(dirname(__FILE__)));      
     $this->load->model('shop_kho/MKho');
     $this->load->model('MBan');
 }
Ejemplo n.º 12
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     check('Kho');        
   
     // load the MKho model
     $this->load->model('MKho');
     $this->module=basename(dirname(dirname(__FILE__)));      
     $this->bep_site->set_crumb($this->lang->line('backendpro_kho'),$this->module.'/admin');
 }
Ejemplo n.º 13
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('MProfile');
     $this->module=basename(dirname(dirname(__FILE__)));
     $this->module='is_update_profile';
     $this->load->helper('auth/userlib');
     $this->load->library('auth/userlib');//lang auth/userlib is loaded here
     $this->load->config('auth/userlib');
     mb_internal_encoding('UTF-8');
 }
Ejemplo n.º 14
0
 public function __construct() 
 {
     // the link looks like this, kaimonokago/admin/changeBooleanStatus/$module/".$list['id']."/manage/".$category_id
     parent::__construct();
     $this->module = $this->uri->segment(4);
     $this->table = "omc_".$this->module;
     $this->id = $this->uri->segment(5);
     $this->sub_controller = $this->uri->segment(6);
     $this->category_id = $this->uri->segment(7);
     $this->fieldname = $this->uri->segment(8);
 }
Ejemplo n.º 15
0
	function __construct()
	{
		parent::__construct();
	   	// Check for access permission
		check('Messages');
		// Load model MMessages
		$this->load->model('MMessages');
		$this->module=basename(dirname(dirname(__FILE__)));
		// Set breadcrumb
		$this->bep_site->set_crumb($this->lang->line('backendpro_messages'),$this->module.'/admin');	
    }
Ejemplo n.º 16
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     check('Customers');
     // load MCustomers model
     $this->load->model('MCustomers');
     $this->bep_assets->load_asset('unmaskpassword');
     $this->module=basename(dirname(dirname(__FILE__)));
     // Set breadcrumb
     $this->bep_site->set_crumb($this->lang->line('backendpro_customers'),$this->module.'/admin');
 }
Ejemplo n.º 17
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     check('Category');
     $this->load->model('MCats');
     $this->module=basename(dirname(dirname(__FILE__)));
     //$this->module='category';
     // Set breadcrumb
     $this->bep_site->set_crumb($this->lang->line('backendpro_category'),$this->module.'/admin');
     mb_internal_encoding('UTF-8');
 }
Ejemplo n.º 18
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     check('Slideshow');
     // load the MSlideshow model
     //$this->load->model('MSlideshow');
     $this->module=basename(dirname(dirname(__FILE__)));
     //$this->module='slideshow';
     // Set breadcrumb
     $this->bep_site->set_crumb($this->lang->line('backendpro_slideshow'),$this->module.'/admin');
 }
Ejemplo n.º 19
0
  	function __construct()
	{
		parent::__construct();
	// Check for access permission
		check('Orders');
		// load category model from module categories	
		$this->load->model('category/MCats');	
		$this->load->model('products/MProducts');	
		// load orders model
		$this->load->model('MOrders');
		// Set breadcrumb
		$this->bep_site->set_crumb($this->lang->line('backendpro_orders'),'orders/admin');		
	}
Ejemplo n.º 20
0
  	function __construct()
    {
        parent::__construct();
	    $this->load->model('MCalendar');
	    $this->bep_assets->load_asset_group('calendar');
	    // Check for access permission. Only if you have permission, you can access to Calendar
		check('Calendar');
		// We are going to use form helper. So load it.
        $this->module=basename(dirname(dirname(__FILE__)));
		$this->load->helper('form');
		// Set breadcrumb for the top level
		$this->bep_site->set_crumb($this->lang->line('backendpro_calendar'),'calendar/admin');	
  	}
Ejemplo n.º 21
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     check('Products');
     // load modules/categories/model/mcats
     $this->load->model('category/MCats');
     // load the MProducts model
     $this->load->model('MProducts');
     $this->module=basename(dirname(dirname(__FILE__)));
     //$this->module='products';
     // Set breadcrumb
     $this->bep_site->set_crumb($this->lang->line('backendpro_products'),$this->module.'/admin');
 }
Ejemplo n.º 22
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     check('Menus');
     // define this module which will be used later
     $this->module=basename(dirname(dirname(__FILE__)));
     // load modules/menus/model/mmenus
     $this->load->model('menus/MMenus');
     // Load modules/pages/models/MPages
     $this->load->model('pages/MPages');
     // Set breadcrumb
     $this->bep_site->set_crumb($this->lang->line('backendpro_menus'),$this->module.'/admin');
 }
Ejemplo n.º 23
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     check('Pages');
     //   $this->module='pages';
     $this->module=basename(dirname(dirname(__FILE__)));
     // Load modules/menus/models/MMenus
     $this->load->model('menus/MMenus');
     // Load pages model
     $this->load->model('MPages');
     // Set breadcrumb
     $this->bep_site->set_crumb($this->lang->line('backendpro_pages'),$this->module.'/admin');
 }
Ejemplo n.º 24
0
 function __construct()
 {
     parent::__construct();
    	// Check for access permission
 	check('Multi languages');
    	// load modules/languages/model/mlangs
    	//$this->load->model('languages/MLangs');
     // Load needed files
     //$this->lang->load('multi');
     $this->module=basename(dirname(dirname(__FILE__)));
    	$this->load->model('menus/MMenus');
     //$this->config->load('kaimonokago/field');
 	// Set breadcrumb
 	$this->bep_site->set_crumb($this->lang->line('kago_languages'),$this->module.'/admin');
 }
Ejemplo n.º 25
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     check('Products');
     $this->load->model('Category/MCats');
     //$this->load->model('Products','MProducts');
     $this->load->model('MProducts');
     $this->module=basename(dirname(dirname(__FILE__)));
     $this->classname=strtolower(get_class());// this will gives 'Manage'
     //$this->module='category';
     // Set breadcrumb
     //$this->bep_site->set_crumb('Manage '.$this->lang->line('backendpro_products'),$this->module.'/admin');
     mb_internal_encoding('UTF-8');
 }
Ejemplo n.º 26
0
 function __construct()
 {
     parent::__construct();
     // Check for access permission
     check('Subscribers');
     // load model subscribers
     $this->load->model('MSubscribers');
     $this->load->helper('date');
     $this->load->helper('file');
     $this->module='subscribers';
     $this->lang->load('subscribers', 'english');
     // Set breadcrumb
     $this->bep_site->set_crumb($this->lang->line('backendpro_subscribers'),'subscribers/admin');
     // Loading Bep validation
     // $this->load->library('validation');
 }
Ejemplo n.º 27
0
	    function __construct()
	    {
	        parent::__construct();       
	        $this->load->model('Mslide');
	        $this->module=basename(dirname(dirname(__FILE__)));      
	    }