Пример #1
0
echo Html::csrfMetaTags();
?>
    <link rel="shortcut icon" href="https://s3-us-west-2.amazonaws.com/z34lot/images/favicon.ico" type="image/x-icon" />
    <link rel="alternate" type="application/rss+xml" title="RSS feed" href="<?php 
echo Yii::$app->request->hostInfo;
?>
/rss.xml" />
    <title><?php 
echo Html::encode($this->title);
?>
</title>
    <?php 
if (!YII_ENV_DEV) {
    ?>
        <?php 
    echo GATracking::widget(['trackingId' => Yii::$app->params['googleAnalyticsTrackingID']]);
    ?>
    <?php 
}
?>
    <?php 
$this->head();
?>
</head>
<body>
<?php 
$this->beginBody();
?>

    <hedaer><?php 
echo $this->render('_logo');
Пример #2
0
<?php 
if ('site' === Yii::$app->controller->id && 'index' === Yii::$app->controller->action->id) {
    include __DIR__ . '/../site/index/splash.php';
}
include __DIR__ . '/inc/header.php';
?>

<div class="site-wrapper">
  <div class="site-body">
    <?php 
echo $content;
?>
  </div>

<?php 
include __DIR__ . '/inc/footer.php';
?>
</div>

<?php 
echo $this->registerJs(GATracking::widget(['trackingId' => \Yii::$app->params['gaTrackingId'], 'omitScriptTag' => true]), \yii\web\View::POS_END);
?>

<?php 
$this->endBody();
?>
</body>
</html>
<?php 
$this->endPage();
Пример #3
0
echo Yii::$app->charset;
?>
">
        <!--<meta property="og:type" content="website" />
        <meta property="og:title" content="<?/*= Yii::$app->controller->titleMeta */?>" />
        <meta property="og:site_name" content="<?/*= Yii::$app->controller->siteNameMeta */?>"/>
        <meta property="og:description" content="<?/*= Yii::$app->controller->descriptionMeta */?>" />
        <meta property="og:image" content="<?/*= Yii::$app->controller->imageMeta */?>" />
        <meta property="og:url" content="<?/*= Yii::$app->controller->urlMeta */?>" />
        <meta property="og:locale" content="<?/*= Yii::$app->language */?>" />
        <meta property="fb:app_id" content="<?/*= Yii::$app->controller->appFbIdMeta */?>" />-->
        <?php 
$this->registerMetaTag(['name' => 'viewport', 'content' => 'width=device-width, initial-scale=1']);
?>
        <?php 
echo GATracking::widget(['trackingId' => 'UA-61158765-2']);
?>
        <title><?php 
echo $this->title;
?>
</title>
        <script src="https://cdn.socket.io/socket.io-1.3.5.js"></script>
        <?php 
$this->head();
?>
    </head>
    <body>
    <?php 
$this->beginBody();
?>
Пример #4
0
/favicon/favicon-96x96.png"        type="image/png" />
        <link rel="icon"                sizes="16x16"   href="<?php 
echo $piecesAsset->baseUrl;
?>
/favicon/favicon-16x16.png"        type="image/png" />

        <meta name="msapplication-TileColor"            content="#000000" />
        <meta name="msapplication-TileImage"            content="<?php 
echo $piecesAsset->baseUrl;
?>
/favicon/ms-icon-144x144.png"/ß>

        <meta name="theme-color"                        content="#000000" />

        <?php 
echo GATracking::widget(['trackingId' => 'UA-70123684-1']);
?>
    </head>
    <body>
        <?php 
$this->beginBody();
?>
            <?php 
echo $content;
?>
        <?php 
$this->endBody();
?>
    </body>
</html>
<?php