<?php
/* @var $this ErrorsetController */
/* @var $model Errorset */

$this->breadcrumbs=array(
	'单选题中心'=>array('/testcenter/index/type/single'),
	$model->title,
);

$this->menu=array(
	array('label'=>'List Errorset', 'url'=>array('index')),
	array('label'=>'Create Errorset', 'url'=>array('create')),
	array('label'=>'Update Errorset', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Errorset', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Errorset', 'url'=>array('admin')),
);
?>
<style type="text/css">
<!--
	table.detail-view th {
    text-align: center;
    width: 30px;
}
-->
</style>
<h1><?php echo $model->title; ?></h1>
<?php 
	$arr_az=array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
	$i=0;
	$str="";
	foreach(explode('^-^',$model->tizhi) as $k=>$v) 
		{
			$str.=$arr_az[$i].'、'.CHtml::encode($v)."<br/>";$i++;
		}
	$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'tigan:html',
		array(
			'label'=>'题支',
			'type'=>'raw',
			'value'=>$str,
			),
		'answer',
	),
)); ?>
