Exemplo n.º 1
0
" target="_blank"><img src="<?php 
    echo $this->_baseUrl;
    ?>
/<?php 
    echo $bagecmsRow->attach_thumb;
    ?>
" class="tn"></a></div>
          <h2><a href="<?php 
    echo $this->createUrl('show', array('name' => $bagecmsRow->title_alias));
    ?>
" target="_blank" class="title" style=""><?php 
    echo $bagecmsRow->title;
    ?>
</a> </h2>
          <p class="bdesc"><?php 
    echo XUtils::clearCutstr($bagecmsRow->content, 200);
    ?>
</p>
          <p class="binfo"> <span class="date">时间&nbsp;: <?php 
    echo date('Y-m-d', $bagecmsRow->create_time);
    ?>
</span> </p>
        </li>
        <?php 
}
?>
      </ul>
    </div>
    <div class="pagebar clear">
      <?php 
$this->widget('CLinkPager', array('pages' => $bagecmsPagebar));