diff --git a/ci/application/views/albums_artist_list.php b/ci/application/views/albums_artist_list.php
index 25754ec..d987737 100644
--- a/ci/application/views/albums_artist_list.php
+++ b/ci/application/views/albums_artist_list.php
@@ -4,21 +4,24 @@
foreach ($AlbumsOfArtists as $AlbumsOfArtist) {
echo "
";
echo "";
+ echo anchor("albums/view/{$AlbumsOfArtist->id}", "{$AlbumsOfArtist->name}");
echo "
";
echo "";
echo '';
echo "";
// Ajout du formulaire pour ajouter toutes les chansons de l'album à une playlist
- echo "";
+ if ($this->session->userdata('logged')):
+ echo "";
+ endif;
echo " ";
}
diff --git a/ci/application/views/albums_list.php b/ci/application/views/albums_list.php
index ff62cad..2a2aab0 100644
--- a/ci/application/views/albums_list.php
+++ b/ci/application/views/albums_list.php
@@ -4,18 +4,22 @@
foreach($albums as $album){
echo "";
echo "";
+ echo anchor("albums/view/{$album->id}", "{$album->name}");
echo "";
echo '';
echo "";
- echo "";
+
+ if ($this->session->userdata('logged')):
+ echo "";
+ endif;
echo " ";
}
?>
diff --git a/ci/application/views/artistes_list.php b/ci/application/views/artistes_list.php
index fbbb2f8..86abc47 100644
--- a/ci/application/views/artistes_list.php
+++ b/ci/application/views/artistes_list.php
@@ -3,14 +3,17 @@
foreach($artistes as $artiste){
echo "";
+
+ if ($this->session->userdata('logged')):
+ echo "";
+ echo ""; // Utilisez l'identifiant de l'artiste ici
+ echo "";
+ echo "";
+ endif;
echo "
";
}
?>
diff --git a/ci/application/views/song_album_list.php b/ci/application/views/song_album_list.php
index 170f6b7..00b74c9 100644
--- a/ci/application/views/song_album_list.php
+++ b/ci/application/views/song_album_list.php
@@ -2,17 +2,20 @@
";
- echo "";
- echo "";
+
+ if ($this->session->userdata('logged')):
+ echo "";
+ endif;
echo "
";
echo "";
echo "";