fix views songs 2/?
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
foreach($musics as $music){
|
||||
echo "<div><article>";
|
||||
echo "<header class='short-text'>";
|
||||
echo anchor("albums/view/{$music->trackId}","{$music->trackName}");
|
||||
<?= anchor("music/view/{$song->trackId}", $song->albumName) ?>
|
||||
|
||||
echo "</header>";
|
||||
echo '<img src="data:image/jpeg;base64,'.base64_encode($music->jpeg).'" />';
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<h1><?= $song['songName'] ?></h1>
|
||||
<p><strong>Album:</strong> <?= anchor("music/view/{$song['albumId']}", $song['albumName']) ?> (<?= $song['year'] ?>)</p>
|
||||
<p><strong>Album:</strong> <?= anchor("albums/view/{$song['albumId']}", $song['albumName']) ?> (<?= $song['year'] ?>)</p>
|
||||
<p><strong>Artist:</strong> <?= $song['artistName'] ?></p>
|
||||
<p><strong>Genre:</strong> <?= $song['genreName'] ?></p>
|
||||
<?php if(isset($song['jpeg']) && $song['jpeg'] != ''): ?>
|
||||
|
Reference in New Issue
Block a user