<?php use yii\helpers\Html; use yii\helpers\Url; use common\includes\UrlUtility; ?> <li> <h4><?php echo UrlUtility::getContentLink($row, $length); ?> </h4> <a href="<?php echo UrlUtility::getContentUrl($row); ?> "> <img src="http://images.china.cn/attachement/jpg/site1000/20140629/d02788e9b6d41519f4ac0b.jpg" border="0" alt="<?php echo $row['title']; ?> " /> </a> <p><?php echo UrlUtility::getContentLink($row, 0, ['title' => $row['summary']]); ?> </p> </li>
echo UrlUtility::getContentUrl($hotContent); ?> "> <img src="<?php echo CommonUtility::getTitlePic($hotContent); ?> " style="width:380px;"></a> <h2><?php echo UrlUtility::getContentLink($hotContent); ?> </h2> <p style="width:260px;"><?php echo TStringHelper::subStr($hotContent['summary'], 100); ?> <a href="<?php echo UrlUtility::getContentUrl($hotContent); ?> ">[详细]</a></p> <?php } ?> </div> <div class="clear"></div> <div class="content-channel"> <?php echo LoopData::widget(['dataSource' => $dataList, 'item' => 'item-subchannel']); ?> </div> </div> <div class="columnRight">