<html>
<head>
<title>img0ch - 掲示板内全文検索</title>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="VERSION" content="<TMPL_VAR NAME=VERSION ESCAPE=HTML>">
<script src="<TMPL_VAR NAME=StaticURI ESCAPE=HTML>/js/img0ch.js" charset="UTF-8"></script>
<script type="text/javascript">
//<!--
var app = Img0ch.App;
app.setBBS("<TMPL_VAR NAME=BBS ESCAPE=HTML>");
app.setBBSURI("<TMPL_VAR NAME=BBSURI ESCAPE=HTML>");
app.setCGIURI("<TMPL_VAR NAME=CGIURI ESCAPE=HTML>");
app.setStaticURI("<TMPL_VAR NAME=StaticURI ESCAPE=HTML>");
jQuery(function(){
    jQuery("//input[@name='query']").get(0).focus();
});
function redir(element) {
    app.redirectRenderer(element);
    return true;
}
//-->
</script>
<style type="text/css">
<!--
.clear { clear: both; }
.icon-align { vertical-align: top; }
.image { border: none; float: left; }
-->
</style>
<TMPL_VAR NAME=META>
</head>

<body bgcolor="<TMPL_VAR NAME=BBS_BG_COLOR ESCAPE=HTML>" text="<TMPL_VAR NAME=BBS_TEXT_COLOR ESCAPE=HTML>" link="<TMPL_VAR NAME=BBS_LINK_COLOR ESCAPE=HTML>" alink="<TMPL_VAR NAME=BBS_ALINK_COLOR ESCAPE=HTML>" vlink="<TMPL_VAR NAME=BBS_VLINK_COLOR ESCAPE=HTML>" background="<TMPL_VAR NAME=BBS_BG_PICTURE ESCAPE=HTML>">
<TMPL_IF NAME=Banner><table border="1" cellspacing="7" cellpadding="3" width="100%" bgcolor="#ccffcc" align="center"><tr><td><TMPL_VAR NAME=Banner></td></tr></table><hr></TMPL_IF>

<table border="1" align="center" cellspacing="7" cellpadding="3" width="95%" bgcolor="<TMPL_VAR NAME=BBS_MENU_COLOR ESCAPE=HTML>">
<tr><td>
<a href="<TMPL_VAR NAME=BBSURI ESCAPE=HTML>/">掲示板に戻る</a>
<a href="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/img0ch-st.cgi/<TMPL_VAR NAME=BBS ESCAPE=HTML>/">検索フォーム</a>
<a href="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/img0ch-sf.cgi/<TMPL_VAR NAME=BBS ESCAPE=HTML>/">添付ファイル検索</a>
<br>
<form action="<TMPL_VAR NAME=CGIURI ESCAPE=HTML>/img0ch-st.cgi" method="post">
<center>
<input type="text" name="query" value="<TMPL_VAR NAME=Query ESCAPE=HTML>" size="50">
<select name="type">
<option value="subject"<TMPL_IF NAME=SelectedSubject> selected</TMPL_IF>>スレッドの題名</option>
<option value="FROM"<TMPL_IF NAME=SelectedFrom> selected</TMPL_IF>>名前</option>
<option value="mail"<TMPL_IF NAME=SelectedMail> selected</TMPL_IF>>メール欄</option>
<option value="date"<TMPL_IF NAME=SelectedDate> selected</TMPL_IF>>時刻</option>
<option value="id"<TMPL_IF NAME=SelectedId> selected</TMPL_IF>>ID</option>
<option value="MESSAGE"<TMPL_IF NAME=SelectedMessage> selected</TMPL_IF>>本文</option>
</select><br>
<input type="hidden" name="bbs" value="<TMPL_VAR NAME=BBS ESCAPE=HTML>">
<input type="submit" value="検索開始"<TMPL_IF NAME=Disabled> disabled</TMPL_IF>>
</center>
</form>
</td></tr>
<tr><td><div id="footer"><a href="http://img0ch.sourceforge.jp">img0ch-st.cgi - img0ch BBS</a></div></td></tr>
</table>

<TMPL_IF NAME=Query>
<hr>
<table border="1" align="center" cellspacing="7" cellpadding="3" width="95%" bgcolor="<TMPL_VAR NAME=BBS_MENU_COLOR ESCAPE=HTML>">
<tr><td>
「<TMPL_VAR NAME=Query ESCAPE=HTML>」の検索結果：<TMPL_VAR NAME=Total ESCAPE=HTML>件<br>
<TMPL_IF NAME=Prev><a href="<TMPL_VAR NAME=CGIURI>/img0ch-st.cgi?bbs=<TMPL_VAR NAME=BBS ESCAPE=HTML>&word=<TMPL_VAR NAME=QueryURLEscaped ESCAPE=HTML>&entries=<TMPL_VAR NAME=Item ESCAPE=HTML>&offset=<TMPL_VAR NAME=Prev ESCAPE=HTML>&type=<TMPL_VAR NAME=SearchType ESCAPE=HTML>">&lt;&lt;前</a></TMPL_IF>
<TMPL_LOOP NAME=Pages><a href="<TMPL_VAR NAME=CGIURI>/img0ch-st.cgi?bbs=<TMPL_VAR NAME=BBS ESCAPE=HTML>&word=<TMPL_VAR NAME=QueryURLEscaped ESCAPE=HTML>&entries=<TMPL_VAR NAME=Item ESCAPE=HTML>&offset=<TMPL_VAR NAME=num ESCAPE=HTML>&type=<TMPL_VAR NAME=SearchType ESCAPE=HTML>">[<TMPL_VAR NAME=num ESCAPE=HTML>]</a>
</TMPL_LOOP>
<TMPL_IF NAME=Next><a href="<TMPL_VAR NAME=CGIURI>/img0ch-st.cgi?bbs=<TMPL_VAR NAME=BBS ESCAPE=HTML>&word=<TMPL_VAR NAME=QueryURLEscaped ESCAPE=HTML>&entries=<TMPL_VAR NAME=Item ESCAPE=HTML>&offset=<TMPL_VAR NAME=Next ESCAPE=HTML>&type=<TMPL_VAR NAME=SearchType ESCAPE=HTML>">次&gt;&gt;</a></TMPL_IF>
</td></tr>
</table><hr>
<table align="center" border="1" cellspacing="7" cellpadding="3" width="95%" bgcolor="<TMPL_VAR NAME=BBS_THREAD_COLOR ESCAPE=HTML>">
<tr><td><dl>
<TMPL_LOOP NAME=Result><dt><TMPL_VAR NAME=resno ESCAPE=HTML> 名前：<TMPL_IF NAME=mail><a href="mailto:<TMPL_VAR NAME=mail ESCAPE=HTML>"><b><TMPL_VAR NAME=name></b></a><TMPL_ELSE><b><font color="<TMPL_VAR NAME=BBS_NAME_COLOR ESCAPE=HTML>"><TMPL_VAR NAME=name></font></b></TMPL_IF></b>：<TMPL_VAR NAME=date></dt><dd><TMPL_VAR NAME=text><br><br><hr><a href="<TMPL_VAR NAME=CGIURI>/read.cgi/<TMPL_VAR NAME=BBS>/<TMPL_VAR NAME=key>/l50" onclick="redir(this)"><TMPL_VAR NAME=subject></a><TMPL_IF NAME=found>&nbsp;(<TMPL_VAR NAME=count>レスのうち<TMPL_VAR NAME=found>件が該当)</TMPL_IF><br><br></dd>
</TMPL_LOOP>
</dl></td></tr>
</table>
</TMPL_IF>

</body>
</html>
