<commit_before><?php

/* @var $this \yii\web\View */
/* @var $content string */

use kartik\widgets\Growl;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\RubyAsset;
use common\widgets\Alert;

RubyAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body class="blog">
    <div id="qLoverlay"><div class="loadLogo"><img class="spinner" src="<?= $this->theme->getUrl('img/logo.png')?>"></div></div>
    <?php $this->beginBody() ?>
    <?php foreach (Yii::$app->session->getAllFlashes() as $message):; ?>
        <?php
        echo Growl::widget([
            'type' => (!empty($message['type'])) ? $message['type'] : Growl::TYPE_INFO,
            'title' => (!empty($message['title'])) ? Html::encode($message['title']) : 'Title Not Set!',
            'icon' => (!empty($message['icon'])) ? $message['icon'] : 'fa fa-info',
            'body' => (!empty($message['message'])) ? Html::encode($message['message']) : 'Message Not Set!',
            'showSeparator' => true,
            'delay' => 1, //This delay is how long before the message shows
            'pluginOptions' => [
                'delay' => (!empty($message['duration'])) ? $message['duration'] : 3000, //This delay is how long the message shows for
                'placement' => [
                    'from' => (!empty($message['positionY'])) ? $message['positionY'] : 'top',
                    'align' => (!empty($message['positionX'])) ? $message['positionX'] : 'right',
                ]
            ]
        ]);
        ?>
    <?php endforeach; ?>
    <div id="vertec-layout">
        <div class="mobileNav">
            <div class="logo">
                <a href="#"><img src="<?= $this->theme->getUrl('img/logo.png')?>" alt="NinjaCTO"></a>
            </div>
            <div class="mobileClick">
                <i class="fa fa-align-justify"></i>
            </div>
        </div>
        <div class="siteWrapper">
            <div class="hideHeader"><i class="fa fa-angle-left"></i></div>
            <div class="header header1 animated fadeIn">
                <header class="mainHeader">
                    <div class="closeMobile visible-xs visible-sm">
                        <i class="fa fa-times"></i>
                    </div>
                    <div class="logo visible-md visible-lg">
                        <a href="#"><img src="<?= $this->theme->getUrl('img/logo.png')?>" alt="NinjaCTO"></a>
                    </div>
                    <nav class="mainNav">
                        <div id="dl-menu" class="dl-menuwrapper">
                            <button class="dl-trigger">Open Menu</button>
                            <ul class="dl-menu dl-menuopen">
                                <li>
                                    <?= yii\helpers\Html::a('Blog',['/blog/index']);?>
                                </li>
                                <li>
                                    <?= yii\helpers\Html::a('ABOUT ME',['/site/about']);?>
                                </li>
                                <li>
                                    <?= yii\helpers\Html::a('CONTACT',['/site/contact']);?>
                                </li>
                                <li>
                                    <?= yii\helpers\Html::a('HIRE / DONATE ME!',['/site/contact']);?>
                                </li>
                            </ul>
                        </div><!-- /dl-menuwrapper -->
                    </nav>
                </header>
                <aside class="mainSidebar">
                    <div class="search">
                        <form method="get" action="#">
                            <input type="text" name="s" class="search-query" placeholder="Search here...">
                            <button class="search-icon" type="submit"><i class="fa fa-search"></i></button>
                        </form>
                    </div>
                    <div class="navigation-social">
                        <h3>WE ARE SOCIAL</h3>
                        <div class="navigation-social-icons"><a href="#"><i class="vertec-face"></i></a><p>FB FANS</p></div>
                        <div class="navigation-social-icons"><a href="https://twitter.com/ninjacto"><i class="vertec-tweet"></i></a><p>FOLLOWERS</p></div>
                        <div class="navigation-social-icons"><a href="/sitemap"><i class="vertec-rss"></i></a><p>RSS FEED</p></div>
                    </div>
                    <div class="navigation-copyright">
                        <p>Privacy Policy | Term and Conditions</p>
                        <p>Copyright © 2015 NinjaCTO. All rights reserved.</p>
                    </div>

                </aside>
            </div>
            <section class="mainContent blogPage">
                <?= $content ?>
            </section>
        </div>
    </div>

    <?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?><commit_msg>post controller admin area<commit_after><?php

/* @var $this \yii\web\View */
/* @var $content string */

use kartik\widgets\Growl;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\RubyAsset;
use common\widgets\Alert;

RubyAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body class="blog">
    <div id="qLoverlay"><div class="loadLogo"><img class="spinner" src="<?= $this->theme->getUrl('img/logo.png')?>"></div></div>
    <?php $this->beginBody() ?>
    <?php foreach (Yii::$app->session->getAllFlashes() as $message):; ?>
        <?php
        echo Growl::widget([
            'type' => (!empty($message['type'])) ? $message['type'] : Growl::TYPE_INFO,
            'title' => (!empty($message['title'])) ? Html::encode($message['title']) : 'Title Not Set!',
            'icon' => (!empty($message['icon'])) ? $message['icon'] : 'fa fa-info',
            'body' => (!empty($message['message'])) ? Html::encode($message['message']) : 'Message Not Set!',
            'showSeparator' => true,
            'delay' => 1, //This delay is how long before the message shows
            'pluginOptions' => [
                'delay' => (!empty($message['duration'])) ? $message['duration'] : 3000, //This delay is how long the message shows for
                'placement' => [
                    'from' => (!empty($message['positionY'])) ? $message['positionY'] : 'top',
                    'align' => (!empty($message['positionX'])) ? $message['positionX'] : 'right',
                ]
            ]
        ]);
        ?>
    <?php endforeach; ?>
    <div id="vertec-layout">
        <div class="mobileNav">
            <div class="logo">
                <a href="#"><img src="<?= $this->theme->getUrl('img/logo.png')?>" alt="NinjaCTO"></a>
            </div>
            <div class="mobileClick">
                <i class="fa fa-align-justify"></i>
            </div>
        </div>
        <div class="siteWrapper">
            <div class="hideHeader"><i class="fa fa-angle-left"></i></div>
            <div class="header header1 animated fadeIn">
                <header class="mainHeader">
                    <div class="closeMobile visible-xs visible-sm">
                        <i class="fa fa-times"></i>
                    </div>
                    <div class="logo visible-md visible-lg">
                        <a href="#"><img src="<?= $this->theme->getUrl('img/logo.png')?>" alt="NinjaCTO"></a>
                    </div>
                    <nav class="mainNav">
                        <div id="dl-menu" class="dl-menuwrapper">
                            <button class="dl-trigger">Open Menu</button>
                            <ul class="dl-menu dl-menuopen">
                                <li>
                                    <?= yii\helpers\Html::a('Blog',['/blog/index']);?>
                                </li>
                                <li>
                                    <?= yii\helpers\Html::a('ABOUT ME',['/site/about']);?>
                                </li>
                                <li>
                                    <?= yii\helpers\Html::a('CONTACT',['/site/contact']);?>
                                </li>
                                <li>
                                    <?= yii\helpers\Html::a('HIRE / DONATE ME!',['/site/contact']);?>
                                </li>
                            </ul>
                        </div><!-- /dl-menuwrapper -->
                    </nav>
                </header>
                <aside class="mainSidebar">
                    <div class="search">
                        <form method="get" action="#">
                            <input type="text" name="s" class="search-query" placeholder="Search here...">
                            <button class="search-icon" type="submit"><i class="fa fa-search"></i></button>
                        </form>
                    </div>
                    <div class="navigation-social">
                        <h3>WE ARE SOCIAL</h3>
                        <div class="navigation-social-icons"><a href="#"><i class="vertec-face"></i></a><p>FB FANS</p></div>
                        <div class="navigation-social-icons"><a href="https://twitter.com/ninjacto"><i class="vertec-tweet"></i></a><p>FOLLOWERS</p></div>
                        <div class="navigation-social-icons"><a href="/sitemap"><i class="vertec-rss"></i></a><p>RSS FEED</p></div>
                    </div>
                    <div class="navigation-copyright">
                        <p>Privacy Policy | Term and Conditions</p>
                        <p>Copyright © 2015 NinjaCTO. All rights reserved.</p>
                    </div>

                </aside>
            </div>
            <section class="mainContent blogPage">
                <?= $content ?>
            </section>
        </div>
    </div>

    <?php $this->endBody() ?>
    <!-- Piwik -->
    <script type="text/javascript">
        var _paq = _paq || [];
        _paq.push(['trackPageView']);
        _paq.push(['enableLinkTracking']);
        (function() {
            var u="//piwik.ninjacto.com/";
            _paq.push(['setTrackerUrl', u+'piwik.php']);
            _paq.push(['setSiteId', 2]);
            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
            g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
        })();
    </script>
    <noscript><p><img src="//piwik.ninjacto.com/piwik.php?idsite=2" style="border:0;" alt="" /></p></noscript>
    <!-- End Piwik Code -->
</body>
</html>
<?php $this->endPage() ?>
{'fraction_non_alphanumeric': 0.19370245887139573, 'fraction_numerical': 0.002653458340704051, 'mean_word_length': 1.5903780068728521, 'pattern_counts': {'":': 0, '<': 278, '<?xml version=': 0, '>': 332, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7572961', 'n_tokens_mistral': 3302, 'n_tokens_neox': 3164, 'n_words': 580}