renderPartial('//snippets/headerGallery'); ?>

i18n->page_name ?>

i18n->name, array('news/publication', 'link' => $item->link))?>

date, 'yyyy-MM-dd hh:mm:ss'); echo ''; echo Yii::app()->getDateFormatter()->format('d MMMM yyyy', $timestamp); echo ' ', Yii::t('site', 'Рубрика'), ': '; echo CHtml::link($item->newsCategory->i18n->name, array('news/category', 'link' => $item->newsCategory->link)) ?>

image2Behavior->getFileUrl('preview') != null) { echo CHtml::link(CHtml::image($item->imageBehavior->getFileUrl('preview'), '', array('class' => 'first')), array('news/publication', 'link' => $item->link)); echo CHtml::link(CHtml::image($item->image2Behavior->getFileUrl('preview'), '', array('class' => 'second')), array('news/publication', 'link' => $item->link)); } else { echo CHtml::link(CHtml::image($item->imageBehavior->getFileUrl('preview')), array('news/publication', 'link' => $item->link)); } ?>
i18n->short?>
widget( 'LinkPager', array( 'pages' => $pages, 'cssFile' => false, 'nextPageLabel' => Yii::t('site', 'Следующая'), 'prevPageLabel' => Yii::t('site', 'Предыдущая'), 'header' => false, //Yii::t('site', 'Страницы:'), )); ?>
renderPartial('_newsFooter') ;?>

renderPartial('//snippets/sidebarContacts');?> renderPartial('_photofact', array('galleryIds' => array($category->photofact_gallery_id))); } else { /** @var $cats NewsCategory[] */ $cats = NewsCategory::model()->findAll(); $galleryIds = array(); foreach ($cats as $cat) { if (isset($cat->photofact_gallery_id)) $galleryIds[] = $cat->photofact_gallery_id; } $this->renderPartial('_photofact', array('galleryIds' => $galleryIds)); } ?>
 
renderPartial('_newsFooter');?>