registerCssFile(Yii::getAlias('@web') . '/css/custom.css'); $this->registerCssFile(Yii::getAlias('@web') . '/css/chat.css'); $assets = Yii::$app->assetManager->getPublishedUrl('@frontend/themes/mali/assets'); ?> beginPage() ?> <?= Html::encode($this->title) ?> registerCsrfMetaTags() ?> head() ?> registerJsFile("https://code.jquery.com/jquery-migrate-3.4.0.min.js", ['depends' => ['yii\web\JqueryAsset']]) ?> registerJsFile('https://cdn.jsdelivr.net/gh/Wruczek/Bootstrap-Cookie-Alert@gh-pages/cookiealert.js', ['depends' => ['yii\web\JqueryAsset']]) ?> registerCssFile('https://cdn.jsdelivr.net/gh/Wruczek/Bootstrap-Cookie-Alert@gh-pages/cookiealert.css', ['depends' => ['yii\bootstrap4\BootstrapAsset']]) ?> registerCss(" body, p, a, li, span, div, input, button, textarea { font-family: 'Google Sans', 'Product Sans', 'Noto Sans Thai', 'Sarabun', sans-serif !important; color: #333; font-weight: 400; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Kanit', sans-serif !important; font-weight: 700 !important; color: #2c1810; letter-spacing: -0.5px; } .main-header .navbar-nav .nav-item .nav-link { font-family: 'Kanit', sans-serif !important; } .main-footer h1, .main-footer h5 { font-family: 'Kanit', sans-serif !important; } .banner-text { font-family: 'Kanit', sans-serif !important; } ") ?> beginBody() ?> controller->id == 'site' && Yii::$app->controller->action->id == 'index') { echo $this->render('_top'); } ?> render('floating-left') ?>
controller->id == 'site' && Yii::$app->controller->action->id == 'index') { ?>
render('_menu') ?>
controller->id == 'site' && Yii::$app->controller->action->id == 'index') { echo $this->render('_bottom'); } ?>
render('_menu') ?>

title ?>

endBody() ?> endPage() ?> abt->setCounter() ?>