{#foreach $T.table as record}
{$T.record.username}
{#if $T.record.userid != "0" && CurrentUserId !="0" && $T.record.userid != CurrentUserId} {#/if}
留言时间:{$T.record.adddate}
{$T.record.title}
{$T.record.content} {#if $T.record.replyuserid == "" || $T.record.replyuserid == "0"} {#if CurrentAdminId !="0" && $T.record.userid != CurrentAdminId} 回复此留言 {#/if} {#else}
{$T.record.replyusername} 的回复 {$T.record.replyadddate}
{$T.record.replycontent}
{#/if}
{#/for}