renderPartial('//snippets/headerGallery'); ?>
renderPartial('//snippets/bajaBanner');?> renderPartial('//sport/_sidebar');?>

pageName)?>

videoGalleryBehavior->getGalleryPhotoCount() > 0): ?>

photoGalleryBehavior->getGalleryPhotoCount() > 0): ?>

renderPartial('//sport/_nearestEvents');?> renderPartial('//sport/_mediaFeed');?>

'rss-icon')); ?>

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

date, 'yyyy-MM-dd hh:mm:ss'); echo CHtml::link($item->i18n->name, array('news/view', 'link' => $item->link, 'node_id' => Node::idByDataId('newsRoot', $item->newsCategory->news_root_id))); echo '
— '; echo Yii::app()->getDateFormatter()->format('d MMMM yyyy', $timestamp); ?>

findByPk(2); echo CHtml::link(Yii::t('site', 'Архив новостей'), array('news/category', 'link' => $cat->link, 'node_id'=>Node::idByDataId('newsRoot', $cat->news_root_id))); ?>»
clientScript; $cs->registerCoreScript('jquery'); //$cs->registerScriptFile(Yii::app()->baseUrl . '/js/fancybox/jquery.mousewheel-3.0.4.pack.js'); $cs->registerScriptFile(Yii::app()->baseUrl . '/js/fancybox/jquery.fancybox-1.3.4.pack.js'); $cs->registerCssFile(Yii::app()->baseUrl . '/js/fancybox/jquery.fancybox-1.3.4.css'); $src = << '; if(description.length) r+=description; if(r.length) return ''+r+''; else return ''; } }); $("a[rel=video-gallery]").fancybox({ 'transitionIn' : 'none', 'type' : 'iframe', 'transitionOut' : 'none', 'titlePosition' : 'over', 'titleFormat' : function(title, currentArray, currentIndex, currentOpts) { var name = $(currentArray[currentIndex]).data('name'), r = ''; var description = $(currentArray[currentIndex]).data('description'); name = name?name:''; description = description?description:''; if(name.length) r+=''+name+' '; if(description.length) r+=description; if(r.length) return ''+r+''; else return ''; } }); JS; //$cs->registerScript('fancybox_gallery', $src); $galleryItems = CJavaScript::encode($galleryItems); $title = CJavaScript::encode($this->pageName); $cs->registerScript('bigGallery', <<