⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 search.jsp

📁 JAVA+JSP程序系统-华源网络科技论坛
💻 JSP
字号:
<%@ taglib uri="techbbs.tld" prefix="mt" %>
<%@ page contentType="text/html;charset=gb2312"%>
<jsp:useBean id="info" scope="page" class="org.jetic.web.techbbs.Information" />
<jsp:setProperty name="info" property="*" />
<%info.online(request.getRemoteAddr(),session,"搜索文章");%>
<%@ include file="header.inc.jsp" %>
<%@ include file="other.jsp" %>
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolordark="#FFFFFF" bordercolorlight="#000000">
  <tr>
    <td bgcolor="#DDDDDD">
      <a href="index.jsp">华源技术论坛</a> 
      <%@ include file="link.inc" %>      
    </td>
  </tr>
</table>
<form class="form" action="search.jsp" method="post">
    标题:<input type=text name=title size=12 value="<%=info.gettitle()%>">
    作者:<input type=text name=writer size=12 value="<%=info.getwriter()%>">
    内容:<input type=text name=content size=12 value="<%=info.getcontent()%>"> 
    <input type=submit value="GO">
</form>
<table width="100%" border="0">
  <tr bgcolor="#DDDDDD">
    <td align=center width=50%>标题</td>
    <td align=center>作者</td>
    <td align=center>发表时间</td>
    <td align=center>讨论区</td>
  </tr>
  <% if (!(info.gettitle().equals("")&&info.getwriter().equals("")&&info.getcontent().equals(""))) {%>
  <mt:Searchlist title="<%= info.gettitle() %>" writer="<%= info.getwriter() %>" content="<%= info.getcontent() %>">
  <%
  int link;
  if (topic>0) link=topic;
  else link=articleID;
  %>
  <tr bgcolor="#F5F5F5">
    <td align=center><a href="content.jsp?boardID=<%=boardID%>&articleID=<%=link%>"><%= title %></a></td>
    <td align=center><%= writer %></td>
    <td align=center><%= time %></td>
    <td align=center><a href="Topic.jsp?boardID=<%=boardID%>"><%= info.boardname(boardID) %></a></td>
  </tr>
  </mt:Searchlist>
  <%}%>
</table>
<%@ include file="footer.inc" %>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -