@extends('backEnd.master') @section('title') @lang('common.forum') @endsection @push('css') {{-- --}} @endpush @section('mainContent')

@lang('common.select_criteria')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'user-forum-title-search', 'method' => 'POST']) }}
@if ($errors->has('forum_category_id')) {{ @$errors->first('forum_category_id') }} @endif
@if ($errors->has('forum_title_id')) {{ @$errors->first('forum_title_id') }} @endif
{{ Form::close() }}

@lang('common.forum_list')

@foreach ($forum_items as $forum) @endforeach
@lang('common.forum_title') @lang('common.category') @lang('common.topics') @lang('common.comment') @lang('common.action')
{{ @$forum->title }}
{{ @$forum->forumCategory->title }}
{{ @$forum->forumTopics()->count()}} @php $totalComments = 0; foreach ($forum->forumTopics as $topic) { $totalComments += $topic->forumComments()->count(); } @endphp {{ $totalComments }} @lang('common.topic_list') @lang('common.my_topics')
@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js')