Views getter
This commit is contained in:
@@ -13,6 +13,7 @@ class Artistes extends CI_Controller {
|
||||
$artists = $this->model_music->getArtists($genre, $order);
|
||||
$genres = $this->model_music->researchtype();
|
||||
$this->load->view('layout/header',['genres'=>$genres]);
|
||||
$this->load->view('layout/getter', $data);
|
||||
$this->load->view('artists_name',['artists'=>$artists]);
|
||||
$this->load->view('layout/footer');
|
||||
}
|
||||
|
@@ -15,6 +15,7 @@ class Music extends CI_Controller {
|
||||
$musics = $this->model_music->getMusics($genre, $order);
|
||||
$genres = $this->model_music->researchtype();
|
||||
$this->load->view('layout/header',['genres'=>$genres]);
|
||||
$this->load->view('layout/getter', $data);
|
||||
$this->load->view('musiques_name',['musics'=>$musics]);
|
||||
$this->load->view('layout/footer');
|
||||
}
|
||||
|
Reference in New Issue
Block a user