<div class="block-content">
<?php $i = 0; ?>
<?php foreach ($tblblogentrycomment as $tblcomment): ?>
  <?php if ($tblcomment->getTblblogentry()==null) continue; ?>
  <?php if ($tblcomment->getTblblogentry()->getEntryStatus()>=2) continue; ?>
  <?php if (++$i>=15) break; ?>
  <li class="sep">
    <?php if ($tblcomment->getCmBlog()==blogStore::$blogId): ?>
      <?php echo link_to($tblcomment->getCommentIntro(10),
        '/'.$tblcomment->getTblblogentry()->getModule().'/show?entry_id='.
        $tblcomment->getCmEntry().'&cm_id='.$tblcomment->getCmId().'#'.$tblcomment->getCmId()) ?>
    <?php else: ?>
      <?php echo link_to($tblcomment->getCommentIntro(10),
      '/entry/showglobal?entry_id='.$tblcomment->getCmEntry().'&cm_id='.$tblcomment->getCmId().'#'.$tblcomment->getCmId(),
      array('target'=>'_blank')); ?>
    <?php endif ?>
  </li>
<?php endforeach; ?>
<?php if ($sf_user->isAuthenticated()): ?>
  <li><b><?php echo link_to('Các ý kiến của tôi', '/user/comment?type=today') ?></b></li>
<?php endif ?>
</div>
