@push('custom-css') @endpush
{!! Purifier::clean($board->board_head) !!}

{{ $board->subject }}

{{ $post->subject }}

{{-- 분류 --}}
작성자 @isset($post->user) @else {{ $post->user_name }} @endisset @if ($board->use_ip_view) ({{ $post->ip }}) @endif
댓글 {{ number_format($comments->count()) }}건 조회 {{ number_format($post->hit) }}회 작성일 {{ $post->created_at->format('y-m-d H:i') }}
  • 목록
  • @can ('replyLevel', $board)
  • 답변
  • @endcan @can ('writeLevel', $board)
  • 글쓰기
  • @endcan @can ('owner', $post)
  • @endcan

본문

{{-- //include_once(G5_SNS_PATH."/view.sns.skin.php"); --}} @auth 스크랩 @endauth
{{-- @todo 이미지 출력 --}}
{{-- @todo 섬네일 처리 get_view_thumbnail($post['content']) --}} @if (str_contains($post->option, 'html')) {!! Purifier::clean($post['content']) !!} @else {!! str_replace('<br />', '
', htmlentities(nl2br($post->content))) !!} @endif
@if ($post->user_id !== null && $board->use_signature)

{{ $post->user?->signature ?? '' }}

@endif
@if ($board->use_good) 추천 {{ number_format($post->good) }} @endif @if ($board->use_nogood) 비추천 {{ number_format($post->nogood) }} @endif

첨부파일

{{__('댓글목록')}}

@forelse ($comments as $comment) @php $commentDepth = $comment['depth'] ? $comment['depth'] * 30 : 0; @endphp

{{ $comment->user_name }}님의 댓글

@isset ($comment->user) @else {{ $comment->user_name }} @endisset {{__('작성일')}}

{!! Purifier::clean($comment['content']) !!}

@canany(['commentLevel', 'update'], $board)
@endcanany
@empty

등록된 댓글이 없습니다.

@endforelse
{{-- @todo 권한은 스크립트 오류로 인해 임시 주석처리 --}} {{-- @can ('create', [\App\Model\Comment::class, $board]) --}} {{-- @endcan --}} {!! Purifier::clean($board->content_tail) !!} @if ($board->use_list_view) {{-- 전체목록 --}} @endif