<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{$title}</title>
<meta name="keywords" content="{$keywords}" />
<meta name="description" content="{$description}" />
<meta name="generator" content="OpenWBS {$version}" />
<meta name="author" content="OpenWBS Team" />
<meta name="copyright" content="2008-2020 OpenWBS Inc." />
<!--#include file="include.css.html"-->
<link rel="stylesheet" href="../css/ow.case.css?v={$version_sn}" />
</head>
<body>
<!--头部-->
<!--#include file="include.header.html"-->

<div class="ow-banner">{ad id="2" type="html"}</div>

<!--主内容区-->
<div id="mbody">
    <div class="ow-breadcrumb"><div class="wrapper">{$breadcrumb}</div></div>
    
    <div class="ow-case-header">
        <div class="wrapper">
            <h1 class="title"><span>{$cate:name}</span></h1>
            {cate parent_id="{$cate:cate_id}"}
            <ul>
                {cate:loop}<li {if:OW.trim("{$page:cate_id}")=OW.trim("[cate:cate_id]")}class="current"{/if}><a href="[cate:link]">[cate:name]</a></li>{/cate:loop}
            </ul>
            {/cate}
        </div>
    </div>
    <div class="clear"></div>
    
    <div class="ow-content-type" id="type_section">
        <div class="type-header">筛选</div>
        <div class="type-section">
            {typeattr type_cate_id="{$cate:type_cate_id}"}
            {typeattr:loop}
            <div class="type-line" i="[typeattr:i]">
                <div class="type-attr">[typeattr:type_attr_name]：</div>
                <div class="type-value">
                    <ul class="type-value-list">
                    <li><a href="[typeattr:link]" name="typeattr" type_attr_id="[typeattr:type_attr_id]" target="_self">不限</a></li>
                    {ctype type_attr_id="[typeattr:type_attr_id]"}
                    {ctype:loop}
                    <li><a href="[ctype:link]" name="ctype" type_id="[ctype:type_id]" target="_self">[ctype:type_name]</a></li>
                    {/ctype:loop}
                    {/ctype}
                    </ul>
                </div>
            </div>
            {/typeattr:loop}
            {/typeattr}
        </div>
    </div>
    
    <!--内容列表-->
    <div class="ow-case-list">
        <div class="wrapper">
            <div class="section">
                {content top="20000" cate_id="{$cate:cate_id}" list_by_type="{$cate:list_by_type}" model="case" orderby="a.cid desc"}
                <ul>
                    {content:loop}
                    <li class="li[content:i]">
                        <div class="thumb"><a href="[content:link]"><img src="[content:thumbnail]" alt="[content:title]" title="[content:title]" /></a></div>
                        <div class="info">
                            <div class="title"><a href="[content:link]">[content:title]</a></div>
                            <div class="summary"><%=OW.leftString("[content:summary]",60)%><span class="raquo"><a href="[content:link]" target="_blank">»</a></span></div>
                        </div>
                    </li>
                    {/content:loop}
                </ul>
                <div class="pager">
                    [content:pages pagesize="20"]
                </div>
                {/content}
            </div>
        </div>
    </div>
    
</div>
<script type="text/javascript">
$(document).ready(function(){
	OW.client.typeInit({section:$("#type_section")});
});
</script>
<!--底部-->
<!--#include file="include.footer.html"-->
</body>
</html>
