blog_category.html 732 B

1234567891011121314151617181920212223
  1. <aside class="col-md-3">
  2. <nav class="well">
  3. <ul id="blog-category">
  4. <volist name='blog_category' id='v'>
  5. <li class="sub"><a href='{:U("/blogc/".$v["id"])}'>{$v.title}</a></li>
  6. <?php if(isset($v['children'])){ ?>
  7. <?php foreach($v['children'] as $k1=>$v1){ ?>
  8. <li class="sub-child"><a href='{:U("/blogc/".$v1["id"])}'><?php echo $v1['title']; ?></a></li>
  9. <?php } ?>
  10. <?php } ?>
  11. </volist>
  12. </ul>
  13. </nav>
  14. <section>
  15. <h4 class="text-center"><?php echo C('SITE_NAME'); ?></h4>
  16. <blockquote class="pull-right">
  17. <p><?php echo C('SITE_SLOGAN'); ?></p>
  18. <small><?php echo C('SHORT_URL'); ?></small>
  19. </blockquote>
  20. </section>
  21. </aside>