// メイン //==================================================================== register_shutdown_function('saveMatomeCache'); $GLOBALS['_read_new_html'] = ''; ob_start(); $aThreadList = new ThreadList(); // 板とモードのセット 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)); // スレッドあぼーんリスト読込 $ta_keys = P2Util::getThreadAbornKeys($host, $bbs); $ta_num = sizeOf($ta_keys); } // ソースリスト読込 $lines = $aThreadList->readList(); // ページヘッダ表示 =================================== $ptitle_ht = sprintf('%s の 新着まとめ読み', hs($aThreadList->ptitle)); $ptitle_uri = UriUtil::buildQueryUri($_conf['subject_php'], array('host' => $aThreadList->host, 'bbs' => $aThreadList->bbs, 'spmode' => $aThreadList->spmode, UA::getQueryKey() => UA::getQueryValue())); $ptitle_atag = P2View::tagA($ptitle_uri, hs($aThreadList->ptitle)); $ptitle_btm_atag = P2View::tagA($ptitle_uri, hs("{$_conf['k_accesskey']['up']}.{$aThreadList->ptitle}"), array($_conf['accesskey_for_k'] => $_conf['k_accesskey']['up'])); $body_at = ''; //$body_at = P2View::getBodyAttrK(); /* // ページヘッダ表示 =================================== $ptitle_hs = htmlspecialchars($aThreadList->ptitle, ENT_QUOTES); $ptitle_ht = "{$ptitle_hs} の 新着まとめ読み";
//============================================================ // メイン //============================================================ $aThreadList = new ThreadList(); // 板とモードのセット =================================== if ($spmode) { if ($spmode == "taborn" or $spmode == "soko") { $aThreadList->setIta($host, $bbs, P2Util::getItaName($host, $bbs)); } $aThreadList->setSpMode($spmode); } else { // if (!$p2_setting['itaj']) { $p2_setting['itaj'] = P2Util::getItaName($host, $bbs); } $itaj = isset($p2_setting['itaj']) ? $p2_setting['itaj'] : null; $aThreadList->setIta($host, $bbs, $itaj); // スレッドあぼーんリスト読込 $ta_keys = P2Util::getThreadAbornKeys($aThreadList->host, $aThreadList->bbs); //$ta_num = sizeOf($ta_keys); } // ソースリスト読込 $lines = $aThreadList->readList(); // お気にスレリスト 読込 if (file_exists($_conf['favlist_file'])) { $favlines = file($_conf['favlist_file']); if (is_array($favlines)) { foreach ($favlines as $l) { $data = explode('<>', rtrim($l)); $fav_keys[$data[1]] = true; } } } //============================================================