{if $login} {$login['nick']|6} {else} 登录 注册 QQ登录 {/if}