Exemple #1
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('admin_model');
     $this->load->model('course_model');
     $this->me = $this->admin_model->check_login();
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("user_model");
     $this->load->model("news_model");
     $this->me = $this->user_model->check_login();
 }
Exemple #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("guide_model");
     $this->load->model("admin_model");
     $this->me = $this->admin_model->check_login();
 }
Exemple #4
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('site_model');
     $this->load->model('admin_model');
     $this->me = $this->admin_model->check_login();
     parent::require_login();
 }
Exemple #5
0
 public function __construct()
 {
     parent::__construct();
     $this->table_name = "tag";
     $this->load->model('tag_model');
     $this->load->model('problem_model');
     $this->me = $this->user_model->check_login();
 }
Exemple #6
0
 public function __construct()
 {
     parent::__construct();
     $this->table_name = "problem_detail";
     $this->load->model('problem_model');
     $this->load->model('problem_detail_model');
     $this->load->model('problem_comment_model');
     $this->load->model('tag_model');
     $this->load->model('news_model');
     $this->me = $this->user_model->check_login();
 }
Exemple #7
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('cookie');
     $this->load->model('user_model');
     $this->load->model('tag_model');
     $this->load->model('problem_model');
     $this->load->model('problem_detail_model');
     $this->load->model('problem_comment_model');
     $this->me = $this->user_model->check_login();
     $this->server_error = "服务器繁忙,无法处理您的请求,请尝试重新操作!";
 }
Exemple #8
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('course_model');
     $this->load->model('course_step_model');
     $this->load->model('admin_model');
     $this->load->model('course_chapter_model');
     $this->me = $this->admin_model->check_login();
     if ($this->me === false) {
         $this->finish(false, '未登录');
     }
 }
Exemple #9
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('course_model');
     $this->load->model('admin_model');
     $this->load->model('course_model');
     $this->load->model('course_chapter_model');
     $this->load->model('course_step_model');
     $this->load->model('news_model');
     $this->load->model('slide_model');
     $this->me = $this->admin_model->check_login();
 }
Exemple #10
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model("god_course_model");
 }
 function __construct()
 {
     parent::__construct();
     $this->load->library('common');
     $this->load->model('votes_model');
 }
 function __construct()
 {
     parent::__construct();
     $this->load->library('common');
     $this->load->model('tracking_users_model');
 }
Exemple #13
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('slide_model');
 }
Exemple #14
0
 function __construct()
 {
     parent::__construct();
 }
Exemple #15
0
 public function __construct()
 {
     parent::__construct();
     $this->me = ModelFactory::User()->check_login();
 }