@extends('backEnd.master') @section('title') @lang('common.forum_topic') @endsection @push('css') @endpush @section('mainContent')

@lang('common.select_criteria')

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

@lang('common.forum_topic')

@lang('common.forum_topic')

@forelse ($forum_topic_items as $forum) @empty @endforelse
@lang('common.topic') @lang('common.category') @lang('common.comment') @lang('common.views') @lang('common.action')
{{ @$forum->title }}

{{ @$forum->createdBy->full_name }}

{{ @$forum->forumTitle->forumCategory->title }} {{ @$forum->forumComments()->count() }} {{ @$forum->total_views}} @php $routeList = []; $routeList[] = ''. __('common.view') .''; if(auth()->user()->id == $forum->created_by) { $routeList[] = ''. __('common.edit') .''; $routeList[] = ''. __('common.delete') .''; } $routeListHtml = implode('', $routeList); @endphp

@lang('common.no_data_found')

@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js') @push('script') @endpush