{assign name="_tpl_page_type" value="[_page_type]" /} {php}$_tpl_vars=\util\Tools::cp_page_tpl_vars($_tpl_page_type);{/php}

#### {$_tpl_vars['title']}分页

开启分页
是 否
{if $_tpl_page_type=='source_url'} {include file="cpattern:set_page_rule" _page_type="source_url" _is_pagination="1" /} {elseif $_tpl_page_type=='level_url' /} {include file="cpattern:set_page_rule" _page_type="level_url" _is_pagination="1" /} {elseif $_tpl_page_type=='url' /}
分页字段

只有选中的字段才会在分页中获取到内容

{include file="cpattern:set_page_rule" _page_type="url" _is_pagination="1" /} {/if}
最大分页数量

填0表示不限制会自动循环抓取到最后一页，为防止出现无限循环的情况，最好设置一个数值以便采集到相应数量的分页后跳出循环抓取

{if $_tpl_page_type=='source_url'} {include file="cpattern:set_page_url" _page_type="source_url" _is_pagination="1" /} {elseif $_tpl_page_type=='level_url' /} {include file="cpattern:set_page_url" _page_type="level_url" _is_pagination="1" /} {elseif $_tpl_page_type=='url' /} {include file="cpattern:set_page_url" _page_type="url" _is_pagination="1" /} {/if}