@extends(theme('layouts.master'))
@section('title')
{{Settings('site_title') ? Settings('site_title') : 'Infix LMS'}} | {{__('forum.Forum')}}
@endsection
@section('css')
@endsection
@section('js')
@endsection
@section('mainContent')
| Latest post @if(isset($course_info->id) && $course_info->IsLoginUserEnrolled) New Post @endif | Replies | Views | Activity |
|---|---|---|---|
{{@$forum->title}} @if ($forum->privacy==1) Private @endif{{--{!! @$forum->description !!} --}}{!! Illuminate\Support\Str::limit(@$forum->description, $limit = 200, $end = '...') !!} {{@$forum->user->name}} |
{{$forum->replies->count()}} | {{$forum->views->count()}} |
{{-- 20d --}}
{{-- {{$forum->all_replies->count() > 0}} --}}
{{-- @dd($forum->all_replies[0]->updated_at) --}}
@if ($forum->all_replies->count() > 0)
{{ \Carbon\Carbon::parse($forum->all_replies[0]->updated_at)->diffForhumans() }}
@else
{{ \Carbon\Carbon::parse($forum->updated_at)->diffForhumans() }}
@endif
|
| Forum Not Found | |||
| Unread post @if(isset($course_info->id) && $course_info->IsLoginUserEnrolled) New Post @endif | Replies | Views | Activity |
|---|---|---|---|
{{@$forum->title}} @if ($forum->privacy==1) Private @endif{{--{!! @$forum->description !!} --}}{!! Illuminate\Support\Str::limit(@$forum->description, $limit = 200, $end = '...') !!} {{@$forum->user->name}} |
{{$forum->replies->count()}} | {{$forum->views->count()}} |
{{-- 20d --}}
{{-- {{$forum->all_replies->count() > 0}} --}}
{{-- @dd($forum->all_replies[0]->updated_at) --}}
@if ($forum->all_replies->count() > 0)
{{ \Carbon\Carbon::parse($forum->all_replies[0]->updated_at)->diffForhumans() }}
@else
{{ \Carbon\Carbon::parse($forum->updated_at)->diffForhumans() }}
@endif
|
| Forum Not Found | |||
| Most Viewed post @if(isset($course_info->id) && $course_info->IsLoginUserEnrolled) New Post @endif | Replies | Views | Activity |
|---|---|---|---|
{{@$forum->title}} @if ($forum->privacy==1) Private @endif{{--{!! @$forum->description !!} --}}{!! Illuminate\Support\Str::limit(@$forum->description, $limit = 200, $end = '...') !!} {{@$forum->user->name}} |
{{$forum->replies->count()}} | {{$forum->views->count()}} |
{{-- 20d --}}
{{-- {{$forum->all_replies->count() > 0}} --}}
{{-- @dd($forum->all_replies[0]->updated_at) --}}
@if ($forum->all_replies->count() > 0)
{{ \Carbon\Carbon::parse($forum->all_replies[0]->updated_at)->diffForhumans() }}
@else
{{ \Carbon\Carbon::parse($forum->updated_at)->diffForhumans() }}
@endif
|
| Forum Not Found | |||
{{showDate($forum->created_at)}} , {{date("H:i:s A",strtotime($forum->created_at))}}