<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
<title>${f:h(displayQuery)} - <bean:message
		key="labels.search_title" /></title>
<link href="${f:url('/css/style-base.css')}" rel="stylesheet"
	type="text/css" />
<link href="${f:url('/css/style.css')}" rel="stylesheet"
	type="text/css" />
<link rel="stylesheet"
	href="${f:url('/css/smoothness/jquery-ui-1.8.20.css')}" type="text/css"
	media="all" />
<link rel="stylesheet" href="${f:url('/css/jquery.multiselect.css')}"
	type="text/css" media="all" />
<script type="text/javascript" src="${f:url('/js/jquery-1.7.2.min.js')}"></script>
<script type="text/javascript"
	src="${f:url('/js/jquery-ui-1.8.20.min.js')}"></script>
<script type="text/javascript"
	src="${f:url('/js/jquery.multiselect.js')}"></script>
</head>
<body>
	<jsp:include page="header.jsp" />
	<div class="container">
		<div class="content">
			<c:if test="${fe:hswsize(null) != 0}">
				<div class="span16">
					<p class="hotSearchWordBody">
						<bean:message key="labels.search_hot_search_word" />
						<c:forEach var="item" items="${fe:hsw(null, 5)}">
							<html:link href="search?query=${f:u(item)}">${f:h(item)}</html:link>
						</c:forEach>
					</p>
				</div>
			</c:if>
			<c:choose>
				<c:when test="${f:h(allRecordCount) != 0}">
					<jsp:include page="searchResults.jsp" />
				</c:when>
				<c:otherwise>
					<jsp:include page="searchNoResult.jsp" />
				</c:otherwise>
			</c:choose>
		</div>
		<jsp:include page="footer.jsp" />
	</div>
	<script type="text/javascript" src="${f:url('/js/search.js')}"></script>
</body>
</html>
