	<div class="panel panel-border-color panel-border-color-primary">
		<div class="panel-heading">
			<h4 class="panel-title">

				<a data-toggle="collapse" data-parent="#accordion1" href="#collapse-<?php echo $data->id_cluster; ?>" aria-expanded="false" class="collapsed"><i class="icon mdi mdi-chevron-down"></i> <?php echo CHtml::encode($data->name); ?>


					<span class="pull-right">

						<span class="label label-success">Nilai <b><?php echo Question::model()->countTotalPointCluster($data->id_cluster,$user_id,$sessionid); ?></b></span>

						<span class="label label-danger">Max <b><?php echo Question::model()->sumTotalPointCluster($data->id_cluster); ?></b></span>

					</span>

				</a>


			</h4>
		</div>
		<div id="collapse-<?php echo $data->id_cluster; ?>" class="panel-collapse collapse" aria-expanded="false" style="">
			<div class="panel-body">
				<div class="col-sm-12">

					<?php
					$dataProvider=new CActiveDataProvider('Sub',array('criteria'=>array('condition'=>'cluster_id='.$data->id_cluster.'')));
					$this->widget('zii.widgets.CListView', array(
						'dataProvider'=>$dataProvider,
						'itemView'=>'_view_sub',
						'summaryText'=>'',
						'viewData' => array("user_id"=>$user_id,"token"=>$token,"sessionid"=>$sessionid),
						)); ?>



					</div>
				</div>
			</div>
		</div>



