📄 supersearch.jsp
字号:
<%@page contentType="text/html; charset=GBK" import="netshop.util.*"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@taglib uri="/WEB-INF/struts-nested.tld" prefix="nested"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-template.tld" prefix="template"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<logic:messagesPresent>
<script type="" language="javascript">
<html:messages id="error">
alert("<bean:write name="error"/>");
</html:messages>
</script>
</logic:messagesPresent>
<TABLE height=5 cellSpacing=0 cellPadding=0 width="98%" bgColor=#ffffff
border=0>
<TBODY>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=581 border=0>
<html:form action="/showItemsAction">
<TBODY>
<TR>
<TD height=41><html:img width="581" height="41" border="0"
page="/images/s-0.gif" /></TD>
</TR>
<TR>
<TD align="center" background="<%=request.getContextPath()%>/images/s-1.gif">
<TABLE cellSpacing=0 cellPadding=5 width="90%" border=0>
<TBODY>
<TR>
<TD align=right width=100><bean:message key="search.keyword" /></TD>
<TD width=200><html:text property="keyword" /></TD>
<TD width=223> </TD>
</TR>
<TR>
<TD align=right width=100></TD>
<TD width=423 colSpan=2><FONT color=#808080> <bean:message
key="search.keyword.advice" /> </FONT></TD>
</TR>
<TR>
<TD align=right width=100><bean:message
key="search.select.category" /></TD>
<%pageContext.setAttribute("categories", application.getAttribute(Constants.CATEGORY_CONTAINER_KEY)); %>
<TD width=423 colSpan=2><html:select property="categoryId">
<html:option value="0" key="search.select.all.categories" />
<html:options collection="categories" property="id"
labelProperty="name" />
</html:select></TD>
</TR>
<TR>
<TD align=right width=100><bean:message key="search.price.range" />
</TD>
<TD width=423 colSpan=2><html:text property="lowerPrice" size="3" />
- <html:text property="higherPrice" size="3" /> <FONT
color=#808080> <bean:message key="search.price.advice" /> </FONT>
</TD>
</TR>
<TR>
<TD width="100%" colSpan=3> </TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<TR>
<TD height=86><html:img width="581" height="86" border="0"
page="/images/s-2.gif" /></TD>
</TR>
<TR>
<TD align="center" background="<%=request.getContextPath()%>/images/s-1.gif">
<TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
<TBODY>
<TR>
<TD align=right width=100 height=30><bean:message
key="search.order.pattern" /></TD>
<TD width=423 height=30><html:select property="orderId" size="1">
<html:option value="0" key="search.order.default" />
<html:option value="1" key="search.order.by.price.asc" />
<html:option value="-1" key="search.order.by.price.desc" />
<html:option value="2" key="search.order.by.update.time" />
</html:select></TD>
</TR>
<TR>
<TD align=right width=100 height=30><bean:message
key="search.quantity.per.page" /></TD>
<TD width=423 height=30><html:select property="itemCountPerPage"
size="1">
<html:option value="10">10</html:option>
<html:option value="25">25</html:option>
<html:option value="50">50</html:option>
</html:select></TD>
</TR>
<TR>
<TD width=100 height=30></TD>
<TD width=423 height=30><html:submit
style="WIDTH: 107px; HEIGHT: 23px">
<bean:message key="search.submit" />
</html:submit></TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<TR>
<TD height=17><html:img width="581" height="17" border="0"
page="/images/s-3.gif" /></TD>
</TR>
</html:form>
</TBODY>
</TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -