plus joli
This commit is contained in:
parent
2a094b08aa
commit
9664beb70a
codeigniter
@ -24,9 +24,7 @@
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if(isset($is_search) && $is_search): ?>
|
|
||||||
<p>Nombre de résultats : <?php echo $num_results; ?></p>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
|
|
||||||
<section class="list">
|
<section class="list">
|
||||||
@ -52,8 +50,10 @@ foreach ($artistAlbums as $artistName => $albums) {
|
|||||||
echo "</header>";
|
echo "</header>";
|
||||||
echo "<ul>";
|
echo "<ul>";
|
||||||
foreach ($albums as $album) {
|
foreach ($albums as $album) {
|
||||||
echo "<li>" . anchor("music/view/{$album['albumId']}", $album['albumName']) . " - " . $album['year'] . "</li>";
|
echo anchor("music/view/{$album['albumId']}", $album['albumName']) . " - " . $album['year'] ;
|
||||||
|
echo "<br>";
|
||||||
echo "<button class='ajout-artistes' onclick=\"location.href='" . site_url("playlist/choix_playlist/{$album['albumId']}") . "'\">Ajouter</button>";
|
echo "<button class='ajout-artistes' onclick=\"location.href='" . site_url("playlist/choix_playlist/{$album['albumId']}") . "'\">Ajouter</button>";
|
||||||
|
echo "<br>";
|
||||||
}
|
}
|
||||||
echo "</ul>";
|
echo "</ul>";
|
||||||
echo "</article></div>";
|
echo "</article></div>";
|
||||||
|
@ -266,3 +266,7 @@ margin-left: 50px;
|
|||||||
.musics-album {
|
.musics-album {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.error_msg{
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user