2024-06-17 18:43:13 +02:00
|
|
|
<h6>Ajouter une chanson à une playlist</h6>
|
2024-06-10 09:52:24 +02:00
|
|
|
|
|
|
|
|
<div class="trie">
|
|
|
|
|
<h5>Playlists</h5>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section class="list">
|
|
|
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
|
<?php foreach ($playlists as $playlist): ?>
|
|
|
|
|
<div class="playlist-option">
|
|
|
|
|
<label>
|
2024-06-17 21:06:19 +02:00
|
|
|
<?php if($this->model_music->SongInThisPlaylist($id,$playlist->playlistId) == false){ ?>
|
|
|
|
|
<input type="radio" name="playlist_id" value="<?= $playlist->playlistId ?>">
|
2024-06-10 16:29:19 +02:00
|
|
|
<?= $playlist->name ?>
|
2024-06-16 19:05:37 +02:00
|
|
|
<?php } ?>
|
2024-06-10 09:52:24 +02:00
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
<div class="submit-button">
|
|
|
|
|
<button type="submit" class="btn btn-primary">Ajouter à la playlist</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</section>
|
|
|
|
|
|