{foreach from=$ERRORS item="error_message" key="error"}
	{if $error eq "PARAMETERS_MISSED"}
		[[The key parameters are not specified]]
	{elseif $error eq "NOT_LOGGED_IN"}
		{module name="users" function="login"}
	{/if}
{/foreach}