} $aThread->getThreadInfoFromIdx(); //========================================================== // preview >>1 //========================================================== //if (!empty($_GET['onlyone'])) { if (!empty($_GET['one'])) { $aThread->ls = '1'; $aThread->resrange = array('start' => 1, 'to' => 1, 'nofirst' => false); // 必ずしも正確ではないが便宜的に //if (!isset($aThread->rescount) && !empty($_GET['rc'])) { if (!isset($aThread->rescount) && !empty($_GET['rescount'])) { //$aThread->rescount = $_GET['rc']; $aThread->rescount = (int) $_GET['rescount']; } $preview = $aThread->previewOne(); $ptitle_ht = htmlspecialchars($aThread->itaj, ENT_QUOTES) . ' / ' . $aThread->ttitle_hd; include READ_HEADER_INC_PHP; echo $preview; include READ_FOOTER_INC_PHP; return; } //=========================================================== // DATのダウンロード //=========================================================== $offline = !empty($_GET['offline']); if (!$offline) { $aThread->downloadDat(); } // DATを読み込み $aThread->readDat();