Example #1
0
}
?>

    <?php 
if ($node) {
    echo \frontend\widgets\Panel::widget(['title' => \Yii::t('app', 'Same Node Topics'), 'items' => $sameTopics]);
}
?>

    <div class="panel panel-default corner-radius">
        <div class="panel-heading text-center">
            <h3 class="panel-title"><?php 
echo \Yii::t('app', 'Tips and Tricks');
?>
</h3>
        </div>
        <div class="panel-body">
            <?php 
echo \yii\helpers\Markdown::process($tips, 'gfm');
?>
        </div>
    </div>

    <?php 
\frontend\widgets\Panel::widget(['title' => \Yii::t('app', 'Site Status'), 'items' => []]);
?>


</div>
<div class="clearfix"></div>
Example #2
0
                            <?php 
}
?>
                        </ul>                 
                    </div>
                
                    
            <?php 
if (Yii::$app->user->isGuest) {
    ?>
                    <div class="panel-heading"><i class='glyphicon glyphicon-log-in'></i> Login/Daftar Terlebih Dahulu Untuk Komentar.</div>
            <?php 
} else {
    ?>
                    
                    <?php 
    echo $this->render('_komentar', ['comment' => $comment]);
}
?>
            <?php 
Panel::end();
?>

        </div>
    </div>
    <div id="infos"></div>
    <?php 
Pjax::end();
?>
</div>