
<!--         var conf = {
            startInx : startInx,
            endInx : endInx,
            hasFirstFolder : hasFirstFolder,
            hasLastFolder : hasLastFolder,

            pagesCounts : maxPage,
            curPage : pageIndex // 当前页
        };
 -->
<div data-source="ft" class="page-indecators-container ft-page-indicators">
    <%if (curPage !== 1) {%>
        <a href="javascript:;" data-inx="prev" class="page-btn prev">&lt;</a>
    <%}%>
    <a href="javascript:;" data-inx="1" class="<%= (1 === curPage) ? 'cur' : ''%> page-btn">1</a>
    <%if (hasFirstFolder) {%>
        <a href="javascript:;" class="folder">…</a>
    <%}%>
    <%for (var i = startInx ; i < endInx + 1; i++) {%>
        <a href="javascript:;" data-inx="<%=i%>" class="page-btn <%= (i === curPage) ? 'cur' : ''%>" ><%=i%></a>
    <%}%>
    <%if (hasLastFolder) {%>
        <a href="javascript:;" class="folder">…</a>
    <%}%>

    <%if (1 !== pagesCounts) {%>
        <a href="javascript:;"  data-inx="<%=pagesCounts%>" class="<%= (pagesCounts === curPage) ? 'cur' : ''%> folder page-btn"><%=pagesCounts%></a>
    <%}%>
    <%if (curPage !== pagesCounts) {%>
        <a href="javascript:;" data-inx="next" class="next page-btn" >&gt;</a>
    <%}%>
</div>