<div class="row widget">
<h3 class="title">新闻中心</h3>
<div class="list-group">
  <?php foreach($list as $key=>$value){?>
  <a href="<?php echo $value['url'];?>" class="list-group-item <?php if(Yii::$app->request->get('cid')==$value['id'] || $active_id==$value['id']){?>active<?php }?>"><?php echo $value['name'];?></a>
  <?php }?>
</div>
</div>