<include file="Public/header" />
<body>
<include file="Public/menu" />

<div class="static_banner">
    <div class="container">
    </div>
</div>
<div class="container ">
    <!-- 面包屑导航 start-->
    <div class="mini-nav app_type-hide">
        <include file="Public/top_share" />
        <ul class="breadcrumb">
            <li><a href="/">首页</a></li>
            <li class="active">{$currectCategory.category|default='全部'}</li>
        </ul>
    </div>
    <!-- 面包屑导航 end-->

    <!-- 分类模块 start -->
    <div class="app-type">
        <div class="row app-type_block">
            <div class="app_type_line">
                <strong class="col-md-1 app_type-hide">分类</strong>
                <p class="tag_list col-md-11">
                    <volist name="categoryList" id="category">
                        <if condition="$category.id eq $paramCategory">
                            <span class="label label_active"><a href='<?php echo U($category["url"]);?>'>{$category.category}</a></span>
                            <else />
                            <span class="label"><a href='<?php echo U($category["url"]);?>'>{$category.category}</a></span>
                        </if>
                    </volist>
                </p>
            </div>
        </div>
    </div>
    <!-- 分类模块 end -->

    <div cass="app-list">
        <!--   	列表表头 -->
        <div class="row app-list_title app_type-hide">
            <div class="col-md-9 app-list_count">
                <if condition="$paramCategory.category neq ''">
                    <em>"</em><strong>{$currectCategory.category}</strong><em>"</em>
                </if>
                共<cite>{$programListCount}</cite>个小程序
            </div>
            <div class="col-md-3">
                <div class="row app-type_time">
                    <div class="col-md-6">分类</div>
                    <div class="col-md-6">创建时间</div>
                </div>
            </div>
        </div>
        <!--   	列表行 -->
        <volist name="programList" id="program">
            <div class="row app-list_row">
                <div class="col-md-9">
                    <div class="media">
                        <a class="media-left" href="{:U('index/detail',array('id'=>$program['id']))}" target="_blank">
                            <img class="media-object" alt="{$program.name}" src="{$program.logo}">
                        </a>
                        <div class="media-body">
                            <h4 class="media-heading"><a href="{:U('index/detail',array('id'=>$program['id']))}" target="_blank">{$program.name}</a></h4>
                            <p>{$program.introduce}</p>
                            <p class="tag_list app_type-hide">
                                <volist name="program.label" id="label">
                                    <span class="label label-default"><a href="{:U('/index/taglist',array('tag'=>$label['id']))}" target="_blank">{$label.name}</a></span>
                                </volist>
                            </p>
                        </div>
                    </div>
                </div>
                <div class="col-md-3 app_type-hide">
                    <div class="row app-type_time">
                        <div class="col-md-6"><a href="{:U('index/index',array('category'=>$program['category']['id']))}">{$program.category.category|default=''}</a></div>
                        <div class="col-md-6">{$program.ptm}</div>
                    </div>
                </div>
            </div>
        </volist>

        <!-- 分页 start -->
        <if condition="$programListCount gt 0">
            <nav>
                <ul class="pagination">
                    <li><a href="<?php echo $prePageUrl;?>">&laquo;</a></li>
                    <volist name="programPage" id="page">
                        <if condition="$page.currect neq '1'">
                            <li><a href='<?php echo U($page["url"]);?>'>{$page.title}</a></li>
                            <else />
                            <li class="active"><a href='<?php echo U($page["url"]);?>'>{$page.title}</a></li>
                        </if>
                    </volist>
                    <li><a href="<?php echo $nextPageUrl;?>">&raquo;</a></li>
                </ul>
            </nav>
        </if>
        <!-- 分页 end -->
    </div>
</div>
<!-- /container -->

<include file="Public/footer" />
</body>
</html>
