@extends('layout.app') @section('contents') pin {{count($get_total_pins)}} Likes {{count($likes)}} {{-- Report --}} @if($media->upload->section_id == 2 || $media->upload->section_id == 4) @else @endif {{$media->description}} Tags: @foreach($tags as $tag) {{$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 Write a comment Submit @endif {{$board_name->name}} Follow @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 {{-- @if(count($board_details[$main_key]) < 4) $board->id])}}" class="btn btn-outline-success text-lowercase">+ Add Media @endif $board->id])}}" class="btn btn-outline-dark text-lowercase">Edit Board --}} {{-- @for($i = 0; $i <10; $i++)--}} @foreach($other_media as $key => $other) @if($other->upload->section_id == 2 || $other->upload->section_id == 4) @elseif($other->upload->section_id == 3) @endif {{$other->title}} @foreach($other_tags[$key] as $tag) {{$tag}} @endforeach @endforeach {{-- @endfor--}} @endsection {{--@section('scripts') @endsection--}}
{{$media->description}}
Tags: @foreach($tags as $tag) {{$tag}} @endforeach
Comment ({{count($comments)}})
No comment yet