@extends("common.layout") @section('content')

게시판 관리

{{ $boards->count() }}
@foreach($boards as $board) @php $static = $board->getBoardPostStatic(); $services = explode('|', $board->service); $comment = $board->getCommentCount(); @endphp @endforeach
번호 수정일시 게시판 명 게시글 수 댓글 수 작성위치 댓글설정 첨부파일 상단고정 유저알림
{{ $board->id }} {{ $board->updated_at }} {{ $board->name }} @if ( $comment ) {{ $comment->newCommentCnt ? $comment->newCommentCnt : 0 }} / {{ $comment->commentCnt }} @endif {{ $board->write_type == 'admin' ? "관리자" : "사용자" }} {{ $board->is_comment == 1 ? "사용(". ($board->is_comment_limit == 0 ? "무제한" : ($board->is_comment_limit."개만")) .")" : "미사용" }} {{ $board->is_attachment == 0 ? "미사용" : "사용" }} {{ $board->is_fixed == 1 ? "사용" : "미사용" }} {{ $board->is_notify > 0 ? "사용(".($board->is_notify == 1 ? "게시글 등록" : "댓글 등록").")" : "미사용" }}
@endsection @push("script") @endpush