@extends("board.layout.layout-boards") @section("board-search")
@endsection @section("board-buttons") @if ( Request::get("status") == 1 ) @endif @endsection @section("board-content") @if ( Request::get("status") == 1 ) @endif @if ( Request::get("status") == 1 ) @endif @foreach ($posts as $post) @php $content = $post->content; @endphp @if ( Request::get("status") == 1 ) @endif @endforeach
번호 등록일시 전시상태 전시기간 GNB노출 당첨자여부 이벤트기간 이벤트 명 조회수 댓글수 작성자 관리
{{ $post->id }} {{ $post->created_at }} {{ $post->enable?->activated == 1 ? "전시" : "비전시" }}
@if ($post->enable?->activated == 1) {{ date('Y-m-d', strtotime($post->enable?->started_at)) }} ~ {{ $post->enable?->ended_at ? date('Y-m-d', strtotime($post->enable?->ended_at)) : '' }} @else - @endif
enable?->is_fixed)>
is_winner)>
@if ($post->is_winner == 1) @php $winnerCnt = $post->eventWinners->count(); @endphp
@endif
$post->status == 1, "badge-secondary" => $post->status == 2 ])>{{ $post->status == 1 ? "진행중" : "마감" }}
{{ $post->event_started_at }} ~ {{ $post->event_ended_at }}
{{ $content?->title }} {{ number_format(num: $content?->view_cnt) }} {{ $post->is_use_comment == 1 ? number_format($post->comments->count()) : "미사용" }} {{ $content?->writer->name }}
@endsection @push("script") @endpush