<?php use yii\helpers\Html; use app\components\widgets\Header; \app\assets\BaseAsset::register($this); $this->beginPage(); ?> <!DOCTYPE html> <html lang="ru"> <head> <?php echo Html::csrfMetaTags(); ?> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title><?php echo Html::encode($this->title); ?> </title> <link href="/css/style1.css" rel="stylesheet"> <link href="/css/custom.css" rel="stylesheet"> <?php $this->head(); ?> </head> <body> <?php $this->beginBody(); ?> <div id="container">
<?php use yii\helpers\Html; use app\assets\JQueryAsset; use app\assets\BaseAsset; JQueryAsset::register($this); BaseAsset::register($this); $this->beginPage(); ?> <!DOCTYPE html> <html lang="<?php echo Yii::$app->language; ?> "> <head> <title><?php echo Html::encode($this->title); ?> </title> <meta charset="<?php echo Yii::$app->charset; ?> " /> <?php $this->head(); ?> </head> <body> <?php $this->beginBody(); ?>