<?php use_helper('tvtl'); ?>
<div id="activeMember">
  <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/activemember?active_type=', $active_type, 'activeMember', array('class'=>'cleartab')) ?>
    </h2>
    <div class="content">
      <?php foreach ($userscores as $userscore): ?>
        <div class="userinfo">
          <?php echo $userscore[2]->getObject()->getHtmlName(true); ?><br/>
          <?php echo 'Điểm số: ' . $userscore[1] ?>
        </div>
      <?php endforeach ?>
    </div>
  </div>
</div>