Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper(['url', 'form', 'security']);
     $this->load->library(['form_validation', 'session']);
     $this->logged = $this->session_check();
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     if ($_SESSION['userid'] < 1) {
         redirect('template/login', 'refresh');
     }
 }
Example #3
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('user/m_tes');
     $this->load->model('user/mod_index');
     session_start();
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('m_polling');
     $this->load->model('m_register');
     $this->load->model('m_verifikasi');
 }
Example #5
0
 function __construct()
 {
     parent::__construct();
     session_start();
     $this->load->model('Auth_model');
     $this->load->model('m_kontak');
 }
Example #6
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('mdata', 'mposts', 'mcats', 'madmins', true);
     if ($_SESSION['userid'] < 1) {
         redirect('template/login', 'refresh');
     }
 }
Example #7
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('m_user');
     if (!$this->session->userdata('username')) {
         redirect('admin/login');
     }
 }
Example #8
0
 function __construct()
 {
     parent::__construct();
     session_start();
     date_default_timezone_set('Asia/Jakarta');
     $this->load->model('Auth_model');
     $this->load->model('m_admin');
 }
Example #9
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('m_user');
     if ($this->session->userdata('username')) {
         redirect('administrator/dashboard');
     }
 }
Example #10
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('matlet');
     $this->matlet = new MAtlet();
     $this->load->library('upload');
     //$this->load->library('phpGrid_Lite/phpGrid');
 }
Example #11
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('marticle');
     $this->load->model('mcatarticle');
     $this->marticle = new MArticle();
     $this->mcatarticle = new MCatarticle();
     $this->load->library('upload');
 }
Example #12
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('Collaborate_model', 'Collaborate_model', True);
     $this->load->model('Menu_link_model', 'Menu_link_model', True);
     $this->load->model('Email_setting_model', 'Email_setting_model', True);
     $this->load->controller('Website');
     $website_object = new Website();
     $website_object->load();
 }
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('News_letter_subscriper_model', 'News_letter_subscriper_model', True);
     $this->load->model('Menu_link_model', 'Menu_link_model', True);
     $this->load->model('Email_template_model', 'Email_template_model', True);
     /*
     $this->load->controller('Website');
     $website_object= new Website();
     $website_object->load();
     */
     $this->load->helper('language');
     $this->load->helper('url');
     $this->load->library('session');
     $this->load->helper('cookie');
     $this->lang->load('main');
 }
Example #14
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('Page_model', 'Page_model', True);
     $this->load->model('Menu_map_model', 'Menu_map_model', True);
     $this->load->model('Menu_model', 'Menu_model', True);
     $this->load->model('Menu_link_model', 'Menu_link_model', True);
     $this->load->model('Pagecat_model', 'Pagecat_model', True);
     $this->load->model('Writer_model', 'Writer_model', True);
     $this->load->model('Video_model', 'Video_model', True);
     $this->load->model('Gallery_model', 'Gallery_model', True);
     $this->load->model('Questionnaire_model', 'Questionnaire_model', True);
     $this->load->helper('language');
     $this->load->helper('url');
     $this->load->library('session');
     $this->load->helper('cookie');
     $this->lang->load('main');
 }
Example #15
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('Country_model', 'Country_model', True);
 }
Example #16
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('mcabor');
     $this->mcabor = new MCabor();
 }
Example #17
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('url');
     $this->load->library('session');
 }
Example #18
0
 public function __construct()
 {
     parent::__construct();
 }
Example #19
0
 public function __construct($subjet)
 {
     $this->_subject = $subjet;
     parent::__construct();
 }
Example #20
0
 public function __Construct()
 {
     parent::__Construct();
     $this->load->model('news_model');
     $this->load->helper('url_helper');
 }