vraiment beau boulot

This commit is contained in:
2024-06-10 14:08:26 +02:00
parent c61c485651
commit 17a95f32ce
3 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Artistes extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model('model_music');
$this->load->helper('html');
$this->load->helper('url');
$this->load->helper('form');
}
public function index(){
$artistes = $this->model_music->getArtistes();
$this->load->view('layout/header');
$this->load->view('artistes_list', ['artistes'=>$artistes]);
$this->load->view('layout/footer');
}
}