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