2024-06-04 15:45:15 +02:00
|
|
|
<form methode="GET">
|
|
|
|
<input type="text" name="query" palceholder="Rechercher...">
|
|
|
|
</form>
|
|
|
|
<form methode="GET">
|
|
|
|
<select name="artist" id="artist">
|
|
|
|
<option value=''>Tous</option>
|
|
|
|
<?php foreach($artistes as $artiste){
|
|
|
|
echo "<option value='{$artiste->name}'>{$artiste->name}</option>";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select name="genre" id="genre">
|
|
|
|
<option value=''>Tous</option>
|
|
|
|
<?php foreach($genres as $genre){
|
|
|
|
echo "<option value='{$genre->name}'>{$genre->name}</option>";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
|
2024-06-04 15:57:59 +02:00
|
|
|
<select name="order" id="order" onchange="submitForm()">
|
|
|
|
<option value="">Ordre :</option>
|
2024-06-04 15:45:15 +02:00
|
|
|
<option value="asc">Croissant</option>
|
|
|
|
<option value="desc">Decroissant</option>
|
|
|
|
</select>
|
2024-06-04 15:57:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
<button type="submit">Envoyer</button>
|
2024-06-04 15:45:15 +02:00
|
|
|
</form>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|