ajout chansons

This commit is contained in:
2024-05-27 13:32:33 +02:00
parent 5693312077
commit aa05e82ca5
4 changed files with 49 additions and 0 deletions

View 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>