[#escape x as (x)!?html]
[#include 'inc_js.html'/]
[#include 'inc_header.html'/]
[#assign pageSize=1/] [@Query sql="select count(*) from cms_user";list] [#assign pagedList={'totalPages':list[0]}/] [/@Query]
共有 ${pagedList.totalPages} 条数据
[@Query sql='select t.f_user_id,t.f_username from cms_user t limit '+(page-1)*pageSize+','+page*pageSize;list] [#list list as bean]
${bean[0]},${bean[1]}[#if bean_has_next];[/#if]
[/#list] [/@Query] [#include 'page.html'/]
[#include 'inc_footer.html'/]
[/#escape]