<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$title}</title>
    <meta name="keywords" content="{$keywords}" />
    <meta name="description" content="{$description}" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"/>
    <meta name="format-detection" content="telephone=no, email=no">
    <meta name="apple-mobile-web-app-title" content="{$site_name}" />
    <meta name="generator" content="openwbs {$version}" />
    <meta name="author" content="openwbs team" />
    <meta name="copyright" content="2019-2039 OpenWBS Inc." />
    <!--#include file="include.css.html"-->
    <link rel="stylesheet" href="../css/om.artice.css?v={$version_sn}" />
</head>
<body>
<!--#include file="include.header.html"-->

<section class="mbody">
    <h1 class="ow-search-header">{$search:keyword}<span>相关内容</span></h1>
    <div class="ow-artice-list">
        {content top="20000" keyword="{$search:keyword}"}
        <div class="after">
            <ul>
            {content:loop}
                <li class="li[content:i]">
                    <h3 class="title"><a href="[content:link]">[content:title]</a></h3>
                    <div class="entry"><span class="datetime"><%=OW.formatDateTime("[content:post_time]",2)%></span><span class="tags">{tags cid="[content:cid]"}{tags:loop}<a href="[tags:link]" target="_blank">[tags:tag]</a>{/tags:loop}{/tags}</span></div>
                    <div class="summary">[content:summary]<span class="raquo"><a href="[content:link]" target="_blank">»</a></span></div>
                </li>
            {/content:loop}
            </ul>
        </div>
        <div class="pager">[content:pages pagesize="30" pagetpl="{prev}{current}{next}"]</div>
        {/content}
    </div>
</section>
<script type="text/javascript">
$(window).ready(function(){
	var keyword = "{$search:keyword}";
	if(!OW.isNull(keyword)){
		$("#search_result li a").each(function(){
			var text = $(this).html();
			if(text.indexOf(keyword)>-1){
				text = OW.reps(text,keyword,'<font class="keywords">'+keyword+'</font>');
			};
			$(this).html(text);
		});
	};
});
</script>

<!--底部-->
<!--#include file="include.footer.html"-->

</body>
</html>
