<!doctype html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="keywords" content="{% block keywords %}{{ cover('site','keywords') }}{% endblock %}">
    <meta name="description" content="{% block description %}{{ cover('site','description') }}{% endblock %}">
    <title>{% block title %}{{ cover('site','title') }}{% endblock %}</title>
    <link rel="stylesheet" href="{{ asset('share/css/sui.min.css') }}">
    <link rel="stylesheet" href="{{ asset('share/css/front.css') }}">
    <link rel="stylesheet" href="{{ asset('share/css/responsive.css') }}">
    <link rel="stylesheet" href="{{ asset('app/libs/fotorama/fotorama.css') }}">
    <script type="text/javascript" src="{{ asset('share/js/jquery.min.js') }}"></script>
    {% block head %}{% endblock %}
</head>
<body {% block body %}{% endblock %}>
{#nav start#}
<div class="sui-navbar navbar-inverse cv-inner-peak">
    <div class="navbar-inner">
        <div class="sui-container">
            <a href="{{ cover('site','domain') }}" class="sui-brand"> <img src="{{ cover('site','mini_logo') }}"></a>
            <ul class="sui-nav">
                <li><a href="{{ cover('site','domain') }}">首页</a></li>
                {% for cat in cover('category') %}
                    <li><a {% if cat.c_type==0 %}target="_blank" {% endif %} href="{{ cat.url }}">{{ cat.title }}</a></li>
                {% endfor %}
            </ul>

            <form action="{{ url('app/search/index',{'t':'art'}) }}" class="sui-form sui-form pull-right">
                <input name="k" style="border-radius: 0;" type="text" placeholder="搜索...">
                <button class="sui-btn btn-primary">搜索</button>
            </form>
        </div>
    </div>
</div>
{#nav end#}

{#container start#}
{% block container %}{% endblock %}
{#container end#}

{#footer start#}
<div class="cv-footer">
    <div class="cv-footer-nav">
        <div class="sui-container">
            <div class="sui-row cv-mt-15">
                <div class="span3">
                    <div class="cv-bottom-brand">
                        <a href="{{ cover('site','domain') }}"><img src="{{ cover('site','logo') }}" style="opacity: .9"></a>
                    </div>
                    {% set com_info = cover('site','company_info') %}
                    <ul class="cv-footer-contact">
                        <li>公司地址：{{ com_info.addr }}</li>
                        <li>客服热线：{{ com_info.tel }}</li>
                        <li>服务邮箱：{{ com_info.email }}</li>
                        <li>{{ cover('site','domain') }}</li>
                    </ul>
                </div>

                {% for bc in cover('category',{'parent_id':0,'limit':4}) %}
                    <div class="span2 cv-footer-bottom-nav">
                        <ul class="sui-nav nav-list">
                            <li class="nav-header"><a  href="{{ bc.url }}">{{ bc.title }}</a></li>
                            {% for c in cover('category',{'parent_id':bc.id,'limit':5}) %}
                                <li><a href="{{ c.url }}">{{ c.title }}</a></li>
                            {% endfor %}
                        </ul>
                    </div>
                {% endfor %}
            </div>
        </div>
    </div>
    <div class="cv-copyright sui-navbar navbar-inverse">
        <div class="navbar-inner">
            <div class="sui-container">
                <a href="{{ cover('site','domain') }}" class="sui-brand"><img src="{{ cover('site','mini_logo') }}" style="height: 28px;opacity: .9"></a>
                <ul class="sui-nav">
                    {% for l in cover('category',{'parent_id':28}) %}
                        <li><a href="{{ l.url }}">{{ l.title }}</a></li>
                    {% endfor %}
                </ul>
                <ul class="sui-nav pull-right">
                    <li><a href="{{ cover('site','domain') }}">{{ cover('site','copyright') }}</a></li>
                    <li><a href="http://www.miibeian.gov.cn" target="_blank">{{ cover('site', 'beian') }}</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
{#footer end#}

<script type="text/javascript" src="{{ asset('share/js/sui.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('app/libs/fotorama/fotorama.js') }}"></script>
{% block js %}{% endblock %}
</body>
</html>