@version(2) @if ($oDocument->isExists()) @endif @if (isset($list_config)) @php $hrb_style = $module_info->hr_list_style ?? 'list'; if (!function_exists('hrb_relative_time')) { function hrb_relative_time($regdate) { $ts = ztime($regdate); if (!$ts) { return ''; } $diff = time() - $ts; if ($diff < 60) { return '방금 전'; } if ($diff < 3600) { return floor($diff / 60) . '분 전'; } if ($diff < 86400) { return floor($diff / 3600) . '시간 전'; } if ($diff < 86400 * 30) { return floor($diff / 86400) . '일 전'; } return date('y.m.d', $ts); } } $hrb_author = true; $hrb_count = true; $hrb_cat = ($module_info->use_category ?? 'N') === 'Y'; $hrb_docs = []; foreach ($notice_list ?: [] as $hrb_nd) { $hrb_docs['notice_' . $hrb_nd->document_srl] = $hrb_nd; } foreach ($document_list ?: [] as $hrb_dk => $hrb_dd) { $hrb_docs[$hrb_dk] = $hrb_dd; } @endphp
@if (!$oDocument->isExists() && (!empty($module_info->board_title) || !empty($module_info->board_desc)))

{{ Context::replaceUserLang($module_info->board_title ?: $module_info->browser_title) }}

@if (!empty($module_info->board_desc))

{{ $module_info->board_desc }}

@endif
@endif @if ($hrb_cat && count($category_list)) @endif @if (count($hrb_docs)) @if ($hrb_style === 'list') @foreach ($list_config as $hrb_col) @if ($hrb_col->idx != -1) @elseif ($hrb_col->type === 'no') @elseif ($hrb_col->type === 'module_title') @elseif ($hrb_col->type === 'title') @elseif ($hrb_col->type === 'nick_name') @elseif ($hrb_col->type === 'user_id') @elseif ($hrb_col->type === 'user_name') @elseif ($hrb_col->type === 'regdate') @elseif ($hrb_col->type === 'last_update') @elseif ($hrb_col->type === 'last_post') @elseif ($hrb_col->type === 'readed_count') @elseif ($hrb_col->type === 'voted_count') @elseif ($hrb_col->type === 'blamed_count') @endif @endforeach @if ($grant->manager) @endif @foreach ($hrb_docs as $hrb_no => $document) @foreach ($list_config as $hrb_col) @if ($hrb_col->idx != -1) @elseif ($hrb_col->type === 'no') @elseif ($hrb_col->type === 'module_title') @elseif ($hrb_col->type === 'title') @elseif ($hrb_col->type === 'nick_name') @elseif ($hrb_col->type === 'user_id') @elseif ($hrb_col->type === 'user_name') @elseif ($hrb_col->type === 'regdate') @elseif ($hrb_col->type === 'last_update') @elseif ($hrb_col->type === 'last_post') @elseif ($hrb_col->type === 'readed_count') @elseif ($hrb_col->type === 'voted_count') @elseif ($hrb_col->type === 'blamed_count') @endif @endforeach @if ($grant->manager) @endif @endforeach
{{ $hrb_col->name }}{{ $lang->no }}{{ $lang->module_title }}{{ $lang->title }}{{ $lang->writer }}{{ $lang->user_id }}{{ $lang->user_name }}{{ $lang->date }}{{ $lang->last_update }}{{ $lang->last_post }}{{ $lang->readed_count }}{{ $lang->voted_count }}{{ $lang->blamed_count }}
{!! $document->getExtraValueHTML($hrb_col->idx) !!} @if ($document_srl == $document->document_srl)» @elseif ($document->isNotice()){{ $lang->notice }} @else{{ $hrb_no }}@endif {{ $document->get('module_title') }} @if ($hrb_cat && $document->get('category_srl') && isset($category_list[$document->get('category_srl')])) {{ $category_list[$document->get('category_srl')]->title }} @endif @if ($document->isSecret())@endif {!! $document->getTitle() !!} @if ($document->getCommentCount())[{{ $document->getCommentCount() }}]@endif @if ($document->hasUploadedFiles())@endif @if ($document->getRegdateTime() > time() - 60 * 60 * ($module_info->duration_new ?? 24))N@endif @php $hrb_row_photo = (($module_info->hr_show_photo ?? 'Y') === 'Y') ? $document->getProfileImage() : ''; @endphp @if ($hrb_row_photo)@endif @if ($document->get('member_srl') > 0) {{ $document->getNickName() }} @else{{ $document->getNickName() }}@endif {{ $document->getUserID() }}{{ $document->getUserName() }}{{ hrb_relative_time($document->get("regdate")) }}{{ zdate($document->get('last_update'), 'Y.m.d') }} @if ((int)$document->get('comment_count') > 0) {{ zdate($document->get('last_update'), 'Y.m.d') }} @if ($document->getLastUpdater()){{ $document->getLastUpdater() }}@endif @else @endif {{ number_format((int)$document->get('readed_count')) }}{{ number_format((int)$document->get('voted_count')) }}{{ number_format((int)$document->get('blamed_count')) }}isCarted()) checked @endif />
@else @if ($notice_list) @include("_notices") @endif @if ($hrb_style === "faq")
    @foreach ($document_list ?: [] as $document)
  • Q @if ($hrb_cat && $document->get('category_srl') && isset($category_list[$document->get('category_srl')])){{ $category_list[$document->get('category_srl')]->title }}@endif {{ $document->getTitleText() }}
    A
    {!! $document->getContent(false) !!}
  • @endforeach
@elseif ($hrb_style === "webzine") @else
@foreach ($document_list ?: [] as $document) @include("_card") @endforeach
@endif @endif @else

{{ $lang->msg_not_founded ?? '등록된 글이 없습니다.' }}

@endif @if (count($hrb_docs)) @endif @if ($last_division)

{{ $lang->cmd_search_next ?? '다음 검색 결과 보기' }}

@endif
@if ($grant->view) @endif
@endif