PHP Method Yii::powered Code Examples

This page contains top rated real world PHP examples of method Yii::powered extracted from open source projects. You can rate examples to help us improve the quality of examples
Example #1
Show file File: main.php Project: adsavin/car
0
            'options' => ['class' => 'navbar-inverse navbar-fixed-top'],
        ]);

        if (!empty($this->params['top-menu']) && isset($this->params['nav-items'])) {
            echo Nav::widget([
                'options' => ['class' => 'nav navbar-nav'],
                'items' => $this->params['nav-items'],
            ]);
        }

        echo Nav::widget([
            'options' => ['class' => 'nav navbar-nav navbar-right'],
            'items' => $this->context->module->navbar,
        ]);
        NavBar::end();
        ?>

        <div class="container">
            <?= $content ?>
        </div>

        <footer class="footer">
            <div class="container">
                <p class="pull-right"><?= Yii::powered() ?></p>
            </div>
        </footer>

        <?php $this->endBody() ?>
    </body>
</html>
<?php $this->endPage() ?>
Example #2
Show file File: main.php Project: Andrew-Yanovich/orderprocessing
0
    <div class="container">
        <?php 
echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>
        <?php 
echo $content;
?>
    </div>
</div>

<footer class="footer">
    <div class="container">
        <p class="pull-left">&copy; Order Processing <?php 
echo date('Y');
?>
</p>

        <p class="pull-right"><?php 
echo Yii::powered();
?>
</p>
    </div>
</footer>

<?php 
$this->endBody();
?>
</body>
</html>
<?php 
$this->endPage();
Example #3
Show file File: main_1.php Project: emisdb/myii
0
        </div>          


<div id="page">
	<?php 
echo $content;
?>

	<div class="clear"></div>

	<div id="footer" >
		Copyright &copy; <?php 
echo date('Y');
?>
 by EMIS.DB
		All Rights Reserved.
	<p>	<?php 
echo Yii::powered() . " ver." . Yii::getVersion();
?>
 &nbsp; </p>
	</div><!-- footer -->

</div><!-- page -->
   <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>-->
   <?php 
Yii::app()->getClientScript()->registerCoreScript('jquery', CClientScript::POS_END);
Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl . '/css/bootstrap/js/bootstrap.min.js', CClientScript::POS_END);
?>
</body>
</html>
Example #4
Show file File: main.php Project: veronin/IMV
0
					, 'visible'=>Yii::app()->user->isGuest),
				array('label'=>'Logout ('.Yii::app()->user->name.')'
					, 'url'=>Yii::app()->user->ui->logoutUrl
					, 'visible'=>!Yii::app()->user->isGuest),
				/* array('label'=>'Ingresar', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
				array('label'=>'r ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)*/
			)
		)); ?>
            
	</div><!-- mainmenu -->
	<?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('bootstrap.widgets.TbBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
		)); ?><!-- breadcrumbs -->
	<?php endif?>

	<?php echo $content; ?>

	<div class="clear"></div>

	<div id="footer">
		Copyright &copy; <?php echo date('Y'); ?> by Ver&#243;nica Nin<br/>
                <a href="http://www.uncoma.edu.ar/">Universidad Nacional del Comahue</a><br/>
		All Rights Reserved<br/>
		<?php echo Yii::powered(); ?>
	</div><!-- footer -->

</div><!-- page -->

</body>
</html>
Example #5
Show file File: main.php Project: nepster-web/yii2-test-job
0
?>
            </div>
    </div>



</div>

<footer class="footer">
    <div class="container">
        <p class="pull-left">&copy; <?php 
echo date('Y');
?>
</p>
        <p class="pull-right"><?php 
echo str_replace('Yii', 'Yii2', Yii::powered());
?>
</p>
    </div>
</footer>

<?php 
yii\widgets\Pjax::end();
?>

<?php 
$this->endBody();
?>
</body>
</html>
<?php 
Example #6
Show file File: main.php Project: jatuponp/discovery
0
echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>
                <?php 
echo $content;
?>
            </div>
        </div>

        <footer class="footer" style="background-color: #212121; color: #FFFFFF;">
            <div class="container">
                <p class="pull-left">&copy; My Company <?php 
echo date('Y');
?>
</p>
                <p class="pull-right"><?php 
echo Yii::powered() . ' ' . Yii::getVersion();
?>
</p>
            </div>
        </footer>

        <!-- Go To Top
        ============================================= -->
        <div id="gotoTop" class="icon-angle-up"></div>

        <?php 
