{include file="header.html"}

{$layout.pagetitle}

{if $message.sender} {/if}
{t}Subject:{/t} {$message.subject}
{t}User:{/t} {if $message.userid} {$message.name} {else}LMS{/if}
{t}Creation date:{/t} {$message.cdate|date_format:"%Y/%m/%d %H:%m"}
{t}Sender:{/t} {$message.sender|escape:"html"}
{t}Message body:{/t}
{$message.body|replace:"\n":"
"}
{t}Cancel{/t}

{if $listdata.total != 0} {/if} {cycle values="light,lucid" print=false} {section name=itemlist loop=$itemlist start=$start max=$pagelimit} {assign var=item value=$itemlist[itemlist]} {sectionelse} {/section} {if $listdata.total != 0} {/if}
{t}Customer:{/t} {if $listdata.order eq "customer"}{/if} {t}Destination:{/t} {if $listdata.order eq "destination"}{/if} {t}Status:{/t} ({t}Error message{/t}) {if $listdata.order eq "status"}{/if} {t 0=$listdata.total}Total: $0{/t} 
{t}Filter:{/t}     {t}Status:{/t}  »»»
{include file="scroller.html" loop=$itemlist scrollerno=1}
{$item.customer|truncate:45:"...":true} ({$item.customerid|string_format:"%04d"}) {$item.destination|escape} {if $item.status == $smarty.const.MSG_SENT} {t}sent{/t} {elseif $item.status == $smarty.const.MSG_ERROR} {t}errornous{/t}{if $item.error} ({$item.error|escape}){/if} {else} {t}waiting{/t} {/if}

 

{t}No such recipients in database.{/t}

 

{include file="scroller.html" loop=$itemlist scrollerno=2}
{t 0=$listdata.total}Total: $0{/t}
{include file="footer.html"}