mirror of
https://grond.iut-fbleau.fr/stiti/SAE_2.02
synced 2024-12-29 18:12:18 +01:00
29 lines
1.0 KiB
PHP
29 lines
1.0 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<?=link_tag('assets/css/artists_list.css')?>
|
|
<title>Liste des Artistes - Onzeur</title>
|
|
</head>
|
|
<body>
|
|
<div class="artist-list-container">
|
|
<h1>Liste des Artistes</h1>
|
|
<div class="sort-options">
|
|
<a href="<?php echo site_url('artiste/list_artists?order=ASC'); ?>">Trier par ordre alphabétique</a> |
|
|
<a href="<?php echo site_url('artiste/list_artists?order=DESC'); ?>">Trier par ordre inverse</a>
|
|
</div>
|
|
<ul class="artist-list">
|
|
<?php foreach($artists as $artist): ?>
|
|
<li>
|
|
<div class="artist-details">
|
|
<h2><?php echo $artist->name; ?></h2>
|
|
<p><a href="<?php echo site_url('artiste/'.$artist->id); ?>">Voir les détails</a></p>
|
|
</div>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|