<?php
/* @var $this ClusterController */
/* @var $data Cluster */
?>


<div class="row">
	<div class="col-md-7">

		<p><?php echo CHtml::encode($data->name); ?></p>

	</div>
	<div class="col-md-1">
		<div class="label label-primary">( <?php echo Question::model()->countPointMY($data->id_sub,YII::app()->user->id); ?> / <?php echo Question::model()->countPoint($data->id_sub); ?> )</div>
	</div>
	<div class="col-md-1">
		<div class="label label-success"> <?php echo Question::model()->sumPointMY($data->id_sub,YII::app()->user->id); ?> </div>
	</div>
	<div class="col-md-2">
		<div class="label label-info"> Nilai Maksimal <?php echo Question::model()->countTotalPoint($data->id_sub); ?> </div>
	</div>
	<div class="col-md-1">
		<?php echo CHtml::link('Proses',
			array('master/sub/view', 'id'=>$data->id_sub),
			array('class' => 'tombol btn btn-info','title'=>'Proses'));
			?>
		</div>

	</div>

	
