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

📄 searchnewpost.jsp

📁 LyBBS基于Struts1.3/Ajax的架构
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="common/include/taglibs.jsp" %>
<html:html>
<bean:define id="selectDate" name="selectDate" type="java.lang.Byte"/>
<head>
<title><lybbs:web key="forumName"/></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<%@ include file="common/include/header.jsp" %>
</head>
<body topmargin=0 leftmargin=0>
<TABLE class=tableCommonStyle cellSpacing=1 cellPadding=3 border=0 align=center>
 <TR>
  <TD height=4 class=bgStyle></TD>
 </TR>
 <TR>
  <TD class=noBgStyle>
    <lybbs:typeAdTag/>
  </TD>
 </TR>
 <TR>
  <TD height=4 class=bgStyle></TD>
 </TR>
 <tr>
  <td class=menuStyle height=22>
    <table width=100% cellpadding=0 cellspacing=0 border=0>
    <tr>
    <td align=left>
    <lybbs:typeUserHeaderTag forumID="0"/>
    </td>
    <td align=right>
      <lybbs:web key="returnHomeLink"/>
    </td>
    </tr>
    </table>
  </td>
 </tr>
</table>
<br>
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
 <tr>
  <td class=navStyle vAlign=center height=25>
    <img src="lybbs/images/forum_nav.gif" width="9" height="9" align="absMiddle"> <a href="bbs_index.do"><lybbs:web key="forumName"/></a> <bean:message key="common.lybbs.arrow"/> <bean:message key="jsp.search.list"/>
  </td>
 </tr>
</table>
<br>
  
<table class=tableNoBgStyle cellpadding=1 cellspacing=0 align=center>
 <form action="bbs_userControlPanel.do" method="post" name="myform">
 <input type=hidden name=action value="searchNewPost">
 <tr>
  <td align=right>
    <select name="selectDate">
      <option value="1">1<bean:message key="jsp.register.day"/></option>
      <option value="2">2<bean:message key="jsp.register.day"/></option>
      <option value="3">3<bean:message key="jsp.register.day"/></option>
      <option value="4">4<bean:message key="jsp.register.day"/></option>
      <option value="5">5<bean:message key="jsp.register.day"/></option>
      <option value="6">6<bean:message key="jsp.register.day"/></option>
      <option value="7">7<bean:message key="jsp.register.day"/></option>
      <option value="8">8<bean:message key="jsp.register.day"/></option>
    </select>
    &nbsp;<input type=submit name=submit value="<bean:message key="common.lybbs.search"/>">
    <script language=JavaScript>
      setCurrentSelect(document.myform.selectDate,"<%=selectDate%>");
    </script>
  </td>
 </tr>
 </form>
</table>
  
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
 <tr>
  <td class=forumColorOne valign=middle align=center><b><bean:message key="common.lybbs.title"/></b></td>
  <td class=forumColorOne valign=middle align=center width=15%><b><bean:message key="jsp.search.result.forumname"/></b></td>
  <td class=forumColorOne valign=middle align=center width=13%><b><bean:message key="common.lybbs.author"/></b></td>
  <td class=forumColorOne valign=middle align=center width=13%><b><bean:message key="tag.typetopiclisttag.post.postat"/></b></td>
  <td class=forumColorOne valign=middle align=center width=15%><b><bean:message key="jsp.search.keyword"/></b></td>
  </tr>
  <nested:iterate id="element" name="searchListBean">
  <tr>
    <td class=forumColorTwo valign=middle>
    <nested:equal name="element" property="parentID" value="0">
      <B><a href=bbs_topic.do?forumID=<nested:write name="element" property="forumID"/>&postID=<nested:write name="element" property="postID"/>><nested:write name="element" property="title"/></a></B>
    </nested:equal>
    <nested:notEqual name="element" property="parentID" value="0">
      <B><a href=bbs_topic.do?forumID=<nested:write name="element" property="forumID"/>&postID=<nested:write name="element" property="parentID"/>&replyID=<nested:write name="element" property="postID"/>&skin=1><nested:write name="element" property="title"/></a></B>
    </nested:notEqual>
    </td>
    <td class=forumColorTwo valign=middle>
    <nested:present name="element" property="forum">
      <a href=bbs_forum.do?forumID=<nested:write name="element" property="forum.forumID"/>><nested:write name="element" property="forum.forumName"/></a>
    </nested:present>
    </td>
    <td class=forumColorTwo valign=middle align=center>
      <nested:write name="element" property="author"/>
    </td>
    <td class=forumColorTwo valign=middle align=center>
      <nested:write name="element" property="postAt"/>
    </td>
    <td class=forumColorTwo valign=middle align=center>
    <b>
      <bean:write name="searchString"/>
    </b>
    </td>
 </tr>
 </nested:iterate>
 <tr>
  <td class=forumColorOne colspan=5>
    <bean:write name="pageUtils" property="pageInfo" filter="false"/>
  </td>
 </tr>
</table>

<br>
<lybbs:web key="foot"/>
</body>
</html:html>

⌨️ 快捷键说明

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