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

pageName);?>

i18n->name, array('news/view', 'link' => $item->link, 'node_id'=>Node::idByDataId('newsRoot', $item->newsCategory->news_root_id)))?>

date, 'yyyy-MM-dd hh:mm:ss'); 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)) ?>

imageBehavior->getFileUrl('preview')), array('news/view', 'link' => $item->link, 'node_id'=>Node::idByDataId('newsRoot', $item->newsCategory->news_root_id)));?> 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');?>