{include file="header.html"} {$xajax} {if $warning} {box title="Warning to you"} {/box} {/if} {box title="Notice to you"} {if $notice}
{foreach $notice as $items} {/foreach}
{trans("Date")} {trans("Type")} {trans("Subject")} {trans("Read")}
{$items.cdate|date_format:"%Y/%m/%d %H:%M"} {if $items.type == $smarty.const.MSG_USERPANEL_URGENT}{trans("Urgent")}{else}{trans("Casual")}{/if} {$items.subject} {if $items.type == $smarty.const.MSG_USERPANEL_URGENT || $items.type == $smarty.const.MSG_USERPANEL} {if $items.status == $smarty.const.MSG_SENT && !$items.lastreaddate} {trans("Unread")} {elseif $items.status == $smarty.const.MSG_SENT || $items.status == $smarty.const.MSG_DELIVERED} {$items.lastreaddate|date_format:"%Y/%m/%d %H:%M"} {/if} {/if}
{else} {/if} {/box} {include file="footer.html"}