debut suppression playlists
This commit is contained in:
@@ -3,15 +3,10 @@
|
||||
foreach($playlists as $playlist){
|
||||
echo "<div><article>";
|
||||
echo "<header class='short-text'>";
|
||||
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 anchor("playlist/SongPlaylist/{$playlist->id}","{$playlist->name}");
|
||||
echo "<form action='" . base_url("index.php/playlist/deletePlaylist/{$playlist->id}") . "' method='post'>";
|
||||
echo "<button type='Supprimer Playlist'>Delete</button>";
|
||||
echo "</form>";
|
||||
|
||||
echo "<br>";
|
||||
echo "</header>";
|
||||
echo "</article></div>";
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<h5>Song of the playlist</h5>
|
||||
<section class="list">
|
||||
<?php
|
||||
|
||||
foreach($songPlaylists as $songPlaylist){
|
||||
echo "<div><article>";
|
||||
echo "<header class='short-text'>";
|
||||
echo "{$songPlaylist->name}";
|
||||
echo "<br>";
|
||||
echo "<br>";
|
||||
echo "</header>";
|
||||
echo "</article></div>";
|
||||
}
|
||||
|
||||
?>
|
||||
</section>
|
||||
Reference in New Issue
Block a user