<!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="2012-2032 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 after" id="cates">
        <div class="wrapper">
            <h1 class="title">{$cate:name}</h1>
            <h2 class="subtitle">{$cate:subname}</h2>
            {cate parent_id="{$cate:parent_id}"}
            <ul>
                {cate:loop}<li {if:OW.trim("{$page:cate_id}")=OW.trim("[cate:cate_id]")}class="current"{/if}><a href="[cate:link]#cates">[cate:name]</a></li>{/cate:loop}
            </ul>
            {/cate}
        </div>
    </div>
    
    <div class="ow-content-type after" id="type_section">
        <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">
            {content top="20000" cate_id="{$cate:cate_id}" list_by_type="{$cate:list_by_type}" model="case" orderby="a.cid desc"}
            <ul class="after">
                {content:loop}
                <li class="li[content:i]" name="item">
                    <div class="thumb"><a href="[content:link]" title="[content:title]" target="_blank"><img src="{if:OW.isNul("[content:thumbnail]")}../images/news_none_pic.png{else}[content:thumbnail]{/if}" alt="[content:title]"><i class="play"></i></a></div>
                    <div class="info">
                        <h3 class="title"><a href="[content:link]" title="[content:title]" target="_blank">[content:title]</a></h3>
                    </div>
                </li>
                {/content:loop}
            </ul>
            <div class="pager">[content:pages pagesize="20"]</div>
            {/content}
        </div>
    </div>
    
</div>
<script type="text/javascript">
$(document).ready(function(){
	OW.client.typeInit({section:$("#type_section")});
});
</script>
<!--#include file="include.footer.html"-->
</body>
</html>
