test
This commit is contained in:
@@ -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.
|
| 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/';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -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){
|
if ($recherche=filter_input(INPUT_GET,'recherche') == false or $recherche=filter_input(INPUT_GET,'recherche') == null){
|
||||||
$artistes = $this->model_music->getArtistes();
|
$artistes = $this->model_music->getArtistes();
|
||||||
}else{
|
}else{
|
||||||
$recherche=filter_input(INPUT_GET,'recherche');= $this->model_music->getSearchArtistes($recherche);
|
$recherche=filter_input(INPUT_GET,'recherche');
|
||||||
$artistes = $this->model_music->getSearchArtistes($recherche);
|
$artistes = $this->model_music->getSearchArtistes($recherche);
|
||||||
}
|
}
|
||||||
$this->load->view('layout/header');
|
$this->load->view('layout/header');
|
||||||
|
|||||||
@@ -25,5 +25,6 @@
|
|||||||
<li><?=anchor('artistes','Artistes');?></li>
|
<li><?=anchor('artistes','Artistes');?></li>
|
||||||
<li><?=anchor('chansons','Chansons');?></li>
|
<li><?=anchor('chansons','Chansons');?></li>
|
||||||
<li><?=anchor('playlist','Playlist');?></li>
|
<li><?=anchor('playlist','Playlist');?></li>
|
||||||
|
<li name='connexion'><?=anchor('connexion','Connexion');?></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -18,3 +18,8 @@ section.list img {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.recherche {
|
||||||
|
width : 75px;
|
||||||
|
height : 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user