?? 10ad0bcac12f001e130299acfb2391d0
字號:
<%@page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="err.jsp" %>
<html>
<head>
<META NAME="keywords" CONTENT="溢洋 溢洋論壇 xyworker@163.com java forum jsp forum">
<META NAME="description" CONTENT="溢洋 溢洋論壇 xyworker@163.com java forum jsp forum">
<link rel='stylesheet' type='text/css' href='inc/FORUM.CSS'>
<script language="JavaScript">
function Popup(url, window_name, window_width, window_height)
{ settings=
"toolbar=no,location=no,directories=no,"+
"status=no,menubar=no,scrollbars=yes,"+
"resizable=yes,width="+window_width+",height="+window_height;
NewWindow=window.open(url,window_name,settings); }
function icon(theicon) {
document.input.message.value += " "+theicon;
document.input.message.focus();
}
</script>
<title>溢洋論壇</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body text="#0000ff" >
<jsp:include page="inc/public.jsp" flush="true"/>
<table width="760" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#ffffff" width="501"> <a href="default1.asp"><br>
首頁</a>>><a href="index.jsp">溢洋論壇</a>>>文章搜索</td>
<td bgcolor="#ffffff" class="post" align="right" width="230"> </td>
</tr></table>
<table cellspacing="0" cellpadding="0" border="0" width="754" align="center">
<form method="post" action="article.jsp">
<tr><td bgcolor="#009ACE">
<table border="0" cellspacing="1" cellpadding="6" width="100%">
<tr bgcolor="#9CCFFF">
<td colspan="2">文章搜索</td>
</tr>
<tr bgcolor="#F7FBFF">
<td width="22%">關(guān) 鍵 字:</td>
<td>
<input type="text" name="key" size="30" maxlength="40" /></td>
</tr>
<tr bgcolor="#F7FBFF">
<td width="22%">搜索用戶:</td>
<td>
<input type="text" name="user" size="30" maxlength="40" /></td>
</tr>
<tr bgcolor="#F7FBFF">
<td width="22%">搜索論壇:</td>
<td>
<select name="board">
<option value="all">所有</option>
<jsp:useBean id="yy" scope="page" class="yy.jdbc"/>
<%
Connection con=yy.getConn();
Statement stmt=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
ResultSet rs=null;
String sql="select 論壇id,論壇名稱 from 論壇欄目";
rs=stmt.executeQuery(sql);
while (rs.next())
{
out.println("<option value="+rs.getString("論壇id")+">"+rs.getString("論壇名稱")+"</option>");
}
%>
</select></td>
</tr>
<tr bgcolor="#F7FBFF">
<td width="22%">搜索時間:</td>
<td>
<select name="time" size="1">
<option value="1">最近一天</option>
<option value="5">最近5天</option>
<option value="10">最近10天</option>
<option value="30">最近30天</option>
<option value="365">最近1年</option>
<option value="0" selected>所有時間</option>
</select></td>
</tr>
<tr bgcolor="#F7FBFF">
<td width="22%">搜索范圍:</td>
<td class="tablerow">
<input type="radio" name="area" value="content">內(nèi)容 <input type="radio" name="area" value="title">標(biāo)題 <input type="radio" name="area" value="both" checked>兩者都有</td>
</tr>
</table>
</td></tr></table>
<center><input type="submit" name="searchsubmit" value="文章搜索" /></center>
</form>
<jsp:include page="inc/jumpboard.jsp" flush="true"/>
</body></html>
<html><script language="JavaScript"></script></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -