📄 catalogsearch.jsp
字号:
<?xml version="1.0" encoding="gb2312" ?><%@ page language="java" contentType="text/html; charset=gb2312" pageEncoding="gb2312"%><%@ page import="com.eline.wap.common.util.*"%>
<%@ taglib uri="/WEB-INF/tlds/eline-common.tld" prefix="common" %>
<%@ taglib uri="/WEB-INF/tlds/eline-catalog.tld" prefix="catalog" %>
<%
String searchKey = (String) request.getParameter("searchKey");
if (searchKey == null || searchKey.equals(""))
searchKey = "UNDEFINED";
int type = StringUtils.getInt(request.getParameter("type"), -1);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>catalogSearch</title><link href="../../style/default.css" type="text/css" rel="stylesheet" />
<link href="../jsp_client/flyoutmenu/flyoutmenu.css" type="text/css" rel="stylesheet" />
<style type="text/css">
form { MARGIN: 0px 0px 0px 0px }
</style>
<jsp:include page="../common/menuData_inc.jsp" flush="true"/>
<script language="javascript" id="clientEventHandlersJS">
<!--
function formSearch_onsubmit() {
if (document.all["searchKey"].value.length < 1) {
window.alert("请输入您要搜索的关键字");
return false;
}
return true;
}
function picturePreview_onclick(indexId) {
var dlgUrl = "../common/modalDialog.htm";
var arguments = "<%=SiteUrls.getInstance().getProperty(SiteUrls.CATALOG_PICTURE_PREVIEW)%>?catalogId=" + indexId;
var features = "dialogHeight: 440px; dialogWidth: 410px; help: No; center: Yes; resizable: No; status: No;";
var returnValue = window.showModalDialog(dlgUrl, arguments, features);
}
-->
</script>
</head><body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">
<table cellpadding="0" width="100%">
<tr>
<td colspan="2"><jsp:include page="../common/banner_inc.jsp" flush="true"/></td>
<tr>
<td valign="top" style="width: 180px" bgcolor="#f0f0f0">
<jsp:include page="../common/menuBody_inc.jsp" flush="true"/>
</td>
<td valign="top">
<table cellspacing="1" width="100%" border="0">
<tr><td><b>目录搜索</b></td>
<td align="right">
<form style="MARGIN: 0px 0px 0px 0px" name="formSearch" action="<%=SiteUrls.getInstance().getProperty(SiteUrls.CATALOG_SEARCH) %>" method="post" onsubmit="return formSearch_onsubmit()">
查找目录:<input name="searchKey" type="text" maxlength="50" width="180" value="<%=searchKey %>" />
类别:<select name="type">
<option value="-1" <%=type == -1 ? "selected" : ""%>>全部</option>
<option value="0" <%=type == 0 ? "selected" : ""%>>目录</option>
<option value="1" <%=type == 1 ? "selected" : ""%>>单项</option>
</select>
<input type="submit" name="ButtonSearch" value="搜索" class="button2w" />
</form>
</td>
</tr>
</table>
<span style="font-size: 2px"> <br />
</span>
<table cellspacing="1" width="100%" border="0">
<tr>
<td>
<catalog:catalogList pageItems="99" activeOnly="0" searchKey="<%=searchKey%>" type="<%=type%>">
<table width="100%" class="tableBorder" cellpadding="1" cellspacing="1">
<tr>
<td class="tableHeader" width="25"><input type="checkbox" disabled checked /></td>
<td class="tableHeader" nowrap>标题</td>
<td class="tableHeader" width="100">类别</td>
<td class="tableHeader" width="50">状态</td>
<td class="tableHeader" width="120">更新时间</td>
</tr>
<common:items>
<tr>
<td class="tableRow"><input type="checkbox" name="CheckGroup" value="<catalog:catalogAttribute name="id" />" /></td>
<td class="tableRow"><a title="进入" href="<catalog:catalogAttribute name="catalogSearchURL" />"><catalog:catalogAttribute name="displayTitle" /></a>
[<a href="<catalog:catalogAttribute name="catalogSearchParentURL" />">打开父级目录</a>]</td>
<td class="tableRow"><catalog:catalogAttribute name="listAttributeStr" /></td>
<td class="tableRow"><catalog:catalogAttribute name="statusStr" /></td>
<td class="tableRow"><catalog:catalogAttribute name="lastUpdate" /></td>
</tr>
</common:items>
</table>
</catalog:catalogList>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="BORDER-TOP: #999999 1px solid">
<table align="center" style="height: 50px" width="100%">
<tr>
<td><jsp:include page="../common/copyright_inc.jsp" flush="true"/></td>
</tr>
</table></td>
<tr>
</table>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -