echo $_conf['doctype']; echo <<<EOHEADER <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <meta name="ROBOTS" content="NOINDEX, NOFOLLOW"> {$_conf['extra_headers_ht']} <title>{$ptitle_ht}</title> </head> EOHEADER; echo "<body{$_conf['k_colors']}>"; P2Util::printInfoHtml(); echo "<p><a href=\"{$thread_url}\">{$ptitle_ht}</a></p>"; echo '<hr>'; echo kspform($aThread, $default, $params); echo '<hr>'; echo '<p>'; if (!empty($_GET['from_read_new'])) { echo "<a href=\"{$_conf['read_new_k_php']}?cview=1{$_conf['k_at_a']}\">まとめ読みに戻る</a><br>"; } echo "<a href=\"{$thread_url}\">スレに戻る</a>"; echo '</p>'; echo '</body></html>'; exit; /* * Local Variables: * mode: php * coding: cp932 * tab-width: 4 * c-basic-offset: 4
$read_range_on = "{$filter_range['start']}-{$filter_range['end']}"; } $rescount_st = "{$filter_hits}hit/{$aThread->rescount}"; $last_resnum = $resFilter->last_hit_resnum; } else { if ($aThread->resrange['start'] == $aThread->resrange['to']) { $read_range_on = $aThread->resrange['start']; } else { $read_range_on = "{$aThread->resrange['start']}-{$aThread->resrange['to']}"; } $rescount_st = (string) $aThread->rescount; $last_resnum = $aThread->resrange['to']; } $hd['read_range'] = "{$read_range_on}/{$rescount_st}"; // レス番指定移動 etc. $htm['goto'] = kspform($aThread, $last_resnum); //===================================================================== // プリント //===================================================================== if ($aThread->rescount or !empty($_GET['one']) && !$aThread->diedat) { // and (!$_GET['renzokupop']) if (!$aThread->diedat) { if (!empty($_conf['disable_res'])) { $dores_ht = <<<EOP | <a href="{$motothre_url}"{$_conf['k_accesskey_at']['res']}>{$_conf['k_accesskey_st']['res']}{$dores_st}</a> EOP; } else { $dores_ht = <<<EOP <a href="post_form.php?{$host_bbs_key_q}&rescount={$aThread->rescount}{$ttitle_en_q}{$_conf['k_at_a']}"{$_conf['k_accesskey_at']['res']}>{$_conf['k_accesskey_st']['res']}{$dores_st}</a> EOP; }
echo toolbar_i_aborn_button('img/glyphish/icons2/128-bone.png', 'あぼーん', $thread_info); echo '</td>'; // ログ削除 echo '<td>'; if (file_exists($aThread->keydat)) { $escaped_url = "info.php?{$host_bbs_key_q}{$ttitle_en_q}&dele=1{$_conf['k_at_a']}"; echo toolbar_i_standard_button('img/glyphish/icons2/64-zap.png', 'ログ削除', $escaped_url); } else { echo toolbar_i_disabled_button('img/glyphish/icons2/64-zap.png', 'ログ削除'); } 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>
if (isset($GLOBALS['word']) && $aThread->rescount) { $filter_range['end'] = min($filter_range['to'], $filter_hits); $read_range_on = "{$filter_range['start']}-{$filter_range['end']}/{$filter_hits}hit"; } elseif ($aThread->resrange_multi) { $read_range_on = htmlspecialchars($aThread->ls); } elseif ($aThread->resrange['start'] == $aThread->resrange['to']) { $read_range_on = $aThread->resrange['start']; } else { $read_range_on = "{$aThread->resrange['start']}:{$aThread->resrange['to']}"; } $hd['read_range'] = $read_range_on . '/' . $aThread->rescount; if (!empty($_GET['onlyone'])) { $hd['read_range'] = 'プレビュー>>1'; } // レス番指定移動 etc. $goto_ht = kspform(isset($GLOBALS['word']) ? $last_hit_resnum : $aThread->resrange['to'], $aThread); // フィルター表示 Edit 080727 by 240 $seafrm_ht = CreateFilterForm(isset($GLOBALS['word']) ? $last_hit_resnum : $aThread->resrange['to'], $aThread); //===================================================================== // プリント //===================================================================== if ($aThread->rescount or !empty($_GET['onlyone']) && !$aThread->diedat) { // and (!$_GET['renzokupop']) if (!$aThread->diedat) { if (!empty($_conf['disable_res'])) { $dores_ht = <<<EOP | <a href="{$motothre_url}" target="_blank" >{$dores_st}</a> EOP; } else { $dores_ht = <<<EOP <a href="post_form_i.php?host={$aThread->host}{$bbs_q}{$key_q}&rescount={$aThread->rescount}{$ttitle_en_q}{$_conf['k_at_a']}" >{$dores_st}</a>