Code:
{if $not_logged_message eq "1"}
instead of doing this why not just do:
Code:
{if $login} {else} (insert code) {/if}
For some reason you can't do {if !$login} or {if $login eq null} or {if $login eq false}
Just doesn't work in smarty so you have to do the above.