예제 #1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper(['url', 'form', 'security']);
     $this->load->library(['form_validation', 'session']);
     $this->logged = $this->session_check();
 }
예제 #2
0
 function __construct()
 {
     parent::__construct();
     if ($_SESSION['userid'] < 1) {
         redirect('template/login', 'refresh');
     }
 }
예제 #3
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('user/m_tes');
     $this->load->model('user/mod_index');
     session_start();
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('m_polling');
     $this->load->model('m_register');
     $this->load->model('m_verifikasi');
 }
예제 #5
0
 function __construct()
 {
     parent::__construct();
     session_start();
     $this->load->model('Auth_model');
     $this->load->model('m_kontak');
 }
예제 #6
0
파일: posts.php 프로젝트: helmi22/Web-Tms
 function __construct()
 {
     parent::__construct();
     $this->load->model('mdata', 'mposts', 'mcats', 'madmins', true);
     if ($_SESSION['userid'] < 1) {
         redirect('template/login', 'refresh');
     }
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('m_user');
     if (!$this->session->userdata('username')) {
         redirect('admin/login');
     }
 }
예제 #8
0
 function __construct()
 {
     parent::__construct();
     session_start();
     date_default_timezone_set('Asia/Jakarta');
     $this->load->model('Auth_model');
     $this->load->model('m_admin');
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('m_user');
     if ($this->session->userdata('username')) {
         redirect('administrator/dashboard');
     }
 }
예제 #10
0
파일: Atlet.php 프로젝트: alfonkdp/soad
 public function __construct()
 {
     parent::__construct();
     $this->load->model('matlet');
     $this->matlet = new MAtlet();
     $this->load->library('upload');
     //$this->load->library('phpGrid_Lite/phpGrid');
 }
예제 #11
0
파일: Article.php 프로젝트: alfonkdp/soad
 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');
 }
예제 #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();
 }
예제 #13
0
 /**
  * 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');
 }
예제 #14
0
파일: home.php 프로젝트: goudaelalfy/nahda
 /**
  * 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');
 }
예제 #15
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('Country_model', 'Country_model', True);
 }
예제 #16
0
파일: Cabor.php 프로젝트: alfonkdp/soad
 public function __construct()
 {
     parent::__construct();
     $this->load->model('mcabor');
     $this->mcabor = new MCabor();
 }
예제 #17
0
파일: Update.php 프로젝트: arjint2004/12516
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('url');
     $this->load->library('session');
 }
예제 #18
0
파일: Dashboard.php 프로젝트: alfonkdp/soad
 public function __construct()
 {
     parent::__construct();
 }
예제 #19
0
 public function __construct($subjet)
 {
     $this->_subject = $subjet;
     parent::__construct();
 }
예제 #20
0
파일: News.php 프로젝트: qijianbo/phpci
 public function __Construct()
 {
     parent::__Construct();
     $this->load->model('news_model');
     $this->load->helper('url_helper');
 }