Test details artiste 1/?
This commit is contained in:
		
							
								
								
									
										18
									
								
								application/views/artist_details.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								application/views/artist_details.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
<head>
 | 
			
		||||
    <title><?= $artist->artistName ?> - Details</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
    <h1><?= $artist->artistName ?></h1>
 | 
			
		||||
    <p><strong>Genre:</strong> <?= $artist->genreName ?></p>
 | 
			
		||||
    <img src="data:image/jpeg;base64,<?= base64_encode($artist->jpeg) ?>" alt="<?= $artist->artistName ?> Photo">
 | 
			
		||||
 | 
			
		||||
    <h2>Albums</h2>
 | 
			
		||||
    <ul>
 | 
			
		||||
        <?php foreach ($albums as $album): ?>
 | 
			
		||||
            <li><?= anchor("albums/view/{$album->albumId}", $album->albumName) ?> (<?= $album->year ?>)</li>
 | 
			
		||||
        <?php endforeach; ?>
 | 
			
		||||
    </ul>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user