<h2 data-line="0">留言</h2> <p>留言循环列表</p> ~~~ {cms:gbook num=? size=? order=order} [gbook:?] {/cms:gbook} ~~~ > <p>num=? 和 size=? 只能用一种 size为分页 分页调用参照 [list:page len=5]</p> > <table> <thead> <tr> <th>标签</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>[gbook:i]</td> <td>计数</td> </tr> <tr> <td>[gbook:title]</td> <td>标题</td> </tr> <tr> <td>[gbook:email]</td> <td>邮箱</td> </tr> <tr> <td>[gbook:ip]</td> <td>ip</td> </tr> <tr> <td>[gbook:tel]</td> <td>电话</td> </tr> <tr> <td>[gbook:gname]</td> <td>姓名</td> </tr> <tr> <td>[gbook:face]</td> <td>头像</td> </tr> <tr> <td>[gbook:content]</td> <td>留言内容</td> </tr> <tr> <td>[gbook:date]</td> <td>留言时间</td> </tr> <tr> <td>[gbook:rcontent]</td> <td>回复</td> </tr> <tr> <td>[gbook:rdate]</td> <td>回复时间</td> </tr> </tbody> </table> <h2 data-line="22"><a id="_22"></a>留言表单</h2> <pre>{gbookform} </pre> <p>{gbookform}默认包含以下字段</p> <table> <thead> <tr> <th>标题</th> <th>name</th> <th>备注</th> </tr> </thead> <tbody> <tr> <td>提交</td> <td>action="/?act=gbooking"</td> <td>method="post"</td> </tr> <tr> <td>姓名</td> <td>gname</td> <td></td> </tr> <tr> <td>标题</td> <td>gtitle</td> <td></td> </tr> <tr> <td>电话</td> <td>gtel</td> <td></td> </tr> <tr> <td>邮箱</td> <td>gemail</td> <td></td> </tr> <tr> <td>内容</td> <td>gContent</td> <td></td> </tr> <tr> <td>会员ID</td> <td>userid</td> <td>隐藏</td> </tr> <tr> <td>返回网址</td> <td>backurl</td> <td>隐藏</td> </tr> </tbody> </table>