ajout menu déroulant + bouton +

This commit is contained in:
2024-06-05 11:14:54 +02:00
parent ee261d214e
commit f8cb928280
16 changed files with 230 additions and 51 deletions

View File

@@ -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');
}
}

View File

@@ -14,4 +14,4 @@ class Song extends CI_Controller {
$this->load->view('song_album_list',['songs'=>$songs]);
$this->load->view('layout/footer');
}
}
}

View File

@@ -0,0 +1,14 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class connexion extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model('model_music');
}
public function index(){
$this->load->view('layout/connexion');
}
}