2024-05-30 16:14:38 +02:00
|
|
|
<h5>Playlist List</h5>
|
|
|
|
<?php
|
|
|
|
foreach($playlists as $playlist){
|
|
|
|
echo "<div><article>";
|
|
|
|
echo "<header class='short-text'>";
|
2024-06-03 15:02:52 +02:00
|
|
|
echo anchor("playlist/SongPLaylist/{$playlist->id}","{$playlist->name}");
|
|
|
|
|
|
|
|
//bouton supprimer playlist
|
|
|
|
echo "<form action='".site_url('playlist/view')."' method='post'style='display:inline;'>";
|
|
|
|
echo "<input type='hidden' name='playlist_id' value='{$playlist->id}'>";
|
|
|
|
echo "<button type='submit'>Supprimer PLaylistn</button>";
|
|
|
|
echo "</form>";
|
|
|
|
|
2024-05-30 16:14:38 +02:00
|
|
|
echo "<br>";
|
|
|
|
echo "</header>";
|
|
|
|
echo "</article></div>";
|
|
|
|
}
|
|
|
|
?>
|