<?php
/* @var $this PaperController */
/* @var $data Paper */
?>

<div class="col-xs-12 col-md-6 col-lg-6">
	<!-- Default box -->
	<div class="box box-solid">
		<div class="box-header">
			<h3 class="box-title">

				<?php echo CHtml::link(CHtml::encode("Detail Video"), array('view', 'id'=>$data->id_paper)); ?>

			</h3>
		</div>
		<div class="box-body">

			<div class="col-md-12 col-lg-6 col-xl-6">
				<div class="widget widget-tile">
					<div class="data-info">
						<div class="desc">Nilai Total</div>
						<div class="value"><span class="indicator indicator-positive mdi mdi-chevron-right"></span>
							<span class="number" data-toggle="counter" data-end="80" data-suffix="%"><?php echo Review::model()->getTotalList($data->id_paper,1); ?></span>
						</div>
					</div>
				</div>
			</div>

			<div class="col-md-12 col-lg-6 col-xl-6">
				<div class="widget widget-tile">
					<div class="data-info">
						<div class="desc">Nilai Rata-Rata</div>
						<div class="value"><span class="indicator indicator-positive mdi mdi-chevron-right"></span>
							<span class="number" data-toggle="counter" data-end="80" data-suffix="%"><?php echo Review::model()->getTotalList($data->id_paper,2); ?></span>
						</div>
					</div>
				</div>
			</div>

			<?php $this->widget('zii.widgets.CDetailView', array(
				'data'=>$data,
				'htmlOptions'=>array("class"=>"table"),
				'attributes'=>array(
					// 'id_paper',
					'created_date',
					// 'created_id',
					// 'update_date',
					// 'update_id',
					// 'researchers_id',
					array('name'=>'researchers_id','value'=>$data->Researchers->fullname),
					// array('label'=>'Jenjang Peneliti','value'=>$data->Researchers->description),
					// array('label'=>'Unit Kerja','value'=>Department::model()->getName($data->Researchers->division)),
					// 'paper_image',
					// 'paper_file',
					// 'status',
				),
			)); ?>

		</div><!-- /.box-body -->
	</div><!-- /.box -->
</div>
