Test pages * 1/?
This commit is contained in:
13
application/views/song_details.php
Normal file
13
application/views/song_details.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><?= $song->songName ?> - Details</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><?= $song->songName ?></h1>
|
||||
<p><strong>Album:</strong> <?= anchor("albums/view/{$song->trackId}", $song->albumName) ?> (<?= $song->year ?>)</p>
|
||||
<p><strong>Artist:</strong> <?= $song->artistName ?></p>
|
||||
<p><strong>Genre:</strong> <?= $song->genreName ?></p>
|
||||
<img src="data:image/jpeg;base64,<?= base64_encode($song->jpeg) ?>" alt="<?= $song->albumName ?> Cover">
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user