Пример #1
0
            $GLOBALS['_read_copy_resnum'] = $ktv;
            require './read_copy_k.php';
            exit;
            /* 2006/03/06 aki ノーマルp2では未対応
               case 'aas_rotate':
                   $_GET['rotate'] = 1;
               case 'aas':
                   $_GET['resnum'] = $ktv;
                   require './aas.php';
                   exit;
               */
    }
}
// }}}
// スレの指定
list($host, $bbs, $key, $ls) = detectThread();
// {{{ レスフィルタ
$res_filter = array();
if (isset($_POST['word'])) {
    $GLOBALS['word'] = $_POST['word'];
}
if (isset($_GET['word'])) {
    $GLOBALS['word'] = $_GET['word'];
}
if (isset($_POST['field'])) {
    $res_filter['field'] = $_POST['field'];
}
if (isset($_GET['field'])) {
    $res_filter['field'] = $_GET['field'];
}
if (isset($_POST['match'])) {
Пример #2
0
    // PC
} else {
    define('READ_HEADER_INC_PHP', P2_LIB_DIR . '/read_header.inc.php');
    define('READ_FOOTER_INC_PHP', P2_LIB_DIR . '/read_footer.inc.php');
}
//================================================================
// 変数
//================================================================
$newtime = date('gis');
// 同じリンクをクリックしても再読込しない仕様に対抗するダミークエリー
// $_today = date('y/m/d');
$is_ajax = !empty($_GET['ajax']);
//=================================================
// スレの指定
//=================================================
detectThread();
// global $host, $bbs, $key, $ls
//=================================================
// レスフィルタ
//=================================================
$do_filtering = false;
if (array_key_exists('rf', $_REQUEST) && is_array($_REQUEST['rf'])) {
    $resFilter = ResFilter::configure($_REQUEST['rf']);
    if ($resFilter->hasWord()) {
        $do_filtering = true;
        if ($_conf['ktai']) {
            $page = isset($_REQUEST['page']) ? $_REQUEST['page'] : 1;
            $resFilter->setRange($_conf['mobile.rnum_range'], $page);
        }
        if (empty($popup_filter) && isset($_REQUEST['submit_filter'])) {
            $resFilter->save();