public function __construct() { parent::__construct(); $this->load->model('User'); $this->load->helper('videos'); $this->layout->title("Séverine Lenglet : Administration"); }
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"); }
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"); }
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"); }