{include file="$template_path/html/pagenav.html"}

{if $type == 'users'}
{elseif $type == 'collections'}
{else}
{if isset($smarty.get.categories) && is_array($smarty.get.categories)} {foreach from=$smarty.get.categories item=c key=k} {/foreach} {/if}
{/if}
{if $results} {* SHOW USERS *} {if $type == 'users'}
    {foreach from=$results item=u name=foo}
  • {$u.items} {$lang.items}
    {$u.followers} {$lang.followers}
    {$lang.member_since}: {$u.register_datetime|date_format:"%Y-%m-%d"}
    {if $u.custom_made == 'true'} {$lang.available_custom_mader}
    {/if}
    {$u.sales} {$lang.sales}
    {section name=foo1 start=1 loop=6 step=1} {if $u.rating >= $smarty.section.foo1.index} {else} {/if} {/section}
  • {/foreach}
{elseif $type == 'collections'} {else}
    {foreach from=$results item=i name=foo}
  • {$i.name|escape}

    分类: {foreach from=$i.categories item=e}{foreach from=$e item=c name=foo}{$categories[$c].name} {if !$smarty.foreach.foo.last} \ {/if}{/foreach}{/foreach}

    {$i.sales}{$lang.sales}

    {$currency.symbol}{$i.price}

  • {/foreach}
{/if} {else}
{$lang.no_results_found}
{/if}

微调结果

搜索这些结果

{include file="$template_path/html/footer.html"}