Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('User');
     $this->load->helper('videos');
     $this->layout->title("Séverine Lenglet : Administration");
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('User');
     $this->load->model('Photo');
     if (!$this->User->isLoggedIn()) {
         redirect('admin/pages/login', 'refresh');
     }
     $this->layout->title("Séverine Lenglet : Photo upload");
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('User');
     $this->load->model('Site_model');
     //$this->layout->js('assets/js/site.js');
     $this->layout->js('assets/js/ckeditor/ckeditor.js');
     if (!$this->User->isLoggedIn()) {
         redirect('admin/pages/login', 'refresh');
     }
     $this->layout->title("Séverine Lenglet : Website management");
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('User');
     $this->load->model('Video');
     $this->load->model('Photo');
     $this->load->helper('videos');
     $this->layout->js('assets/js/videos.js');
     if (!$this->User->isLoggedIn()) {
         redirect('admin/pages/login', 'refresh');
     }
     $this->layout->title("Séverine Lenglet : Videos management");
 }