Test details artiste 1/?

This commit is contained in:
Vincent
2024-06-04 22:55:02 +02:00
parent 9db959c8d1
commit a59966d698
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title><?= $artist->artistName ?> - Details</title>
</head>
<body>
<h1><?= $artist->artistName ?></h1>
<p><strong>Genre:</strong> <?= $artist->genreName ?></p>
<img src="data:image/jpeg;base64,<?= base64_encode($artist->jpeg) ?>" alt="<?= $artist->artistName ?> Photo">
<h2>Albums</h2>
<ul>
<?php foreach ($albums as $album): ?>
<li><?= anchor("albums/view/{$album->albumId}", $album->albumName) ?> (<?= $album->year ?>)</li>
<?php endforeach; ?>
</ul>
</body>
</html>