コード例 #1
0
ファイル: Articles.php プロジェクト: lwl1989/paintmore
 function __construct()
 {
     parent::__construct();
     $this->load->helper('image_helper');
     $this->load->model('Article_model');
     $this->assign('index_channel', 'contents');
 }
コード例 #2
0
 function __construct()
 {
     parent::__construct();
     $this->is_logged_in();
     $this->load->model('archive_model');
     //$this->output->enable_profiler(TRUE);
 }
コード例 #3
0
ファイル: User.php プロジェクト: lwl1989/paintmore
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('image_helper');
     $this->load->model('site_config');
     $this->load->model('user/User_model');
     $this->assign('index_channel', 'contents');
 }
コード例 #4
0
 function __construct()
 {
     parent::__construct();
     $this->jload->add('menu.js');
     $this->jload->add('colorbox/jquery.colorbox-min.js');
     $this->jload->add('jConfirmAction/jconfirmaction.jquery.js');
     $this->jload->add('qtip/jquery.qtip.min.js');
 }
コード例 #5
0
 function __construct()
 {
     parent::__construct();
     $this->is_logged_in();
     $this->load->model('promos_model');
     // 		$this->output->enable_profiler();
     // To show messages make sure this is installed
     // http://getsparks.org/packages/message/versions/HEAD/show
 }
コード例 #6
0
ファイル: Activity.php プロジェクト: lwl1989/paintmore
 function __construct()
 {
     parent::__construct();
     //解析站点信息
     $this->load->helper('file_helper');
     $this->load->helper('image');
     $this->load->model('activities/Activities_model');
     $this->assign('index_channel', 'contents');
 }
コード例 #7
0
ファイル: Order.php プロジェクト: lwl1989/paintmore
 function __construct()
 {
     parent::__construct();
     $this->load->helper('order');
     $this->config->load('order', true);
     $this->load->model('order/Orders_model');
     $this->assign('index_channel', 'contents');
     $this->assign('state_cn', $this->config->item('order')['state_cn']);
 }
コード例 #8
0
ファイル: Comments.php プロジェクト: lwl1989/paintmore
 function __construct()
 {
     parent::__construct();
     $this->load->model('Comment_model');
     $this->assign('index_channel', 'contents');
 }
コード例 #9
0
ファイル: Place.php プロジェクト: lwl1989/paintmore
 function __construct()
 {
     parent::__construct();
     $this->load->model('place/Place_model');
     $this->assign('index_channel', 'marketing');
 }
コード例 #10
0
ファイル: Resource_acl.php プロジェクト: lwl1989/paintmore
 public function __construct()
 {
     parent::__construct();
     $this->load->model('Site_role_model');
 }
コード例 #11
0
ファイル: Login.php プロジェクト: lwl1989/paintmore
 public function __construct()
 {
     parent::__construct();
     $this->set_layout();
 }
コード例 #12
0
 function __construct()
 {
     parent::__construct();
     //$this->output->enable_profiler(TRUE);
 }
コード例 #13
0
ファイル: dashboard.php プロジェクト: arifams/banbi
 function __construct()
 {
     parent::__construct();
     $this->load->model('user_model', 'user');
     $this->load->model('question_model', 'question');
 }
コード例 #14
0
 /**
  *
  * Newsletter Statuses
  * '2'	=>	'Draft',
  * '1'	=>	'Active',
  * '0'	=>	'De-activated',
  * 
  */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('newsletters_model');
 }
コード例 #15
0
ファイル: Wechat_menu.php プロジェクト: lwl1989/paintmore
 function __construct()
 {
     parent::__construct();
     $this->assign('index_channel', 'marketing');
 }
コード例 #16
0
ファイル: Site_admin.php プロジェクト: lwl1989/paintmore
 public function __construct()
 {
     parent::__construct();
     $this->load->model('Admin_model');
 }
コード例 #17
0
ファイル: Welcome.php プロジェクト: lwl1989/paintmore
 function __construct()
 {
     parent::__construct();
 }
コード例 #18
0
ファイル: Lecturer.php プロジェクト: lwl1989/paintmore
 function __construct()
 {
     parent::__construct();
     $this->load->model('lecturer/Lecturer_model');
     $this->assign('index_channel', 'contents');
 }
コード例 #19
0
ファイル: users.php プロジェクト: arifams/banbi
 function __construct()
 {
     parent::__construct();
     $this->load->model('user_model');
 }
コード例 #20
0
 function __construct()
 {
     parent::__construct();
     $this->is_logged_in();
 }