{php} $ava=getAvatar($_SESSION['user_id'],50); echo ($ava>'' ? '' : ''); {/php} {#LOGIN_WELCOME_TEXT#}, {$smarty.session.user_name|escape}!