<{strip}> <{* スレッド表示用テンプレート *}> <{if empty($parents|smarty:nodefaults) && count($action.topics) > 0}> <{assign var="parents" value=$action.topics.0}> <{assign var="depth" value=0}> <{/if}> <{foreach from=$parents|smarty:nodefaults key=postID item=post}> bbs_topic<{/if}><{if $post.read_flag == _ON}> bbs_read<{/if}>"> <{if !empty($action.topics.$postID|smarty:nodefaults)}> <{assign var="parents" value=$action.topics.$postID}> <{assign var="depth" value="`$depth+1`"}> <{include file = "bbs_view_main_thread.html"}> <{assign var="depth" value="`$depth-1`"}> <{/if}> <{foreachelse}> <{/foreach}> <{if $depth|smarty:nodefaults === 0}>
<{if $post.parent_id == "0" }> " alt="" /> <{/if}> <{foreach from=$post.branches item=branch}> " alt=" " /> <{/foreach}> <{if empty($action.topics.$postID|smarty:nodefaults) && $post.parent_id != "0"}> " alt=" " /> <{elseif $post.parent_id != "0"}> " alt=" " /> <{/if}> <{include file = "bbs_view_main_subject.html"}> <{include file = "bbs_view_handle.html" handle=$post.insert_user_name|smarty:nodefaults user_id=$post.insert_user_id}> <{$post.insert_time|timezone_date_format:$lang._date_format|smarty:nodefaults}> <{if $action.bbs.vote_flag == _ON}> <{$lang.bbs_vote_unit|smarty:nodefaults|sprintf:$post.vote_num}> <{/if}>
<{/if}> <{/strip}>