ajout chansons
This commit is contained in:
15
CodeIgniter-3.1.13/application/views/chansons_list.php
Normal file
15
CodeIgniter-3.1.13/application/views/chansons_list.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<h5>Chansons list</h5>
|
||||
<section class="list">
|
||||
<?php
|
||||
foreach($chansons as $chansons){
|
||||
echo "<div><article>";
|
||||
echo "<header class='short-text'>";
|
||||
echo anchor("albums/view/{$chansons->id}","{$chansons->name}");
|
||||
echo "</header>";
|
||||
echo "<nav class='short-text'>Nom album: {$chansons->albumName}</nav>";
|
||||
echo "<nav class='short-text'>Genre: {$chansons->genreName}</nav>";
|
||||
echo "<footer class='short-text'>{$chansons->year} - {$chansons->artistName}</footer>
|
||||
</article></div>";
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
@@ -20,6 +20,7 @@
|
||||
<ul>
|
||||
<li><?=anchor('albums','Albums');?></li>
|
||||
<li><?=anchor('artistes','Artistes');?></li>
|
||||
<li><?=anchor('chansons','Chansons');?></li>
|
||||
<li><?=anchor('playlist','Playlist');?></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user