コード例 #1
0
 public function login()
 {
     $css = array(array('bower_components/bootstrap/dist/css/bootstrap.min.css'), array('bower_components/metisMenu/dist/metisMenu.min.css'), array('dist/css/sb-admin-2.css'), array('bower_components/font-awesome/css/font-awesome.min.css'));
     $this->carabiner->group('admin-css-login', array('css' => $css));
     $js = array(array('bower_components/jquery/dist/jquery.min.js'), array('bower_components/bootstrap/dist/js/bootstrap.min.js'), array('dist/js/sb-admin-2.js'));
     $this->carabiner->group('admin-js-login', array('js' => $js));
     $this->load->view(ctTemplate('admin', 'template-login'), $this->data);
 }
コード例 #2
0
 public function profile()
 {
     $this->data["page_title"] = "User's profile";
     $this->data["carabiner_css"] = NULL;
     $this->data["carabiner_js"] = 'admin-chart';
     $this->data["carabiner_js_pages"] = 'admin-pages';
     $js["chart"] = array(array('dist/assets/plugins/jquery-sparkline/jquery.sparkline.js'), array('demo/js/demo.js'), array('dist/assets/plugins/flot/jquery.flot.js'), array('dist/assets/plugins/flot/jquery.flot.resize.js'));
     $this->carabiner->group('admin-chart', array('js' => $js["chart"]));
     $js["pages"] = array(array('demo/js/pages-profile.js'));
     $this->carabiner->group('admin-pages', array('js' => $js["pages"]));
     $this->data['view'] = 'users/profile';
     $this->load->view(ctTemplate('admin'), $this->data);
 }
コード例 #3
0
 public function index()
 {
     $this->load->view(ctTemplate('front', 'template-contact'), $this->data);
 }
コード例 #4
0
 public function cart($id = NULL)
 {
     $this->data['view'] = 'shop-cart';
     $this->load->view(ctTemplate('front', 'template-fullwidth'), $this->data);
 }
コード例 #5
0
 public function detail($id = NULL)
 {
     $this->data['view'] = 'product-single';
     $this->load->view(ctTemplate(), $this->data);
 }
コード例 #6
0
 public function detail()
 {
     $this->data['view'] = 'blogs-detail';
     $this->load->view(ctTemplate(), $this->data);
 }
コード例 #7
0
 public function e404()
 {
     $this->data['view'] = 'homepage';
     $this->load->view(ctTemplate('front', 'errors'), $this->data);
 }
コード例 #8
0
 public function index()
 {
     $this->data['view'] = 'homepage';
     $this->load->view(ctTemplate(), $this->data);
 }