Tony's Blog

  1. <div class="card home-body">
  2. <div class="card-header">
  3. <span class="hometit">设计分享</span>
  4. </div>
  5. <div class="card-body">
  6. <ul class="col-lg-12 hb-ul" style="padding-left:0;padding-right:0;">
  7. <?php foreach($forumlist_show as $k => $_forum): ?>
  8. <?php if(in_array($k,array('1'))):?>
  9. <li class="col-lg-6 hu-li" fid="<?=$_forum['fid'];?>" data-active="fid-<?=$_forum['fid'];?>">
  10. <img class="logo-4 li-left" src="<?=$_forum['icon_url'];?>" />
  11. <div class="li-right">
  12. <div class="tit-right">
  13. <a href="<?=url("forum-$_forum[fid]");?>"><?='『'.$_forum['name'].'』';?></a>
  14. <span class="text-muted"><?=lang('threads').':';?><b style="color:#868e96"><?=$_forum['threads'];?></b></span>
  15. </div>
  16. <span class="text-muted con-right"><?=mb_substr($_forum['brief'],0,30,'utf-8').'...';?></span>
  17. </div>
  18. </li>
  19. <?php endif;?>
  20. <?php endforeach; ?>
  21. </ul>
  22. </div>
  23. </div>