@extends('layouts.frontendMainLayout') @section('content')
@if ($message = Session::get('success')) @endif
{{$data->name}}
groups{{$total_participants}} Going
@foreach($wg as $value) @if(in_array($value->id, $arr)) {{$value->name}} @endif @endforeach
Events
Start Date 1 January, 1970
End Date 1 January, 1970

@include('frontend.news.data_likes')
@if ($message = Session::get('error')) @endif
comment
Comments
{{$comments['total_comments']}}
@if (Auth::check())
@csrf
User
@else
User
Please Login / Register
@endif
@foreach($comments['comments'] as $item)
User
{{$item->user->name}} {{$item->time}}

{{$item->comment}}

@if(Auth::check())
@csrf
User
@else
User
Please Login / Register
@endif @foreach($item->childs as $childComment)
User
{{$childComment->user->name}} {{$childComment->time}}

{{$childComment->comment}}

@endforeach
@endforeach
@if(Auth::check()) @if($data->created_by == Auth::user()->id) editEdit @else @if(($participant) != '') @if(($participant->user_id == Auth::user()->id) and ($participant->approve == 1)) infoApproved @elseif(($participant->user_id == Auth::user()->id) and ($participant->approve == 0)) scheduleWaiting Approval @elseif(($participant->user_id != Auth::user()->id)) front_handRequest to Join @else front_handRequest to Join @endif @else front_handRequest to Join @endif @endif
@csrf @foreach($user as $us) @if(Auth::user()->id == $us->id) @endif @endforeach
@else front_handRequest to Join @endif
Event Contribution
@foreach($contribution as $item)
@if($item->extension == 'pdf')
PDF
@elseif(in_array($item->extension,['doc','docx']))
Docs
@else
Event Contribution
@endif
@endforeach @if(count($contribution) == 0)
Data Contribution Not Found
@elseif(count($contribution) >= 1) @if(!end($item)) @endif @else @endif
@if(Auth::check())
@else @endif
@endsection @section('js') @endsection