<div class="main_content">
    <div class="innercontent_outerbox">
      
      <h1>Press</h1>
      <?php foreach($model as $eachModel): ?>
		<div class="press">
<span style="color:#999"><?php echo date('F j, Y',strtotime($eachModel->date)) ; ?></span><br />
<a tile="<?php echo $eachModel->title_of_news; ?>" href="<?php echo Yii::app()->createUrl('site/news_details',  array('id'=>$eachModel->id,'name'=>'details')); ?>"><strong><?php echo $eachModel->title_of_news; ?></strong></a><br />
<?php echo  substr(strip_tags($eachModel->content),0,500); ?>...<br />
<a href="<?php echo Yii::app()->createUrl('site/news_details',  array('id'=>$eachModel->id,'name'=>'details')); ?>"><img src="<?php echo Yii::app()->baseUrl; ?>/images/more.png" width="61" height="26" /></a> <br />

        </div>
      <?php endforeach; ?>
 <?php
        // the pagination widget with some options to mess
    $this->widget('CLinkPager', array(
            'currentPage'=>$pages->getCurrentPage(),
            'itemCount'=>$item_count,
            'pageSize'=>$page_size,
            'maxButtonCount'=>5,
            //'nextPageLabel'=>'My text >',
            'header'=>'',
        'htmlOptions'=>array('class'=>'pagination classC page-C-01'),
        ));
        ?>
    </div>
<?php echo $this->renderPartial('_bottom_common_user_product_group'); ?> 