예제 #1
0
    echo InfiniteScrollPager::widget(['pagination' => $model->broadcasts['pages'], 'widgetId' => '.thread-list']);
    ?>
      <?php 
} else {
    ?>
          <div class="widget-container">
              <div style="padding:50px">
                  <h1><?php 
    echo Yii::t('app', 'No data to display.');
    ?>
</h1>
              </div>
          </div>
      <?php 
}
?>
  </div>
</div>
<div class="col-xs-12 col-sm-4 col-md-4">
    <?php 
echo \app\widgets\login\Login::widget(['title' => Yii::t('app', 'Log in'), 'visible' => Yii::$app->user->isGuest]);
?>
  <div class="panel panel-default">
    <div class="panel-heading">About</div>
    <div class="panel-body">
      <?php 
echo Html::encode($model->forum_desc);
?>
    </div>
  </div>
</div>
예제 #2
0
    echo InfiniteScrollPager::widget(['pagination' => $model->broadcasts['pages'], 'widgetId' => '.thread-list']);
    ?>
      <?php 
} else {
    ?>
          <div class="widget-container">
              <div style="padding:50px">
                  <h1><?php 
    echo Yii::t('app', 'No data to display.');
    ?>
</h1>
              </div>
          </div>
      <?php 
}
?>
  </div>
</div>
<div class="col-xs-12 col-sm-4 col-md-4">
  <?php 
echo \app\widgets\login\Login::widget(['visible' => Yii::$app->user->isGuest]);
?>
  <div class="panel panel-default">
    <div class="panel-heading">About</div>
    <div class="panel-body">
      <?php 
echo Html::encode($model->forum_desc);
?>
    </div>
  </div>
</div>