{if $template_event eq 'preview'}
PREVIEW
{$post_vars.mail_text|preview}
{* end of preview *} {/if} {get_mail listing_amount=$listing_amount offset=$offset} {foreach from=$get_mail item=message}
{$message.mail_from_name} {if $message.mail_from neq $user_id}[location:: {$message.locationfrom_action}]{/if}   -->   {$message.mail_to_name} {if $message.mail_to neq $user_id}[location:: {$message.locationto_action}]{/if}   --  
{if $message.mail_to==$user_id AND $message.mail_timestamp > $node.last_visit}NEW {elseif $message.mail_read eq 'no'}UNDELIVERED{/if}   {$message.mail_timestamp|date_format:"%H:%M:%S - %d.%m.%Y"}
{$message.mail_text}
{/foreach}