diff --git a/ci/application/controllers/Albums.php b/ci/application/controllers/Albums.php index 0200e56..e33d9c4 100644 --- a/ci/application/controllers/Albums.php +++ b/ci/application/controllers/Albums.php @@ -21,7 +21,7 @@ class Albums extends CI_Controller { $songs = []; } $this->load->view('layout/header'); - $this->load->view('song_album_list', ['songs' => $songs, 'album' => $album]); + $this->load->view('song_album_list', ['songs' => $songs]); $this->load->view('layout/footer'); } } diff --git a/ci/application/controllers/Playlist.php b/ci/application/controllers/Playlist.php index 00b3648..e774b21 100644 --- a/ci/application/controllers/Playlist.php +++ b/ci/application/controllers/Playlist.php @@ -10,14 +10,14 @@ class Playlist extends CI_Controller { public function index(){ $playlists = $this->model_music->getPlaylist(); - // $this->load->view('layout/header'); + $this->load->view('layout/header'); $this->load->view('playlist_list', ['playlists' => $playlists]); $this->load->view('layout/footer'); } public function view(){ $playlists = $this->model_music->deletePlaylist(); - //$this->load->view('layout/header_album'); + $this->load->view('layout/header'); $this->load->view('playlist_list', ['playlists' => $playlists]); $this->load->view('layout/footer'); } @@ -35,7 +35,7 @@ class Playlist extends CI_Controller { } public function MenuCreate() { - //$this->load->view('layout/header_album'); + $this->load->view('layout/header'); $this->load->view('create_playlist'); $this->load->view('layout/footer'); diff --git a/ci/application/views/Welcome.php b/ci/application/views/Welcome.php index d762ec3..c6ad400 100644 --- a/ci/application/views/Welcome.php +++ b/ci/application/views/Welcome.php @@ -4,6 +4,7 @@ SpotiFly +
diff --git a/ci/application/views/layout/header copy.php b/ci/application/views/layout/header copy.php index 29698f6..5959d0d 100644 --- a/ci/application/views/layout/header copy.php +++ b/ci/application/views/layout/header copy.php @@ -9,7 +9,7 @@ -
+