{* header *} {include file="file:$templatedir/header.html" _tptab='1' _viewmenu='home' _srch_category='1'}
{if $form.stype == $smarty.const.VAL_SEARCH_TYPE_CATEGORY}
{l}ホーム{/l} {if $_parent.c1_id != ''}  > {$_parent.c1_name|word_breaker|neo_emoji} {/if} {if $_parent.c2_id != ''}  > {$_parent.c2_name|word_breaker|neo_emoji} {/if} {if $_parent.c3_id != ''}  > {$_parent.c3_name|word_breaker|neo_emoji} {/if}
{/if} {include file="file:$templatedir/left_glmenu.html"}
{* tab *} {include file="file:$templatedir/top_tabs.html"} {* error *} {include file="file:$templatedir/notice.html"} {if $form.stype == $smarty.const.VAL_SEARCH_TYPE_KEYWORD | $form.stype == $smarty.const.VAL_SEARCH_TYPE_DETAIL}
{l}検索結果{/l}

{elseif $form.stype == $smarty.const.VAL_SEARCH_TYPE_CATEGORY}
{$_cnm|word_breaker|neo_emoji}
{* 左カテゴリ一覧 *} {assign var="_mcatcntl" value=$_mcatlistl|@count} {if $_mcatcntl > 0} {if ($_cdepth == $smarty.const.NUM_CATEGORY_LARGE)}
{foreach from=$_mcatlistl name='_mcatrecl' item='_mcatrecl'} {* 中カテゴリ *}

{$_mcatrecl.category_name|word_breaker|neo_emoji}

{assign var="_scatcntl" value=$_mcatrecl.child|@count} {if $_scatcntl > 0} {/if} {/foreach}
{else} {foreach from=$_mcatlistl name='_mcatrecl' item='_mcatrecl'} {assign var="_scatcntl" value=$_mcatrecl.child|@count} {if $_scatcntl > 0} {/if} {/foreach} {/if} {/if} {* 中央カテゴリ一覧 *} {assign var="_mcatcntc" value=$_mcatlistc|@count} {if $_mcatcntc > 0}
{foreach from=$_mcatlistc name='_mcatrecc' item='_mcatrecc'} {* 中カテゴリ *}

{$_mcatrecc.category_name|word_breaker|neo_emoji}

{assign var="_scatcntc" value=$_mcatrecc.child|@count} {if $_scatcntc > 0} {/if} {/foreach}
{/if} {* 右カテゴリ一覧 *} {assign var="_mcatcntr" value=$_mcatlistr|@count} {if $_mcatcntr > 0}
{foreach from=$_mcatlistr name='_mcatrecr' item='_mcatrecr'} {* 中カテゴリ *}

{$_mcatrecr.category_name|word_breaker|neo_emoji}

{assign var="_scatcntr" value=$_mcatrecr.child|@count} {if $_scatcntr > 0} {/if} {/foreach}
{/if}
{/if} {* タブ表示 *}
{if $form.stype == $smarty.const.VAL_SEARCH_TYPE_RECENT || $form.stype == $smarty.const.VAL_SEARCH_TYPE_USEFUL || $form.stype == $smarty.const.VAL_SEARCH_TYPE_VIEW} {/if}
RSS
{* 最近の質問 *}
{include file="file:srch.recent_question.html"}
{* みんなが選んだ質問 *} {* 閲覧の多い質問 *}
{* footer *} {include file="file:$templatedir/footer.html"}