예제 #1
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('auth_model');
     $this->load->model('charts_model');
     $this->load->model('dates_model');
     $this->load->model('reports_model');
     $this->days = 7;
 }
예제 #2
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('admin/orders_model');
     //user has logged in
     if ($this->login_model->check_login()) {
     } else {
         $this->session->set_userdata('front_error_message', 'Please sign up/in to continue');
         redirect('checkout');
     }
 }
예제 #3
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('auth_model');
     $this->load->model('banner_model');
     $this->load->model('subscription_model');
     $this->load->model('stripe_model');
     $this->load->model('reports_model');
     //user has logged in
     if ($this->auth_model->check_login()) {
     } else {
         $this->session->set_userdata('error_message', 'Please sign in to continue');
         redirect('sign-in');
     }
 }
예제 #4
0
 function __construct()
 {
     parent::__construct();
     $this->check_isvalidated();
 }
예제 #5
0
파일: cart.php 프로젝트: masitsa/autospares
 function __construct()
 {
     parent::__construct();
 }
예제 #6
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('customer/customer_model');
     $this->load->model('dobi/dobi_model');
 }
예제 #7
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('site/orders_model');
     $this->load->model('site/payments_model');
 }