départ sae php

This commit is contained in:
2024-05-29 10:29:40 +02:00
parent eb32dbd5b2
commit 8911872fe7
13 changed files with 893 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
<h5>Albums list</h5>
<section class="list">
<?php
foreach($albums as $album){
echo "<div><article>";
echo "<header class='short-text'>";
echo anchor("albums/view/{$album->id}","{$album->name}");
echo "</header>";
echo '<img src="data:image/jpeg;base64,'.base64_encode($album->jpeg).'" />';
echo "<footer class='short-text'>{$album->year} - {$album->artistName}</footer>
</article></div>";
}
?>
</section>