@extends('user.layouts.app') @section('content')
@if(Session::has('welcome_message'))
{!! session('welcome_message') !!}
@endif

{{ config('common.portal') }} Community Forum

@if(count($data['forum_category_list'])>0)
@foreach($data['forum_category_list'] as $category) @php $img_url = empty(get_url('forum-photo/'.$category->id.'/crop/'.$category->banner_image)) ? url("assets/images/noimage.png") : get_url('forum-photo/'.$category->id.'/crop/'.$category->banner_image); $category_url = route('category',$category->slug); @endphp
{{ ucfirst($category->title) }}

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

{{ $category->topic_total }} discussions {{ $category->comment_total }} comments
@if(!empty($category->ft_title)) Most recent topic: {{ $category->ft_title }} by {{ ucfirst($category->user_name) }} - {{ dateformat($category->ft_created_at,"F d") }} @endif
@endforeach {{ $data['forum_category_list']->links() }}
@else

Silent as the antarctica, right?

Let's start your first discussion before we freeze...

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