Liste des albums
"; echo ""; + echo ''; echo ""; echo "
diff --git a/ci/application/controllers/Chansons.php b/ci/application/controllers/Chansons.php index 992e9d6..5dab478 100644 --- a/ci/application/controllers/Chansons.php +++ b/ci/application/controllers/Chansons.php @@ -14,4 +14,11 @@ class Albums extends CI_Controller { $this->load->view('layout/footer_chanson'); } + public function view($AlbumsOfArtistId){ + $AlbumsOfArtists = $this->model_music->getAlbumsOfArtist($AlbumsOfArtistId); + $this->load->view('layout/header'); + $this->load->view('albums_artist_list',['AlbumsOfArtists'=>$AlbumsOfArtists]); + $this->load->view('layout/footer'); + } + } diff --git a/ci/application/controllers/Song.php b/ci/application/controllers/Song.php index 77b552a..82d44d3 100644 --- a/ci/application/controllers/Song.php +++ b/ci/application/controllers/Song.php @@ -14,4 +14,4 @@ class Song extends CI_Controller { $this->load->view('song_album_list',['songs'=>$songs]); $this->load->view('layout/footer'); } -} \ No newline at end of file +} diff --git a/ci/application/controllers/connexion.php b/ci/application/controllers/connexion.php new file mode 100644 index 0000000..a7cc2be --- /dev/null +++ b/ci/application/controllers/connexion.php @@ -0,0 +1,14 @@ +load->model('model_music'); + } + public function index(){ + $this->load->view('layout/connexion'); + } + +} diff --git a/ci/application/views/Welcome.php b/ci/application/views/Welcome.php index 8fbee6c..d762ec3 100644 --- a/ci/application/views/Welcome.php +++ b/ci/application/views/Welcome.php @@ -7,22 +7,36 @@
Ou se connecter avec
+ + + +