コード例 #1
0
ファイル: index.php プロジェクト: plathir/my-yii-adv
?>

<div class="row row-centered">

    <div class="col-md-12">
        <?php 
echo $this->render('apps.php', ['applications' => $applications]);
?>
        <?php 
echo '';
?>
    </div>
</div>

<div class="row">
    <div class="col-md-4">
        <?php 
echo $this->render('latest_members.php', ['LatestUsers' => $LatestUsers]);
?>

    </div>


    <div class="col-md-8">
        <?php 
echo LatestPosts::widget(['latest_num' => 10, 'Theme' => 'smart']);
?>

    </div>

</div>
コード例 #2
0
ファイル: index.php プロジェクト: plathir/yii2-smart-blog
echo Html::a(Yii::t('app', '<i class="fa fa-folder-open"></i>File Manager'), ['/blog/posts/filemanager'], ['class' => 'btn btn-app']);
?>
            <?php 
echo Html::a(Yii::t('app', '<i class="fa fa-gears"></i>Settings'), ['/blog/settings'], ['class' => 'btn btn-app']);
?>
            <?php 
echo Html::a(Yii::t('app', '<i class="fa fa-list"></i>Categories'), ['/blog/category'], ['class' => 'btn btn-app']);
?>
            <?php 
echo Html::a(Yii::t('app', '<i class="fa fa-th-list"></i>Posts Preview'), ['/blog/posts/list'], ['class' => 'btn btn-app']);
?>
        </div>
    </div>

    <?php 
echo LatestPosts::widget(['latest_num' => 10, 'Theme' => $Theme]);
?>

    <?php 
echo MostVisitedPosts::widget(['posts_num' => 10, 'Theme' => $Theme]);
?>
    <div class="row">


        <div class="col-lg-4">
            <?php 
echo TopAuthors::widget(['authors_num' => 10, 'Theme' => $Theme]);
?>

        </div>