Esempio n. 1
0
 */
$host = $_GET['host'];
$bbs = $_GET['bbs'];
$key = $_GET['key'];
$ttitle = UrlSafeBase64::decode($_GET['ttitle_en']);
$ttitle_back = isset($_SERVER['HTTP_REFERER']) ? '<a href="' . p2h($_SERVER['HTTP_REFERER']) . '" title="戻る">' . $ttitle . '</a>' : $ttitle;
$hidden_fields_ht = ResFilterElement::getHiddenFields($host, $bbs, $key);
if ($_conf['iphone']) {
    $word_field_ht = ResFilterElement::getWordField(array('autocorrect' => 'off', 'autocapitalize' => 'off'));
} else {
    $word_field_ht = ResFilterElement::getWordField();
}
$field_field_ht = ResFilterElement::getFieldField();
$method_field_ht = ResFilterElement::getMethodField();
$match_field_ht = ResFilterElement::getMatchField();
$include_field_ht = ResFilterElement::getIncludeField();
/**
 * 検索フォームを表示
 */
P2Util::header_nocache();
echo $_conf['doctype'];
echo <<<EOF
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
{$_conf['extra_headers_ht']}
<title>rep2 - スレ内検索</title>
</head>
<body{$_conf['k_colors']}>
<p>{$ttitle_back}</p>
echo '</td>';
echo '</tr>';
// }}}
echo '</tbody></table>';
// {{{ その他 - SPMフォーム
echo kspform($aThread);
// }}}
echo '</div>';
// }}}
// {{{ レス検索フォーム
$htm['rf_hidden_fields'] = ResFilterElement::getHiddenFields($aThread->host, $aThread->bbs, $aThread->key);
$htm['rf_word_field'] = ResFilterElement::getWordField(array('autocorrect' => 'off', 'autocapitalize' => 'off'));
$htm['rf_field_field'] = ResFilterElement::getFieldField();
$htm['rf_method_field'] = ResFilterElement::getMethodField();
$htm['rf_match_field'] = ResFilterElement::getMatchField();
$htm['rf_include_field'] = ResFilterElement::getIncludeField();
echo <<<EOP
<div id="read_toolbar_filter" class="extra">
<form id="read_filter" method="get" action="{$_conf['read_php']}" accept-charset="{$_conf['accept_charset']}">
{$htm['rf_hidden_fields']}{$htm['rf_word_field']}
<input type="submit" id="submit1" name="submit_filter" value="検索"><br>
{$htm['rf_field_field']}に{$htm['rf_method_field']}を{$htm['rf_match_field']}
{$htm['rf_include_field']}
{$_conf['detect_hint_input_ht']}{$_conf['k_input_ht']}
</form>
</div>
EOP;
// }}}
// {{{ 各種通知
$info_ht = P2Util::getInfoHtml();
if (strlen($info_ht)) {