예제 #1
0
        //$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();
// オフライン指定でもログがなければ、改めて強制読み込み
if (empty($aThread->datlines) && $offline) {
    $aThread->downloadDat();
    $aThread->readDat();
}
// タイトルを取得して設定
$aThread->setTitleFromLocal();
//===========================================================
// 表示レス番の範囲を設定
//===========================================================
if ($_conf['ktai']) {
    $before_respointer = $_conf['mobile.before_respointer'];