{if $user.avatar != ''} {$user.username} {else} {$user.username} {/if}
{$user.nickname} {foreach from=$user_badges item=b name=foo} {$b.name|escape} {if $smarty.foreach.foo.last}{/if} {/foreach}

{if $user.profile_title != ''}{$user.profile_title}{else}作者太懒了,没填签名呢{/if}

{if $items} {foreach from=$items item=i name=foo} {/foreach} {else}
还没有作品
{/if}
{$allRows}
作品
{$user.sales}
销量
{if $follow.to < '1'}0{else}{$follow.toto_count}{/if}
粉丝