<?php
/**
 * The side common view file of blog module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Xiying Guan <guanxiying@xirangit.com>
 * @package     blog
 * @version     $Id: side.html.php 4029 2016-08-26 06:50:41Z liugang $
 * @link        http://www.zdoo.com
 */
?>
<?php $treeMenu = $this->tree->getTreeMenu('blog', 0, array('treeModel', 'createBlogBrowseLink'));?>
<div class='side-col'>
  <div class='panel'> 
    <div class='panel-body'> <?php echo $treeMenu;?> </div>
    <?php if(count($tags) > 1):?>
    <div class='panel-body div-tags'>
      <?php foreach($tags as $tag):?>
      <?php if($tag) echo html::a(inlink('index', 'category=0&author=&month=&tag=' . $tag), $tag, "class='label label-info'");?>
      <?php endforeach;?>
    </div>
    <?php endif;?>
  </div>
</div>
