1 {if $template_event eq 'preview'}
4 <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
5 <td width='100%' valign='top'>
6 <table width='100%'><tr class='header'>
7 <td align='center'>PREVIEW
9 <tr><td>{$post_vars.mail_text|preview}</td></tr>
15 {get_mail listing_amount=$listing_amount offset=$offset}
16 {foreach from=$get_mail item=message}
19 <td valign='top' rowspan='2'><img hspace='5' width='50' src='{get_image_link id=$message.mail_from}'>
20 <td class='header' valign='top'>
21 <a href='javascript:chngto("{$message.mail_from_name}","{$message.mail_from}")'>{$message.mail_from_name}</a>
22 {if $message.mail_from neq $user_id}[location:: <a href='/id/{$message.locationfrom_action_id}'>{$message.locationfrom_action}</a>]{/if}
23 -->
24 <a href='javascript:chngto("{$message.mail_to_name}","{$message.mail_to}")'>{$message.mail_to_name}</a>
25 {if $message.mail_to neq $user_id}[location:: <a href='/id/{$message.locationto_action_id}'>{$message.locationto_action}</a>]{/if}
26 -- <input type='checkbox' name='message[{$message.mail_id}]'>
28 {if $message.mail_to==$user_id AND $message.mail_timestamp > $node.last_visit}<span class='most_important'>NEW</span>
29 {elseif $message.mail_read eq 'no'}<span class='most_important'>UNDELIVERED</span>{/if}
30   {$message.mail_timestamp|date_format:"%H:%M:%S - %d.%m.%Y"}
34 <td valign='top'>{$message.mail_text}</td>