{* Smarty *} {if $user.isLoggedIn}
Logged in as {$user.username}. [Logout]
{else}
Login:
{/if} {if $errors|@count gt 0} {/if}