[#escape x as (x)!?html]
[#include 'inc_meta.html'/] [#include 'inc_css.html'/] [#include 'inc_js.html'/]
[#include 'inc_header.html'/]
留言板
我要留言
全部留言 已回复留言 未回复留言
[@GuestbookTypeList;list] 全部类别 [#list list as type] ${type.name} [/#list] [/@GuestbookTypeList]
[@GuestbookPage typeId=Param.typeId isReply=Param.isReply limit='10' sort="creationDate desc";pagedList]

[#list pagedList.content as bean]
- ${bean.type.name}
  ${bean.title!substring(bean.text,100,'...')}
  [#if bean.reply]已回复[#else]未回复[/#if]

  ${substring(bean.text,400,'...')}

  ${bean.creator.username!bean.username!"匿名网友"}
  ${bean.creationDate?string('yyyy-MM-dd')}
[/#list]

[#include 'page.html'/] [/@GuestbookPage]
[#include 'inc_footer.html'/]
[/#escape]