$notallowArr = array('dopost', 'f', 'del', 'curpage', 'morejob'); $jumpurl = GetNextUrl($notallowArr); if (empty($typeid)) { ShowMsg("<b>完成栏目更新任务!完成所有更新任务!</b>", "close::tgtable"); exit; } $topids = explode(',', GetTopids($typeid)); if (empty($curpage)) { $curpage = 0; } $tid = $topids[$curpage]; if (isset($cfg_Cs[$tid]) && $cfg_Cs[$tid][1] > 0) { require_once DEDEINC . "/arc.listview.class.php"; $lv = new ListView($tid); $lv->MakeHtml(); $lv->Close(); } else { require_once DEDEINC . "/arc.sglistview.class.php"; $lv = new SgListView($tid); $lv->MakeHtml(); $lv->Close(); } if ($curpage >= count($topids) - 1) { if (!empty($doposttmp)) { $jumpurl = preg_replace("#doposttmp|nextdotmp#", 'del', $jumpurl); $jumpurl .= "&dopost={$doposttmp}&nextdo={$nextdotmp}"; ShowMsg("完成栏目:{$tid} 更新!<br /><b>完成栏目更新任务,继续执行后续任务...</b>", $jumpurl, 0, 500); exit; } else { ShowMsg("完成栏目:{$tid} 更新!<br /><b>完成栏目更新任务,完成所有更新任务!</b>", "close::tgtable"); exit;