} else { $unum_limit = 0; } //================================================= // あぼーん&NGワード設定読み込み //================================================= $GLOBALS['ngaborns'] = NgAbornCtl::loadNgAborns(); //==================================================================== // メイン //==================================================================== $aThreadList = new ThreadList(); // 板とモードのセット =================================== $ta_keys = array(); if ($spmode) { if ($spmode == "taborn" or $spmode == "soko") { $aThreadList->setIta($host, $bbs, P2Util::getItaName($host, $bbs)); } $aThreadList->setSpMode($spmode); } else { $aThreadList->setIta($host, $bbs, P2Util::getItaName($host, $bbs)); // スレッドあぼーんリスト読込 $taborn_file = $aThreadList->getIdxDir() . 'p2_threads_aborn.idx'; if ($tabornlines = FileCtl::file_read_lines($taborn_file, FILE_IGNORE_NEW_LINES)) { $ta_num = sizeof($tabornlines); foreach ($tabornlines as $l) { $tarray = explode('<>', $l); $ta_keys[$tarray[1]] = true; } } } // ソースリスト読込
if (P2CommandRunner::fetchSubjectTxt($spmode, $_conf)) { $GLOBALS['expack.subject.multi-threaded-download.done'] = true; } } } //============================================================ // メイン //============================================================ $aThreadList = new ThreadList(); // {{{ 板とモードのセット $spmode_without_palace_or_favita = false; $ta_keys = array(); $ta_num = 0; if ($spmode) { if ($spmode == 'taborn' or $spmode == 'soko') { $aThreadList->setIta($host, $bbs, P2Util::getItaName($host, $bbs)); } if ($spmode != 'palace' && $spmode != 'merge_favita') { $spmode_without_palace_or_favita = true; } $aThreadList->setSpMode($spmode); } else { // if(!$p2_setting['itaj']){$p2_setting['itaj'] = P2Util::getItaName($host, $bbs);} $aThreadList->setIta($host, $bbs, $p2_setting['itaj']); // スレッドあぼーんリスト読込 $taborn_file = $aThreadList->getIdxDir() . 'p2_threads_aborn.idx'; if ($tabornlines = FileCtl::file_read_lines($taborn_file, FILE_IGNORE_NEW_LINES)) { $ta_num = sizeof($tabornlines); foreach ($tabornlines as $l) { $data = explode('<>', $l); $ta_keys[$data[1]] = true;
if (is_array($p2_setting) && array_key_exists('itaj', $p2_setting)) { $itaj = $p2_setting['itaj']; } } if ($itaj === null || $itaj === '') { $itaj = P2Util::getItaName($host, $bbs); } // }}} //============================================================ // メイン //============================================================ $aThreadList = new ThreadList(); // 板とモードのセット =================================== if ($spmode) { if ($spmode == 'taborn' or $spmode == 'soko') { $aThreadList->setIta($host, $bbs, $itaj); } $aThreadList->setSpMode($spmode); } else { $aThreadList->setIta($host, $bbs, $itaj); // スレッドあぼーんリスト読込 $taborn_file = $aThreadList->getIdxDir() . 'p2_threads_aborn.idx'; if ($tabornlines = FileCtl::file_read_lines($taborn_file, FILE_IGNORE_NEW_LINES)) { $ta_num = sizeof($tabornlines); foreach ($tabornlines as $l) { $data = explode('<>', $l); $ta_keys[$data[1]] = true; } } } // ソースリスト読込