push
This commit is contained in:
		@@ -1,14 +1,28 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
<head>
 | 
			
		||||
    <title><?= $song['songName'] ?> - Details</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
    <h1><?= $song['songName'] ?></h1>
 | 
			
		||||
    <p><strong>Album:</strong> <?= anchor("music/view/{$song['albumId']}", $song['albumName']) ?> (<?= $song['year'] ?>)</p>
 | 
			
		||||
    <p><strong>Artist:</strong> <?= $song['artistName'] ?></p>
 | 
			
		||||
    <?php if(isset($song['jpeg']) && $song['jpeg'] != ''): ?>
 | 
			
		||||
        <img src="data:image/jpeg;base64,<?= base64_encode($song['jpeg']) ?>" alt="<?= $song['albumName'] ?> Cover">
 | 
			
		||||
    <?php endif; ?>
 | 
			
		||||
    <section class="section">
 | 
			
		||||
        <div class="container">
 | 
			
		||||
            <h1 class="title"><?= $song['songName'] ?></h1>
 | 
			
		||||
            <div class="columns">
 | 
			
		||||
                <div class="column is-one-third">
 | 
			
		||||
                    <figure class="image">
 | 
			
		||||
                        <?php if(isset($song['jpeg']) && $song['jpeg'] != ''): ?>
 | 
			
		||||
                            <img src="data:image/jpeg;base64,<?= base64_encode($song['jpeg']) ?>" alt="<?= $song['albumName'] ?> Cover">
 | 
			
		||||
                        <?php else: ?>
 | 
			
		||||
                            <img src="path_to_default_image" alt="Default Cover">
 | 
			
		||||
                        <?php endif; ?>
 | 
			
		||||
                    </figure>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="column">
 | 
			
		||||
                    <p><strong>Album:</strong> <?= anchor("albums/view/{$song['albumId']}", $song['albumName']) ?> (<?= $song['year'] ?>)</p>
 | 
			
		||||
                    <p><strong>Artist:</strong> <?= $song['artistName'] ?></p>
 | 
			
		||||
                    <p><strong>Disk Number:</strong> <?= $song['diskNumber'] ?></p>
 | 
			
		||||
                    <p><strong>Track Number:</strong> <?= $song['number'] ?></p>
 | 
			
		||||
                    <p><strong>Duration:</strong> <?= $song['duration'] ?> seconds</p>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </section>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user