$this->endBody();
?>
    </body>
</html>
<?php 
Example #7
Show file File: user.php Project: songhongyu/datecenter
0
<?php

use yii\helpers\Html;
$html['powered'] = Yii::powered();
$this->beginContent('@service/views/layouts/base.php');
echo $this->renderFile('@service/views/elements/nav.php');
// Render CSS
$init_css = <<<CSS
@media (max-width: 479px) {
  .navbar-fixed-top + .main-container {
    padding-top: 30px;
  }
  .navbar-fixed-top.navbar-collapse + .main-container {
    padding-top: 45px;
  }
}
CSS;
$this->registerCss($init_css);
$html = <<<HTML
<div class="main-container" id="main-container">
\t\t<div class="main-container-inner">
\t\t\t<div class="page-content">
\t\t\t\t{$content}
\t\t\t</div>
\t\t</div>
\t\t<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
\t\t\t<i class="icon-double-angle-up icon-only bigger-110"></i>
\t\t</a>
\t</div>
<div class="mtm copyright_normal text-center">{$html['powered']} &nbsp;&copy 2015 </div>
HTML;
Example #8
Show file File: menus.php Project: jatuponp/rgweb
0
<?php

use yii\bootstrap\Nav;
Nav::begin();
echo Nav::widget(['options' => ['class' => 'nav-pills nav-stacked'], 'encodeLabels' => false, 'items' => [['label' => '&nbsp;', 'options' => ['class' => 'nav-header disabled'], 'visible' => !Yii::$app->user->isGuest], ['label' => '<i class="glyphicon glyphicon-pencil"></i> เขียนบทความ', 'url' => ['/admin/article/update'], 'visible' => Yii::$app->user->can('Editor')], ['label' => '<i class="glyphicon glyphicon-book"></i> บริหารบทความ', 'url' => ['/admin/article/index'], 'visible' => Yii::$app->user->can('Editor')], ['label' => '<i class="glyphicon glyphicon-book"></i> บริหารเอกสารดาวน์โหลด', 'url' => ['/admin/document/index'], 'active' => Yii::$app->controller->id == 'document', 'visible' => Yii::$app->user->can('Editor')], ['label' => '<i class="glyphicon glyphicon-folder-open"></i> บริหารหมวดหมู่บทความ', 'url' => ['/admin/categories/index'], 'active' => Yii::$app->controller->id == 'categories', 'visible' => Yii::$app->user->can('Authority')], ['label' => '<i class="glyphicon glyphicon-tasks"></i> บริหารเมนูเว็บไซต์', 'url' => ['/admin/menus/index'], 'active' => Yii::$app->controller->id == 'menus', 'visible' => Yii::$app->user->can('Editor')], ['label' => '<i class="glyphicon glyphicon-picture"></i> บริหารภาพสไลด์', 'url' => ['/admin/slider/index'], 'active' => Yii::$app->controller->id == 'slider', 'visible' => Yii::$app->user->can('Administrator')], ['label' => '<i class="glyphicon glyphicon-picture"></i> บริหารภาพกิจกรรม', 'url' => ['/admin/gallery/index'], 'active' => Yii::$app->controller->id == 'gallery', 'visible' => Yii::$app->user->can('Administrator')], ['label' => '<i class="glyphicon glyphicon-user"></i> บริหารข้อมูลผู้ใช้', 'url' => ['/admin/user/index'], 'active' => Yii::$app->controller->id == 'user', 'visible' => Yii::$app->user->can('Authority')], ['label' => '<i class="glyphicon glyphicon-stats"></i> สถิติการเยื่ยมชมเว็บไซต์', 'url' => ['/admin/stat/index'], 'active' => Yii::$app->controller->id == 'stat', 'visible' => !Yii::$app->user->isGuest]]]);
Nav::end();
echo '<br/>' . Yii::powered() . ': ' . Yii::getVersion();
Example #9
Show file File: main - gosent1.php Project: C12D/api
0
			
		</section>
	</aside>

	
   <div class="content-wrapper">
		akaak
   </div>
	<footer class="footer">
		<div class="container">
		<p class="pull-left">&copy; Gosend <?php 
echo date('Y');
?>
</p>
		<p class="pull-right"><?php 
echo Yii::powered() . ' - Gosend';
?>
</p>
		</div>
	</footer>
		

	 
	 
	 
	 
	 
	 
	 
	 
	 
