📄 search.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="comm/header.jsp" %>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>论坛搜索</title>
<script language="javascript">
<!--
function selectClass(){
if(document.getElementById("schfmId").value==0){
alert("请选择论坛,不要选择\"+\"后面的大类");
document.getElementById("schfmId").value=-1;
}
}
function checkpost(){
if(document.getElementById("keyword").value.length<1){
alert("请填写搜索关键字");
document.getElementById("keyword").focus();
return false;
}
}
//-->
</script></head><body>
<div class="tabwidth">
<table align=center cellSpacing=0 cellPadding=0 width=100%>
<tr height=25px class=tr_2><td class=tab1>
<a href=index.htm>『<bean:write name="bbsname"/>』</a> → 论坛搜索
</td></tr>
<tr><td height=3px> </td></tr>
<tr><td>
<form action="SearchAction.htm" method="post" onSubmit="return checkpost();">
<table class=tab1 align=center cellSpacing=0 cellPadding=0 width=100% >
<tr height=25px><td class=tab_c colspan="2" align=center><b><font color=#FFFFFF>论坛搜索</font></b></td></tr>
<tr height="28px"><td class=td_t align="right" width="40%">请输入搜索关键字 </td><td class=td_lt>
<input type="text" id="keyword" name="keyword" size="40"> <b>关键字间用空格分开</b>
<font color="red"><b> <html:errors property="article.search.keyword.empty"/></b></font>
</td></tr>
<tr class="tr_1" height="23px"><td class=td_t colspan="2" align="center"> 搜索选项</td></tr>
<tr height="28px">
<td class=td_t align="right">作者搜索 <input type="radio" name="authorpost" id="authorpost" value="0"> </td>
<td class=td_lt>
<select name="author">
<option value="0">主题贴作者</option>
<option value="1">回复贴作者</option>
<option value="2" selected>两者都搜索</option>
</select>
</td></tr>
<tr height="28px">
<td class=td_t align="right">帖子搜索 <input type="radio" name="authorpost" id="authorpost" value="1" checked> </td>
<td class=td_lt>
<select name="content">
<option value="0">帖子标题搜索</option>
<option value="1">帖子内容搜索</option>
<option value="2" selected>两者都搜索</option>
</select>
</td></tr>
<tr height="28px">
<td class=td_t align="right">日期选择 </td>
<td class=td_lt>
<select name="postdate">
<option value="0">所有</option>
<option value="1">1天</option>
<option value="10">10天</option>
<option value="20">20天</option>
<option value="30" selected>30天</option>
<option value="60">60天</option>
<option value="120">120天</option>
<option value="360">360天</option>
</select>
</td></tr>
<tr height="28px"><td class=td_t align="right">请选择搜索论坛 </td><td class=td_lt>
<bean:write name="forumstr" filter="false"/> <b>请选择论坛,不要选择"+"后面的大类</b>
</td></tr>
<tr class="tr_1" height="28px"><td class=td_t colspan="2" align="center">
<input type=submit id="searchbt" value="开始搜索" />
<input type=reset onClick="javascript:history.go(-1);" value='返回' />
</td></tr>
</table>
</form>
</td></tr>
</table><br>
</div>
<div class="tabwidth"><yhbbs:footer /></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -