Test details album
This commit is contained in:
		
							
								
								
									
										20
									
								
								application/views/album_details.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								application/views/album_details.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
<head>
 | 
			
		||||
    <title><?= $album->albumName ?> - Details</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
    <h1><?= $album->albumName ?></h1>
 | 
			
		||||
    <p><strong>Artist:</strong> <?= $album->artistName ?></p>
 | 
			
		||||
    <p><strong>Genre:</strong> <?= $album->genreName ?></p>
 | 
			
		||||
    <p><strong>Year:</strong> <?= $album->year ?></p>
 | 
			
		||||
    <img src="<?= base_url('uploads/' . $album->jpeg) ?>" alt="<?= $album->albumName ?> Cover">
 | 
			
		||||
 | 
			
		||||
    <h2>Songs</h2>
 | 
			
		||||
    <ul>
 | 
			
		||||
        <?php foreach ($songs as $song): ?>
 | 
			
		||||
            <li><?= $song->trackName ?></li>
 | 
			
		||||
        <?php endforeach; ?>
 | 
			
		||||
    </ul>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user