Example #10
Show file File: base.php Project: rafalsky/home-finance
0
NavBar::begin(['brandLabel' => \Yii::$app->name, 'brandUrl' => \Yii::$app->homeUrl, 'options' => ['class' => 'navbar-inverse navbar-fixed-top']]);
?>
    <?php 
echo Nav::widget(['options' => ['class' => 'navbar-nav navbar-right'], 'items' => [['label' => \Yii::t('frontend', 'Home'), 'url' => ['/site/index']], ['label' => \Yii::t('frontend', 'About'), 'url' => ['/page/view', 'slug' => 'about']], ['label' => \Yii::t('frontend', 'Articles'), 'url' => ['/article/index']], ['label' => \Yii::t('frontend', 'Contact'), 'url' => ['/site/contact']], ['label' => \Yii::t('frontend', 'Signup'), 'url' => ['/user/sign-in/signup'], 'visible' => \Yii::$app->user->isGuest], ['label' => \Yii::t('frontend', 'Login'), 'url' => ['/user/sign-in/login'], 'visible' => \Yii::$app->user->isGuest], ['label' => \Yii::$app->user->isGuest ? '' : \Yii::$app->user->identity->getPublicIdentity(), 'visible' => !\Yii::$app->user->isGuest, 'items' => [['label' => \Yii::t('frontend', 'Settings'), 'url' => ['/user/default/index']], ['label' => \Yii::t('frontend', 'Backend'), 'url' => \Yii::getAlias('@backendUrl'), 'visible' => \Yii::$app->user->can('manager')], ['label' => \Yii::t('frontend', 'Wallet'), 'url' => \Yii::getAlias('@walletUrl')], ['label' => \Yii::t('frontend', 'Logout'), 'url' => ['/user/sign-in/logout'], 'linkOptions' => ['data-method' => 'post']]]], ['label' => \Yii::t('frontend', 'Language'), 'items' => array_map(function ($code) {
    return ['label' => \Yii::$app->params['availableLocales'][$code], 'url' => ['/site/set-locale', 'locale' => $code], 'active' => \Yii::$app->language === $code];
}, array_keys(\Yii::$app->params['availableLocales']))]]]);
?>
    <?php 
NavBar::end();
?>

    <?php 
echo $content;
?>

</div>

<footer class="footer">
    <div class="container">
        <p class="pull-left">&copy; Rafalsky.com <?php 
echo date('Y');
?>
</p>
        <p class="pull-right"><?php 
echo \Yii::powered();
?>
</p>
    </div>
</footer>
<?php 
$this->endContent();
Example #11
Show file File: footer.php Project: fourteenmeister/yii2-app-advanced
0
<?php

use fourteenmeister\extensions\SemanticUI\collections\Menu;
echo Menu::widget(['id' => 'footer', 'options' => ['tag' => 'footer', 'class' => 'small bottom fixed'], 'items' => [['label' => '&copy; Custom Yii2 Advanced ' . date('Y'), 'url' => 'https://github.com/fourteenmeister/yii2-app-advanced', 'encode' => false, 'options' => ['class' => 'header', 'target' => '_blank']]], 'rightMenuItems' => [['label' => Yii::powered(), 'encode' => false, 'options' => ['style' => 'display: block;']]]]);
Example #12
Show file File: main_adm.php Project: emisdb/elyii
0
    ?>
		<?php 
    $this->widget('zii.widgets.CBreadcrumbs', array('links' => $this->breadcrumbs));
    ?>
<!-- breadcrumbs -->
	<?php 
}
?>
	
	<?php 
echo $content;
?>

<p class="clear" />	
</div><!-- page -->
		
						
				</div> <!--wrap-right-->
				<p class="clear"/>
			<div id="footer" style="margin-top:5px;">
<?php 
echo trim(Yii::powered() . " ver." . Yii::getVersion());
?>
 
			</div>
		
		</div> <!--wrapper-->
	</body>

	
</html>
Example #13
Show file File: main.php Project: dextercool/FreeRadiusManager
0
    <div class="containerd" style="padding:1%">
        <?php 
echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>
        <?php 
echo $content;
?>
    </div>
</div>

<footer class="footer">
    <div class="container">
        <p class="pull-left">&copy; My Company <?php 
echo date('Y');
?>
</p>

        <p class="pull-right"><?php 
Yii::powered();
?>
Kenk Dev</p>
    </div>
</footer>

<?php 
$this->endBody();
?>
</body>
</html>
<?php 
$this->endPage();