SAEWEB2.2/ci/application/views/albums_list.php

15 lines
421 B
PHP
Raw Normal View History

2024-05-21 15:05:29 +02:00
<h5>Albums list</h5>
<section class="list">
<?php
foreach($albums as $album){
echo "<div><article>";
echo "<header class='short-text'>";
2024-05-27 13:08:39 +02:00
echo anchor("albums/view/song_album_list.php","{$album->name}");
2024-05-21 15:05:29 +02:00
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>