<?php use_helper('I18N', 'tvtl', 'Javascript', 'ModalBox'); ?>
<?php $sf_context->getResponse()->addJavascriptCommand('setCategory('.$cat_id.');'); ?>
<div>
  <div style="margin-bottom:5px;font-size:larger;float:left">
    <label><?php echo blogStore::getCategoryPath($cat_id) ?></label>
  </div>
  <div style="float:right">
    <?php echo blogStore::getPostLink($cat_id, 'entry', 'Tạo % mới') ?>
  </div>
  <?php foreach ($pager->getResult() as $tblblogcategoryentry): ?>
    <div class="entrygroup">
      <?php echo link_to('print', 'entry/showprint?entry_id='.$tblblogcategoryentry->getCeEntry(), 'style="display:none"') ?>
      <?php $tblblogentry = $tblblogcategoryentry->getTblblogentry(); ?>
      <h2><?php echo $tblblogentry->getObject()->getTitleWithLink('', '&cat_id='.$cat_id) ?></h2>
      <div class="content">
        <?php echo $tblblogentry->getObject()->getThumbWithLink('', '&cat_id='.$cat_id) ?>
        <?php echo $tblblogentry->getObject()->getEntryIntro() ?>
      </div>
    </div>
  <?php endforeach ?>
  <div class="pager">
    <?php echo showPageNav13($pager, "/entry/list?cat_id=$cat_id"); ?>
  </div>
<div>
