@if(auth()->user()!=null) Music to get your started Welcome {{ $user->name }} @if(isset($likedPlaylist->playlists)) @foreach($likedPlaylist->playlists as $play) {{ $play->name }} @if($play->user!=null) {{ $play->user->name }} @endif @if(($play->image_type=='D')) {{ $play->name }} @endif @endforeach @endif @if(isset($followedArtists->users)) @foreach($followedArtists->users as $user) {{ $user->name }} @if(($user->image_type=='D')) {{ $user->name }} @endif @endforeach @endif @if(isset($likedAlbum->albums)) @foreach($likedAlbum->albums as $alb) {{ $alb->user->name }} @if(($alb->image_type=='D')) {{ $alb->name }} @endif @endforeach @endif @if(isset($likedTrack->tracks)) @foreach($likedTrack->tracks as $tra) {{ $tra->name }} @if(isset($tra->artist)) {{ $tra->artist->name }} @endif @if(($tra->image_type=='D')) {{ $tra->name }} @endif @endforeach @endif @if(isset($followedArtists->users)) @foreach($followedArtists->users as $user) Top Tracks of - {{ $user->name }} @php $index=0; @endphp @foreach($user->tracks as $track) {{ $track->name }} @if(isset($track->album)) {{ $track->album->name }} @endif @if(($track->image_type=='D')) {{ $track->name }} @endif @php $index++; @endphp @endforeach @endforeach @endif @endif @if($playlists->count() > 0) Latest Playlist @foreach($playlists as $playlist) {{ $playlist->name }} @if(($playlist->image_type=='D')) {{ $playlist->name }} @endif @endforeach @endif Recommended Tracks @php $index=0; @endphp @foreach($recommendedTracks as $track) {{ $track->name }} @if(isset($track->artist->id)) {{ $track->artist->name }} @endif @if(($track->image_type=='D')) {{ $track->name }} @endif @php $index++; @endphp @endforeach Tell us which artists you like We'll create an experience just for you Let's Go START RADIO FROM A SONG Trending @php $index=0; @endphp @foreach($quickTracks as $pick) @for($i=0;$i<4;$i++) @if(isset($pick[$i])) {{ $pick[$i]->name }} @if(isset($pick[$i]->artist->id)) {{ $pick[$i]->artist->name }} @endif @endif @php $index=$index+1; @endphp @endfor @endforeach Genres @php $m=1; @endphp @foreach($genres as $gen) @for($k=0;$k<4;$k++) @if(isset($gen[$k])) {{ $gen[$k]->name }} @endif @php $m++; @endphp @endfor @endforeach START RADIO FROM A SONG Latest Tracks @php $index=0; @endphp @foreach($trending as $trend) @for($p=0;$p<4;$p++) @if(isset($trend[$p])) {{ $trend[$p]->name }} @if(isset($trend[$p]->artist->id)) {{ $trend[$p]->artist->name }} @endif @endif @php $index++; @endphp @endfor @endforeach @if($albums->count()>0) Latest Albums @foreach($albums as $album) {{ $album->name }} {{ $album->user->name }} @if(($album->image_type=='D')) {{ $album->name }} @endif @endforeach @endif
{{ $play->user->name }}
{{ $tra->artist->name }}
{{ $track->artist->name }}
{{ $pick[$i]->artist->name }}
{{ $trend[$p]->artist->name }}