{include file="file:$templatedir/PCHeader.html" _subheader="PCCommunityHeader.html"}
  {* 詳細画面ここから ↓ *}
{csrf}
{if $voteFlg == $smarty.const.VAL_COMMON_FLAG_OFF} {/if} {* リンク *}
{$topic->v_title|neo_emoji}  ({$point}ポイント)
{foreach from=$topic->v_images item='_img'} {/foreach} {if $topic->v_images}
{/if} {$topic->v_detail|url_autolink:'_blank'|neo_emoji|nl2br}
{* 添付ファイルがある?*} {if $attachIDs}
{foreach from=$attachIDs item='_tpAttach'} {/foreach}
{$_tpAttach.name} {math assign="_capa" equation='(x / 1024)' x=$_tpAttach.size format=%u} ({if $_capa > 1}{$_capa}{else}1{/if}KB)
{/if}
{$topic->v_regist_date|date_format:'%Y/%m/%d %H:%M'} {if $topic->v_user_name != $smarty.const.STR_NICKNAME_DEL}{/if}{$topic->v_user_name|neo_emoji}{if $topic->v_user_name != $smarty.const.STR_NICKNAME_DEL}{/if}
[このトピックに投票する]
コメント({$listObj->numItems()}) {if $isCommunityManager || ($topic->v_user_id == $user_id && $isCommunityJoin)} 編集 {/if}
{if $listObj->numItems() || $isCommunityJoin}
{* コメント一覧ここから ↓ *} {/if}
{if $listObj && $listObj->getPageData()}
{* ページ遷移上 ここから ↓*}
{$listObj->getFirstItemIndex()}件~{$listObj->getLastItemIndex()}件を表示 {if $listObj->numPages() > 1} {if ! $listObj->isFirstPage()} <<前の{$listObj->numPreviousPageItems()}件 {/if} {foreach from=$listObj->range key='_pid' item='_curr'} {if $_curr}   {$_pid} {else}   {$_pid} {/if} {/foreach} {if ! $listObj->isLastPage()}    次の{$listObj->numNextPageItems()}件>> {/if} {/if}
{* ページ遷移上 ここまで ↑*}
{csrf} {* コメントループ ここから ↓*} {foreach from=$TpCmts item='_topiccmt'}
{if $isCommunityManager} {/if} {assign var="_tp_cmtname" value=$_topiccmt.user_name|usename_switch:$_topiccmt.full_name} {$_topiccmt.seq}. {$_topiccmt.regist_date|date_format:'%Y/%m/%d %H:%M'} {if $_tp_cmtname != $smarty.const.STR_NICKNAME_DEL}{/if}{$_topiccmt.user_name|usename_switch:$_topiccmt.full_name|neo_emoji}{if $_tp_cmtname != $smarty.const.STR_NICKNAME_DEL}{/if} {if $isCommunityJoin && $_topiccmt.user_id == $user_id} 削除 {/if}
{foreach from=$_topiccmt.images item='_imgcmt'} {/foreach} {if $_topiccmt.images}
{/if} {$_topiccmt.comment_detail|url_autolink:'_blank'|neo_emoji|nl2br}
{if count($_topiccmt.attach) > 0} {foreach from=$_topiccmt.attach item='_cmtattach'} {/foreach}
{$_cmtattach.name} {math assign="_capa" equation='(x / 1024)' x=$_cmtattach.size format=%u} ({if $_capa > 1}{$_capa}{else}1{/if}KB)
{/if}
{/foreach} {* コメントループ ここまで ↑*} {if $isCommunityManager}

{/if}
{* ページ遷移下 ここから ↓*}
{if ! $isCommunityManager}
{/if} {$listObj->getFirstItemIndex()}件~{$listObj->getLastItemIndex()}件を表示 {if $listObj->numPages() > 1} {if ! $listObj->isFirstPage()} <<前の{$listObj->numPreviousPageItems()}件 {/if} {foreach from=$listObj->range key='_pid' item='_curr'} {if $_curr}   {$_pid} {else}   {$_pid} {/if} {/foreach} {if ! $listObj->isLastPage()}    次の{$listObj->numNextPageItems()}件>> {/if} {/if}
{* ページ遷移下 ここまで ↑*}

{/if} {* コメント一覧 ここまで ↑*} {* 添付ダウンロード用フォーム *}
{* 添付ダウンロード用フォーム *} {* コメント書き込み ここから ↓*} {if $isCommunityJoin}
{csrf}
{else} (ありません) {/if} {section name='_image' loop=$smarty.const.SNS_LIMIT_IMG_INTERFACE} {/section}
コメント
添付ファイル
{if count($attachment) > 0} {foreach from=$attachment key='_id' item='_file'} {/foreach}
{math assign="_capa" equation='(x / 1024)' x=$_file.size format=%u} {$_file.name} ({if $_capa > 1}{$_capa}{else}1{/if}KB)
写真{$smarty.section._image.iteration}

{/if} {* コメント書き込み ここまで ↑*}
 
{include file="file:$templatedir/PCFooter.html"}