<?php  /* Template Name:文章列表模板 */  ?>

<?php  include $this->GetTemplate('header');  ?>
    <div class="pagenow wrap">
        <i>当前位置：</i><a href="<?php  echo $host;  ?>"><?php  echo $name;  ?></a><?php if ($type=='category') { ?><?php if ($category->Parent) { ?><span>&gt;</span><a href="<?php  echo $category->Parent->Url;  ?>"><?php  echo $category->Parent->Name;  ?></a><?php } ?><?php } ?><span>&gt;</span><?php if ($type=='author'||$type=='tag'||$type=='date') { ?><?php  echo $title;  ?><?php }else{  ?><a href="<?php  echo $category->Url;  ?>"><?php  echo $category->Name;  ?></a><?php } ?>
    </div>
    <?php if ($type=='category') { ?>
    	<?php if ($category->SubCategorys) { ?>
    <ul class="sort-list wrap">
        <?php  foreach ( $category->SubCategorys as $sub) { ?>
        <li><a href="<?php  echo $sub->Url;  ?>" title="<?php  echo $sub->Name;  ?>"><i class="fa fa-square-o"></i><?php  echo $sub->Name;  ?></a></li>
        <?php }   ?>
    </ul>
    	<?php } ?>
    <?php } ?>
    <?php if ($zbp->Config('SiteNav')->SiteNav_itopvad!="") { ?>
    <?php } ?>
    <div class="wrap">
        <div class="list-page news-box">
            <div class="hat">
                <div class="ti ascbg"><i class="fa fa-share-alt"></i><?php if ($type=='author'||$type=='tag'||$type=='date') { ?><?php  echo $title;  ?><?php }else{  ?><a href="<?php  echo $category->Url;  ?>"><?php  echo $category->Name;  ?></a><?php } ?></div>
                <?php if ($type=='category') { ?>
                <div class="tip"><?php  echo $category->Intro;  ?></div>
                <?php } ?>
            </div>
            <div class="item">
                <ul class="clearfix">
<?php  foreach ( $articles as $article) { ?>
<?php if ($article->IsTop) { ?>
<?php  include $this->GetTemplate('post-istop-news');  ?>
<?php }else{  ?>
<?php  include $this->GetTemplate('post-multi-news');  ?>
<?php } ?>
<?php }   ?>

                </ul>
            </div>
        </div>
    </div>
    <?php if ($zbp->Config('SiteNav')->SiteNav_listbtad!="") { ?>
    <div class="wvshow wrap listbtshow">
        <?php  echo $zbp->Config('SiteNav')->SiteNav_listbtad;  ?>
    </div>
    <?php } ?>
    <div class="pager wrap clearfix">
        <?php  include $this->GetTemplate('pagebar');  ?>
    </div>
<?php  include $this->GetTemplate('footer');  ?>