<%/*[comment]标记查询页[/comment]*/%>
<%@page pageEncoding="UTF-8"%>
<%@page trimDirectiveWhitespaces="true"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="gen" uri="http://help.jspgen.com/taglib/jstl"%>
<%@taglib prefix="cms" uri="http://help.jspgen.com/taglib/jstl/cms"%>
<!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=utf-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1" />
<title>搜索 ${config.title}</title>
<meta name="keywords" content="网站建设,网站设计,JavaCMS,JSPGenCMS,内容管理系统" />
<meta name="description" content="一款基于JSPGen框架所研发的内容管理系统，具有：安全稳定、模板标记少、扩展灵活等特点。" />
<link rel="shortcut icon" href="${config.statie}images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="${config.statie}ui/cms/view/images/jspgencms.css" />
<link rel="alternate" type="application/rss+xml" title="${config.title}" href="${config.dynamie}cms/api.gen" />
</head>
<body>
<center>
  <jsp:include page="header.jsp" />
  <table width="1000" border="0" align="center" cellpadding="0" cellspacing="5" bgcolor="#FFFFFF">
    <tr>
      <td valign="top" height="350"><div class="bk bg4">
          <h2>搜索结果</h2>
          <div class="text_list">
            <ul>
              <gen:if test="${not empty paramx.keyword}">
                <cms:list var="content" varPager="pager" find="title" keyword="${paramx.keyword}" pattern="yyyy-MM-dd" size="20">
                  <li><span>${content.dateTime}</span><a href="${content.url}">${gen:substring(content.title, 100, "…")}</a></li>
                </cms:list>
              <gen:else />
                <li>请输入关键字</li>
              </gen:if>
            </ul>
            <div class="pages">
              <form name="search" method="post" action="?">
                <input type="hidden" name="keyword" value="${paramx.keyword}" />
                <input type="submit" name="button" value="提交" style="display:none;" />
                <jsp:include page="pager.jsp" />
              </form>
            </div>
          </div>
        </div></td>
    </tr>
  </table>
  <jsp:include page="footer.jsp" />
</center>
</body>
<script type="text/javascript" src="${config.statie}js/jquery.js"></script>
<script type="text/javascript" src="${config.statie}js/jquery.grapes.js"></script>
<script type="text/javascript" src="${config.statie}js/jquery.feed.js"></script>
<script type="text/javascript" src="${config.statie}js/jquery.s2t.js"></script>
<script type="text/javascript" src="${config.statie}ui/js/jspgen.js"></script>
<script type="text/javascript" src="${config.statie}ui/js/jspgen.ajax.js"></script>
<script type="text/javascript" src="${config.statie}ui/cms/js/jspgencms.js"></script>
<script type="text/javascript" src="${config.statie}ui/cms/js/jspgencms.ajax.js"></script>
<script type="text/javascript" src="${config.statie}ui/cms/js/jspgencms.ready.js"></script>
<script type="text/javascript">
$(document).ready(function () {
	setnav('.nav li', '#nav_find', 'hover');
});
</script>
</html>