push
This commit is contained in:
		@@ -1,31 +1,38 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
<head>
 | 
			
		||||
    <title><?= $album->albumName ?> - Details</title>
 | 
			
		||||
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css">
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
    <section class="section">
 | 
			
		||||
        <div class="container">
 | 
			
		||||
            <h1 class="title"><?= $album->albumName ?></h1>
 | 
			
		||||
            <div class="columns">
 | 
			
		||||
            <div class="columns is-vcentered">
 | 
			
		||||
                <div class="column is-one-third">
 | 
			
		||||
                    <figure class="image">
 | 
			
		||||
                    <figure class="image is-square">
 | 
			
		||||
                        <img src="data:image/jpeg;base64,<?= base64_encode($album->jpeg) ?>" alt="<?= $album->albumName ?> Cover">
 | 
			
		||||
                    </figure>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="column">
 | 
			
		||||
                    <p><strong>Artist:</strong> <?= $album->artistName ?></p>
 | 
			
		||||
                    <h1 class="title"><?= $album->albumName ?></h1>
 | 
			
		||||
                    <p><strong>Artiste:</strong> <?= $album->artistName ?></p>
 | 
			
		||||
                    <p><strong>Genre:</strong> <?= $album->genreName ?></p>
 | 
			
		||||
                    <p><strong>Year:</strong> <?= $album->year ?></p>
 | 
			
		||||
                    <p><strong>Année:</strong> <?= $album->year ?></p>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <h2 class="title is-4">Songs</h2>
 | 
			
		||||
            <ul>
 | 
			
		||||
                <?php foreach ($songs as $song): ?>
 | 
			
		||||
                    <li><?= anchor("music/view/{$song->trackId}", $song->trackName) ?></li>
 | 
			
		||||
                <?php endforeach; ?>
 | 
			
		||||
            </ul>
 | 
			
		||||
            <h2 class="title is-4">Chansons</h2>
 | 
			
		||||
            <div class="table-container">
 | 
			
		||||
                <table class="table is-striped is-fullwidth">
 | 
			
		||||
                    <thead>
 | 
			
		||||
                        <tr>
 | 
			
		||||
                            <th>Titre</th>
 | 
			
		||||
                        </tr>
 | 
			
		||||
                    </thead>
 | 
			
		||||
                    <tbody>
 | 
			
		||||
                        <?php foreach ($songs as $song): ?>
 | 
			
		||||
                            <tr>
 | 
			
		||||
                                <td><?= anchor("music/view/{$song->trackId}", $song->trackName) ?></td>
 | 
			
		||||
                            </tr>
 | 
			
		||||
                        <?php endforeach; ?>
 | 
			
		||||
                    </tbody>
 | 
			
		||||
                </table>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </section>
 | 
			
		||||
</body>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user