echo MLayout::getBodytagCssClass(); ?> "> <div class="w3-document-container"> <div class="w3-header"> <div class="<?php echo MLayout::getContainerCssClass(); ?> "> <div class="<?php echo MLayout::getGridCssClass(); ?> "> <div class="w3-logo"><h1><?php echo CHtml::link(CHtml::encode(MParams::getHeaderTitle()), Yii::app()->homeUrl); ?> </h1></div> </div> </div><!-- <?php echo MLayout::getContainerCssClass(); ?> --> <div class="clear"> </div> <?php $this->widget('application.components.WMainMenu', array('items' => array(array('label' => Yii::t('link', 'Home'), 'url' => array('site/index'), 'options' => array('title' => Yii::t('link', 'Main page'))), array('label' => Yii::t('link', 'Login'), 'url' => Yii::app()->user->loginUrl, 'visible' => !Yii::app()->user->checkAccess(User::ADMINISTRATOR), 'options' => array('title' => Yii::t('link', 'Authenticate using my member account'))), array('label' => Yii::t('link', 'Logout'), 'url' => array('user/logout'), 'visible' => Yii::app()->user->checkAccess(User::ADMINISTRATOR), 'options' => array('title' => Yii::t('link', 'Leave my member account')))))); ?> </div><!-- w3-header --> <div class="clear"><a name="top"> </a></div>
<?php MLayout::hideSidebars(); $this->widget('application.components.WContentHeader', array('afterLabel' => false, 'displayBreadcrumbs' => false, 'label' => 'Welcome, ' . (Yii::app()->user->isGuest ? Yii::app()->user->name : Yii::app()->user->screenName) . '!')); ?> <div class="w3-widget"> <p> This is the homepage of <em><?php echo MParams::getHeaderTitle(); ?> </em>. You may modify the following files to customize the content of this page: </p> <dl> <dt><?php echo Yii::app()->controllerPath . DIRECTORY_SEPARATOR . 'SiteController.php'; ?> </dt> <dd>This file contains the <tt>SiteController</tt> class which is the default application controller. Its default <tt>index</tt> action renders the content of the following two files. </dd> <dt><?php echo __FILE__; ?> </dt> <dd>This is the view file that contains the body content of this page.</dd> <dt><?php echo Yii::app()->layoutPath . DIRECTORY_SEPARATOR . 'main.php'; ?> </dt>