SAEWEB2.2/ci/application/views/playlist_list.php

19 lines
613 B
PHP
Raw Normal View History

2024-05-30 16:14:38 +02:00
<h5>Playlist List</h5>
<?php
2024-06-03 18:44:18 +02:00
echo "<form action='" . base_url("index.php/playlist/MenuCreate/") . "' method='post'>";
echo "<button type='Créer Playlist'>Create</button>";
echo "</form>";
2024-05-30 16:14:38 +02:00
foreach($playlists as $playlist){
echo "<div><article>";
echo "<header class='short-text'>";
2024-06-03 16:10:43 +02:00
echo anchor("playlist/SongPlaylist/{$playlist->id}","{$playlist->name}");
2024-06-03 17:52:42 +02:00
echo "<form action='" . base_url("index.php/playlist/delete/{$playlist->id}") . "' method='post'>";
2024-06-03 16:10:43 +02:00
echo "<button type='Supprimer Playlist'>Delete</button>";
2024-06-03 15:02:52 +02:00
echo "</form>";
2024-05-30 16:14:38 +02:00
echo "</header>";
echo "</article></div>";
}
?>