<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

<%@ page import = "cn.com.dekn.cms.util.*,cn.com.dekn.common.util.*" %>

<%
/***********************************
* 显示特性参数初始化
***********************************/
//搜索结果显示页
String SEARCH_RESULT_PAGE = ParamUtil.getStrParam(request,"SEARCH_RESULT_PAGE","SearchResult.jsp"); 

//打开方式　与html中<a>的target属性相同
String TARGET = ParamUtil.getStrParam(request,"TARGET","");

//网站群节点ID
String NODE_ID = ParamUtil.getStrParam(request,"NODE_ID","root");

//网站群节点参数
String CLUSTER_URL_PARAM = "";
if(null != request.getParameter("cluster_node_id")){
	CLUSTER_URL_PARAM = "cluster_node_id=" + cn.com.dekn.common.util.StrUtil.encodeHTML(request.getParameter("cluster_node_id").toString());
}

/***********************************
* CSS样式 参数初始化
***********************************/
//CSS样式
String CSS = ParamUtil.getStrParam(request,"CSS","");

//查询提示标题
String TEXT_TITLE = ParamUtil.getStrParam(request,"TEXT_TITLE","站内查询");
%>

<table width="542" border="0" cellspacing="0" cellpadding="0">
	<tr class="<%=CSS%>">
			<form action="" method="post" name="CMS4JSearchForm" id="CMS4JSearchForm"  onSubmit="return false;" target="<%=TARGET%>">
		  		<td width="65" align="right"><%=TEXT_TITLE%></td>
		  		<td width="413" align="center">
		  		<input name="SEARCH_WORD" type="text" id="SEARCH_WORD" onKeyPress="if(event.keyCode == 13){location.href='<%=SEARCH_RESULT_PAGE%>?s=' + document.CMS4JSearchForm.SEARCH_WORD.value; + '&<%=CLUSTER_URL_PARAM%>'}" value="${param.key_word}" style="width:90%" />
		  		
	  		  </td>
		  		<td width="64" align="center"><input type="button" name="Submit3" value="搜 索"  onClick="location.href='<%=SEARCH_RESULT_PAGE%>?s=' + document.CMS4JSearchForm.SEARCH_WORD.value; + '&<%=CLUSTER_URL_PARAM%>'"></td>
		  </form>
	</tr>
</table>