ajout menu déroulant + bouton +
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -14,4 +14,4 @@ class Song extends CI_Controller {
|
||||
$this->load->view('song_album_list',['songs'=>$songs]);
|
||||
$this->load->view('layout/footer');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
14
ci/application/controllers/connexion.php
Normal file
14
ci/application/controllers/connexion.php
Normal 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');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user