Exemplo n.º 1
0
</li>
            <li class="heart-list">0</li>

        </ul>
        <div style="clear: both;"></div>
        <p>
            <?php 
echo Html::encode($articleInfo->c_content);
?>
        </p>
    </div>
    <div class="decoration"></div>
    <?php 
$get = Yii::$app->request->get();
$data = ['top_id' => $articleInfo->id, 'limit' => 5, 'get' => $get];
$realyLists = CommentService::findRepays($data);
?>
    <div class="container no-bottom" style='border-top:none;'>
        <?php 
if ($realyLists['models']) {
    ?>
            <?php 
    Pjax::begin(['id' => 'loadpajax']);
    $begin = $realyLists['pages']->getPage() * $realyLists['pages']->pageSize + 1;
    $end = $begin + $realyLists['pages']->getPageSize() - 1;
    if ($begin > $end) {
        $begin = $end;
    }
    ?>
            <div class='container no-bottom'>
                <?php