=$model->title?>
=$model->lid?>
=$model->publishedAt?> =date("Y, H:m")?>, =$authorName?>
photo_include == 'Y' && $model->image instanceof \app\models\base\Image):?>
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); ?>
=$model->lid?>
=$model->publishedAt?> =date("Y, H:m")?>, =$authorName?>
photo_include == 'Y' && $model->image instanceof \app\models\base\Image):?>