{if $SESS_LOGGED != "1"} {translate}login_required{/translate}

{ $block->display("account:login")} {else}
{ $method->exe("htaccess","check_smarty") } {if $htaccess_auth == "1" } {translate module=htaccess} success_login {/translate}

{$VAR._next_page}

{else} {translate module=htaccess} failed_login {/translate} {/if}

{/if}