{$login_header} {if $action == ‘login’} {if !empty($somefields)}{$somefields}{/if} {if !empty($msg_ve)} {$msg_ve} {/if} {if !empty($error_msg)} {$error_msg} {/if}