共 {$__PAGING__.record_total} 条留言，当前第 {$__PAGING__.page_current} 页

## 留言

{maccms:gbook num="10" paging="yes" half="3" order="desc" by="id"}
- {php}$avatar_src = mac_get_user_portrait(isset($vo['user_id']) ? $vo['user_id'] : 0); $avatar_alt = isset($vo['gbook_name']) ? (string)$vo['gbook_name'] : ''; $avatar_user_id = isset($vo['user_id']) ? (int)$vo['user_id'] : 0;{/php}
  {include file="widget/user_avatar" avatar_user_id="$avatar_user_id" avatar_size="xs" avatar_variant="list" avatar_class="comm_avat part_roun" /}
  {$vo.gbook_name}
  {$vo.gbook_content}
  {if$vo.gbook_reply}
  管理员
  {$vo.gbook_reply}
  {/if}
{/maccms:gbook}{if$__PAGING__.record_total==0}
- 还没有人留言哎！
{/if}

{include file="widget/page"}