@extends('user.layouts.app') @php $user = Auth::user(); $img_url = empty(get_url('forum-photo/'.$data['cat_info']->id.'/crop/'.$data['cat_info']->banner_image)) ? url("assets/images/noimage.png") : get_url('forum-photo/'.$data['cat_info']->id.'/crop/'.$data['cat_info']->banner_image); @endphp @section('content')
{{ ucfirst($data['cat_info']->title) }}

{{ ucfirst($data['cat_info']->title) }}

{!! $data['cat_info']->description !!}

@if(count($data['topic_list'])>0)
@foreach($data['topic_list'] as $topic) @php $topic_url = route('topicdetail',$topic->slug); @endphp @if(Auth::check())

You'll get a notification whenever someone comments on this topic.

Turn OFF Notifications

You'll no longer get notifications about this topic.

Turn On Notifications

You won't see this topic in your timeline.

Undo
@endif
{{ $topic->title }} @if(Auth::check() && $user->id != $topic->user_id)
@endif

{!! Str::limit($topic->description, 500, " more..") !!}

by {{ ucfirst($topic->user_name) }} - {{ dateformat($topic->created_at,"F d") }}

@endforeach {{ $data['topic_list']->links() }}
@else

No topics found inside this sub category. Please click here to choose another category.

@endif
@include('user/includes/forumSidebar')
@endsection @section('scripts') @stop