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

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

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

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

//网站群节点ID
String NODE_ID = StrUtil.getNotNullStringValue(request.getParameter("NODE_ID"),"root");

//网站群节点参数
String CLUSTER_URL_PARAM = "";
if(null != request.getParameter("cluster_node_id")){
	CLUSTER_URL_PARAM = "cluster_node_id=" + request.getParameter("cluster_node_id");
}

/***********************************
* CSS样式 参数初始化
***********************************/
//CSS样式
String CSS_TITLE = StrUtil.getNotNullStringValue(request.getParameter("CSS_TITLE"),"");
%>

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
	<form action="<%=SEARCH_RESULT_PAGE%>?<%=CLUSTER_URL_PARAM%>" name="article_search" target="<%=TARGET%>" method="post" id="article_search">
	  <tr>
		<td width="17%" align="center" class="<%=CSS_TITLE%>">站 内 搜 索</td>
		<td width="31%"><input name="SEARCH_WORD" type="text" id="SEARCH_WORD" style="width:96% "></td>
		<td width="41%">
			  <jsp:include page="../class/select_1.jsp">
			  	<jsp:param name="CSS" value="form_select"></jsp:param>
				<jsp:param name="NODE_ID" value="<%=NODE_ID%>"></jsp:param>
			  </jsp:include>
		  <select name="SEARCH_TYPE" id="SEARCH_TYPE">
			<option value="title" selected>搜索标题</option>
			<option value="content">搜索正文</option>
			<option value="all">搜索标题+正文</option>
			  </select></td>
		<td width="11%" align="center"><input name="imageField" type="image" src="images/go.gif" width="40" height="22" border="0"></td>
	  </tr>
	</form>
</table>