Merge branch 'main' of grond.iut-fbleau.fr:keraudre/SAE_DEV2.2_2024

This commit is contained in:
2024-06-15 19:28:07 +02:00
4 changed files with 64 additions and 8 deletions

View File

@@ -0,0 +1,16 @@
<h5>Détail de l'Album :</h5>
<section class="track-list">
<?php
if(!empty($tracks)) {
foreach($tracks as $track){
echo "<div><article>";
echo "<header class='track-id'>Id : {$track->number}</header>";
echo "<div class='track-name'>Nom : {$track->songName}</div>";
echo "<footer class='track_time'>Durée (en secondes) : {$track->duration}</footer>";
echo "</article></div>";
}
} else {
echo "<p>Aucune piste trouvée pour cet album.</p>";
}
?>
</section>