Ajout getter
This commit is contained in:
30
application/views/layout/getter.php
Normal file
30
application/views/layout/getter.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<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>
|
||||
|
||||
<select name="order" id="order">
|
||||
<option value="">Ordre :</option>
|
||||
<option value="asc">Croissant</option>
|
||||
<option value="desc">Decroissant</option>
|
||||
</select>
|
||||
<button type="submit">Envoyer</button>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user