@php
$isFixed = isset($isFixed) ? $isFixed : 0;
if ( $isFixed == 0 ) {
$startIndex = BaseHelper::getStartIndex($posts);
}
@endphp
@foreach($posts as $post)
@php
$content = $post->content;
@endphp
$isFixed == 1 ])>
{{ $startIndex -- }} |
{{ $post->enrollTitle }}
|
$post->id]) }}" class="board-pd-sbj">
{{ $content->title }}
@if ($post->is_new)
@endif
|
{{ $type == 'teacher' ? $post->teacher->name : $content->writer->name }} |
{{ date('y.m.d', strtotime($post->created_at)) }} |
{{ number_format($content->views) }} |
@endforeach