début albums + son

This commit is contained in:
2024-05-27 13:08:39 +02:00
parent d04b8c19e2
commit 1e2735d5ba
4 changed files with 25 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
foreach($albums as $album){
echo "<div><article>";
echo "<header class='short-text'>";
echo anchor("albums/view/{$album->id}","{$album->name}");
echo anchor("albums/view/song_album_list.php","{$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>