@extends('layout.app') @section('contents')
{{--
--}}
@if($media->upload->section_id == 2 || $media->upload->section_id == 4) @else @endif

{{$media->description}}

Tags: @foreach($tags as $tag) @endforeach

Comment ({{count($comments)}})


@if(count($comments) == 0)

No comment yet

@else @foreach($comments as $comment)
...
Comment
{{$comment->comment}}
@endforeach @endif @if(Auth::check())
@csrf
@endif
{{$board_name->name}}
@if(count($board_details)> 0) @foreach($board_details as $details)
@if($details->media->upload->section_id == 3) ... @else @endif
@endforeach @for($i = count($board_details); $i < 4 ; $i++)
...
@endfor @else

No Board to Display

@endif
{{----}}
{{-- @for($i = 0; $i <10; $i++)--}} @foreach($other_media as $key => $other) @endforeach {{-- @endfor--}}
@endsection {{--@section('scripts') @endsection--}}