diff --git a/CodeIgniter-3.1.13/application/controllers/Albums.php b/CodeIgniter-3.1.13/application/controllers/Albums.php index 8405b2a..566a62b 100644 --- a/CodeIgniter-3.1.13/application/controllers/Albums.php +++ b/CodeIgniter-3.1.13/application/controllers/Albums.php @@ -7,6 +7,7 @@ class Albums extends CI_Controller { parent::__construct(); $this->load->model('model_music'); $this->load->helper('url'); + $this->load->helper('html'); } public function index($page = 1){ diff --git a/CodeIgniter-3.1.13/application/controllers/Artiste.php b/CodeIgniter-3.1.13/application/controllers/Artiste.php index 845f526..abcb9f5 100644 --- a/CodeIgniter-3.1.13/application/controllers/Artiste.php +++ b/CodeIgniter-3.1.13/application/controllers/Artiste.php @@ -8,6 +8,7 @@ class Artiste extends CI_Controller { $this->load->model('Model_artist'); $this->load->model('Model_music'); $this->load->helper('url'); + $this->load->helper('html'); } public function index($artiste_id){ diff --git a/CodeIgniter-3.1.13/application/controllers/Home.php b/CodeIgniter-3.1.13/application/controllers/Home.php index 4518a4d..5802789 100644 --- a/CodeIgniter-3.1.13/application/controllers/Home.php +++ b/CodeIgniter-3.1.13/application/controllers/Home.php @@ -7,6 +7,8 @@ public function index() { $this->load->helper('url'); + $this->load->helper('html'); + // Appeler la fonction pour récupérer les couvertures d'albums $data['covers'] = $this->Cover_model->get_covers(); diff --git a/CodeIgniter-3.1.13/application/controllers/MentionsLegales.php b/CodeIgniter-3.1.13/application/controllers/MentionsLegales.php index 2e84b0c..bb12647 100644 --- a/CodeIgniter-3.1.13/application/controllers/MentionsLegales.php +++ b/CodeIgniter-3.1.13/application/controllers/MentionsLegales.php @@ -6,6 +6,7 @@ class MentionsLegales extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->helper('url'); + $this->load->helper('html'); } public function index() diff --git a/CodeIgniter-3.1.13/application/controllers/Musiques.php b/CodeIgniter-3.1.13/application/controllers/Musiques.php index cff7cff..60e9e46 100644 --- a/CodeIgniter-3.1.13/application/controllers/Musiques.php +++ b/CodeIgniter-3.1.13/application/controllers/Musiques.php @@ -8,6 +8,7 @@ class Musiques extends CI_Controller { $this->load->model('Model_music'); $this->load->library('pagination'); $this->load->helper('url'); + $this->load->helper('html'); } public function index($page = 1){ diff --git a/CodeIgniter-3.1.13/application/controllers/Search.php b/CodeIgniter-3.1.13/application/controllers/Search.php index f43c682..579a1e4 100644 --- a/CodeIgniter-3.1.13/application/controllers/Search.php +++ b/CodeIgniter-3.1.13/application/controllers/Search.php @@ -7,6 +7,7 @@ class Search extends CI_Controller { parent::__construct(); $this->load->model('Search_model'); $this->load->helper('url'); + $this->load->helper('html'); } public function index(){ diff --git a/CodeIgniter-3.1.13/application/controllers/Utilisateur.php b/CodeIgniter-3.1.13/application/controllers/Utilisateur.php index 298df6b..9c0febf 100644 --- a/CodeIgniter-3.1.13/application/controllers/Utilisateur.php +++ b/CodeIgniter-3.1.13/application/controllers/Utilisateur.php @@ -8,6 +8,7 @@ class Utilisateur extends CI_Controller { $this->load->helper(array('form', 'url')); $this->load->library(array('form_validation', 'session')); $this->load->model('Utilisateur_model'); + $this->load->helper('html'); } public function inscription(){ diff --git a/CodeIgniter-3.1.13/application/views/layout/footer_dark.php b/CodeIgniter-3.1.13/application/views/layout/footer_dark.php index 47a2a0e..9e40874 100644 --- a/CodeIgniter-3.1.13/application/views/layout/footer_dark.php +++ b/CodeIgniter-3.1.13/application/views/layout/footer_dark.php @@ -1,27 +1,18 @@ - - -
- - - - - -