title, $model->lid, $model->image->url, $model->dt_pub, $model->getUrl()); $this->title = $model->title; $this->params['breadcrumbs'] = [ [ "text"=>"НОВОСТИ", "url"=>"/news" ] ]; $this->params['context'] = "post-view"; $topic = ArrayHelper::getValue($model->topics,0); if($topic instanceof \app\models\base\NewsTopic){ $this->params['breadcrumbs'][] = [ "text"=>$topic->title, "url"=>mb_strtoupper($topic->url) ]; } $i = 1; foreach($this->params['breadcrumbs'] as $el){ jsonLD::addBreadcrumb($i, $el['url'], $el['text']); $i++; } if( $model->show_author == 'Y' ) { $author = Authors::getAuthor( $model->author ); $authorName = $author->name; jsonLD::author( $authorName ); }else{ $authorName = 'ИА Амител'; jsonLD::author( $authorName, false ); } $GLOBALS['type_long'] = ($model->type == 6); ?>
user->can('admin') ){ ?> render("/layouts/breadcrumbs")?>

title?>

lid?>

publishedAt?> ,

photo_include == 'Y' && $model->image instanceof \app\models\base\Image):?>

<?=$model->photo_title?>
photo_title?>

renderBody()?> inscription == 1)?'':''?> inscription == 2)?'Имеются противопоказания, необходима консультация специалиста':''?>
render("view/comments/list",["model"=>$model])?>
render("/layouts/lenta/lenta")?>
render("view/infinity_newsfeed",['model'=>$model])?>
registerJsFile("/js/splide/dist/js/splide.min.js"); $this->registerCssFile("/js/splide/dist/css/splide.min.css") ?>