Exemplo n.º 1
0
*         <?= Breadcrumbs::widget([
           'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
       ]) ?>
*/
use yii\helpers\Html;
use yii\bootstrap\Nav;
use cybercog\yii\googleanalytics\widgets\GATracking;
use yii\bootstrap\NavBar;
use app\assets\BlogAsset;
use app\components\widgets\Alert;
//my
use app\components\widgets\UserWidget;
use app\components\widgets\VkWidget;
use app\components\widgets\TagsWidget;
use app\components\widgets\GoogleAdsenseWidget;
BlogAsset::register($this);
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
<head>
    <meta charset="<?php 
echo Yii::$app->charset;
?>
">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
echo Html::csrfMetaTags();
Exemplo n.º 2
0
<?php

/* @var $this \yii\web\View */
/* @var $content string */
/*
*         <?= Breadcrumbs::widget([
           'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
       ]) ?>
*/
use yii\helpers\Html;
use app\assets\AppAsset;
use app\components\widgets\Alert;
\app\assets\BlogAsset::register($this);
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
<head>
    <meta charset="<?php 
echo Yii::$app->charset;
?>
">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
echo Html::csrfMetaTags();
?>
    <link rel="shortcut icon" href="https://s3-us-west-2.amazonaws.com/z34lot/images/favicon.ico" type="image/x-icon" />
    <title><?php