diff --git a/CodeIgniter-3.1.13/application/config/config.php b/CodeIgniter-3.1.13/application/config/config.php index 41d23ff..65af822 100644 --- a/CodeIgniter-3.1.13/application/config/config.php +++ b/CodeIgniter-3.1.13/application/config/config.php @@ -23,7 +23,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | a PHP script and you can easily do that on your own. | */ -$config['base_url']='/~felix-vi/SAE_PHP_2024/CodeIgniter-3.1.13/'; +$config['base_url']='/~felix-vi/SAE_PHP_2024_test/CodeIgniter-3.1.13/'; /* |-------------------------------------------------------------------------- diff --git a/CodeIgniter-3.1.13/application/controllers/Artistes.php b/CodeIgniter-3.1.13/application/controllers/Artistes.php index 9c6d6f4..04fef29 100644 --- a/CodeIgniter-3.1.13/application/controllers/Artistes.php +++ b/CodeIgniter-3.1.13/application/controllers/Artistes.php @@ -13,7 +13,7 @@ class Artistes extends CI_Controller { if ($recherche=filter_input(INPUT_GET,'recherche') == false or $recherche=filter_input(INPUT_GET,'recherche') == null){ $artistes = $this->model_music->getArtistes(); }else{ - $recherche=filter_input(INPUT_GET,'recherche');= $this->model_music->getSearchArtistes($recherche); + $recherche=filter_input(INPUT_GET,'recherche'); $artistes = $this->model_music->getSearchArtistes($recherche); } $this->load->view('layout/header'); diff --git a/CodeIgniter-3.1.13/application/views/layout/header.php b/CodeIgniter-3.1.13/application/views/layout/header.php index c9d5ade..02d22d6 100644 --- a/CodeIgniter-3.1.13/application/views/layout/header.php +++ b/CodeIgniter-3.1.13/application/views/layout/header.php @@ -25,5 +25,6 @@
  • +
  • diff --git a/CodeIgniter-3.1.13/assets/style.css b/CodeIgniter-3.1.13/assets/style.css index df6266e..a926095 100644 --- a/CodeIgniter-3.1.13/assets/style.css +++ b/CodeIgniter-3.1.13/assets/style.css @@ -18,3 +18,8 @@ section.list img { text-overflow: ellipsis; } +.recherche { + width : 75px; + height : 24px; +} +