Example #1
0
/* @var $this yii\web\View */
use frontend\widgets\BreadcrumbsWidget;
use frontend\modules\comment\widgets\CommentsWidget;
$this->title = $model->title;
$this->registerMetaTag(['name' => 'description', 'content' => $model->description]);
$this->registerMetaTag(['name' => 'keywords', 'content' => $model->keywords]);
?>

<h1 class="caption blue"><span><?php 
echo $model->name;
?>
</span></h1>
            <div class="padding37">
                
                <?php 
echo BreadcrumbsWidget::widget(['items' => $breadcrumbs]);
?>

                
                <?php 
echo $model->detail_text;
?>

    
				<div class="soc">
                    <?php 
echo $this->render('_soc_buttons');
?>
                    <!--<img src="images/soc.jpg">-->
                </div>
				<!-- comments -->
Example #2
0
    border-radius: 5px;
    height: 41px;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 18px;
    text-decoration: none;
}	

</style>

<h1 class="caption blue"><span>Результат поиска <strong>&laquo;<?=$q?>&raquo;</strong></span></h1>
            <div class="padding37">
                
                <?= BreadcrumbsWidget::widget(['items' => [
                	['label' => 'Главная',
                	'url'=>'/'],
                	['label'=>'Поиск']
                ]]) ?>
			
			<div class="clear" style="height:18px;"></div>

            <div class="search-results">

            <?foreach($models as $k=>$model){?>
			
			<div class="clear" style="height:50px;"></div>



			<div>