<{foreach item=post from=$messages}>
style="color:#<{$post.color}>;" <{/if}>title="<{$post.date}><{if $xoops_isadmin == 1}> | <{$post.ip}> | <{$post.mid}><{/if}>"><{$post.uname}>: <{$post.msg}>
<{/foreach}>