//如果栏目的文档太多,分多批次更新
if($ntotalpage <= $maxpagesize || $lv->TypeLink->TypeInfos['ispart']!=0 || $lv->TypeLink->TypeInfos['isdefault']==-1)
{
$reurl = $lv->MakeHtml('', '', $isremote);
$finishType = TRUE;
}
else
{
// 让代码进入此执行才是分批生成html
$reurl = $lv->MakeHtml($mkpage, $maxpagesize, $isremote);
$finishType = FALSE;
$mkpage = $mkpage + $maxpagesize;
if( $mkpage >= ($ntotalpage+1) ) $finishType = TRUE;
}
//如果栏目的文档太多,分多批次更新
if($ntotalpage <= $maxpagesize || $lv->TypeLink->TypeInfos['ispart']!=0 || $lv->TypeLink->TypeInfos['isdefault']==-1)
{
$reurl = $lv->MakeHtml('', '', $isremote);
$finishType = TRUE;
}
else
{
// 让代码进入此执行才是分批生成html
$reurl = $lv->MakeHtml($mkpage, $maxpagesize, $isremote);
$finishType = FALSE;
$mkpage = $mkpage + $maxpagesize;
if( $mkpage >= ($ntotalpage+1) ) $finishType = TRUE;
}
|