<?php use_helper('tvtl'); ?>
<div id="activeBlog">
  <div class="doc">
    <h2>
      <span><?php echo @$title; ?></span>
      <?php echo gridTab(array('all'=>'Tất cả', 'week'=>'Tuần này', 'day'=>'Hôm nay'), '/block/activeblog?active_type=', $active_type, 'activeBlog', array('class'=>'cleartab')) ?>
    </h2>
    <div class="content">
      <?php foreach ($tblblogs as $tblblog): ?>
        <div class="userinfo">
          <?php echo link_to($tblblog[0], $tblblog[1], array('target'=>'_blank')) ?><br/>
          <?php echo 'Lượt truy cập: '.$tblblog[2]; ?>
        </div>
      <?php endforeach ?>
    </div>
  </div>
</div>
