<?php
/* @var $this ExammanageController */
/* @var $data Exammanage */
?>
	<?php //echo CJSON::encode($data->score_exam['totalScore'])."名"; ?>
<div class="view">
	<b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
	<?php echo CHtml::encode($data->title); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('summary')); ?>:</b>
	<?php echo $data->summary; ?>
	<br />
	
	<b><?php echo CHtml::label('总分',''); ?>:</b>
	<script type='text/javascript' src="<?php echo $this->createUrl('exammanage/totalscore/exam_id/').'/'.$data->id?>"></script><?php echo "分"; ?>
	<br />
	
	<b><?php echo CHtml::label('班排',''); ?>:</b>
	<script type='text/javascript' src="<?php echo $this->createUrl('exammanage/classroom_rank/exam_id/').'/'.$data->id?>"></script><?php echo "名"; ?>
	<br />
	
	<b><?php echo CHtml::label('年排',''); ?>:</b>
	<script type='text/javascript' src="<?php echo $this->createUrl('exammanage/grade_rank/exam_id/').'/'.$data->id?>"></script><?php echo "名"; ?>
	<br />
	
	<b><?php echo CHtml::label('及格',''); ?>:</b>
	<?php //echo $data->score_exam.totalScore; ?>
	<script type='text/javascript' src="<?php echo $this->createUrl('exammanage/jige/exam_id/').'/'.$data->id?>"></script>
	<br />	
	<b><?php echo CHtml::label('相关操作',''); ?>:</b>
	<?php 
	echo CHtml::link('单选错题',array('listview','type'=>'single','exam_id'=>$data->id)).'&nbsp;&nbsp;&nbsp;&nbsp;'; 
	echo CHtml::link('多选错题',array('listview','type'=>'multi','exam_id'=>$data->id)).'&nbsp;&nbsp;&nbsp;&nbsp;';
	echo CHtml::link('判断错题',array('listview','type'=>'judge','exam_id'=>$data->id)).'&nbsp;&nbsp;&nbsp;&nbsp;'; 
	?>
	<br />
</div>