<?php use_helper('tvtl', 'ModalBox'); ?>
<?php $sf_context->getResponse()->addJavascriptCommand('setCategory('.$cat_id.');'); ?>

<div class="document docgroup">
  <h2>
    <label>&nbsp;&nbsp;<?php echo blogStore::getPostLink($cat_id, 'present', 'Đưa % lên', $lesson > 0? '&pr_lesson='.$lesson: '') ?></label>
    <?php echo link_to($catItem->name, '/'.$catItem->mod.'/list?cat_id='.$cat_id).'. '.$title ?>
  </h2>
  <div class="content">
    <?php foreach ($pager->getResult() as $index => $entry): ?>
      <?php echo $entry->getObject()->getGlobalThumb($catItem->getListType($index)) ?>
    <?php endforeach ?>
    <div class="clear" style="height:10px"></div>
    <?php echo showPageNav13($pager, "/present/samelesson?cat_id=$cat_id". ($lesson? "&lesson=$lesson": "")) ?>
  </div>
</div>
