{document_write}
{$smarty.const.FAQ_DEF_FAQ_NAME}
{if $form.stype == $smarty.const.VAL_SEARCH_TYPE_RECENT || $form.stype == ''}{l}最近の質問{/l}
{elseif $form.stype == $smarty.const.VAL_SEARCH_TYPE_USEFUL}{l}みんなが選んだ質問{/l}
{elseif $form.stype == $smarty.const.VAL_SEARCH_TYPE_VIEW}{l}閲覧の多い質問{/l}
{elseif $user->isAuthenticated()} {if $form.stype == $smarty.const.VAL_SEARCH_TYPE_BOOKMARK}{l}ブックマーク一覧{/l}
{elseif $form.stype == $smarty.const.VAL_SEARCH_TYPE_INTEREST}{l}注目カテゴリへの質問{/l}
{/if} {/if}
{assign var="_lineflg" value=false}
{foreach from=$qa item='_data'} {if strlen($_data.title) > 0}
{$_data.title|emoji_truncate:$smarty.const.NUM_MAX_STRING_LENGTH|neo_emoji}
{if $_lineflg}{assign var="_lineflg" value=false}{else}{assign var="_lineflg" value=true}{/if} {/if} {foreachelse}
{$titleval.no_data}
{/foreach}
{assign var="_listcnt" value=$qa|@count} {if $_listcnt > 0}
{if $form.stype == $smarty.const.VAL_SEARCH_TYPE_RECENT || $form.stype == ''} {l}一覧{/l} {elseif $form.stype == $smarty.const.VAL_SEARCH_TYPE_USEFUL} {l}一覧{/l} {elseif $form.stype == $smarty.const.VAL_SEARCH_TYPE_VIEW} {l}一覧{/l} {elseif $form.stype == $smarty.const.VAL_SEARCH_TYPE_BOOKMARK && $user->isAuthenticated()} {l}一覧{/l} {elseif $form.stype == $smarty.const.VAL_SEARCH_TYPE_INTEREST && $user->isAuthenticated()} {l}一覧{/l} {/if}
{/if}
{/document_write}