{if $errflg == $smarty.const.VAL_COMMON_FLAG_ON} {if $errors} {foreach from=$errors item='_error'} {$_error|smarty:nodefaults|nl2br|neo_emoji} {/foreach} {/if} {else} {$data} {/if}