@extends('layouts.app') @section('content')
{{ __('ui.panel') }}
@auth
@if(Auth::user()->isAdmin)
@endif
@endauth
@if (session('status')) @endif @guest
{{ __('ui.login_req') }}
@else
{{__('ui.tb_title')}}
{{__('ui.tb_play')}} и {{__('ui.tb_down')}}
@foreach($song_list as $song) @if($song->type == 'dir')
@if(Auth::user()->isAdmin)
@else {{$song->title}} @endif
@elseif($song->type == 'txt')
{!! nl2br(e($song->description)) !!}
@else
@if(Auth::user()->isAdmin)
@else {{$song->title}} @endif
00:00:00 - 00:00:00
{{ $song->played }}
{{ $song->downloads }}
@endif @endforeach
@endguest
@endsection @section('modals') @endsection