<h1>专题《<?php echo $special->subject;?>》</h1>
<?php $this->widget('admin.widgets.TableCover');?>
<?php echo CHtml::link('添加小说', array('create','id'=>$special->id));?>
<?php $this->widget('zii.widgets.grid.CGridView', array(
	'dataProvider'=>$dataProvider,
    'itemsCssClass' => 'widefat post',
    'summaryText'=>'显示{start}-{end}条 总共{count}条',
    'columns' => array(
        'id',
        'sid',
        'bid',
        array(
            'name' => '书名',
            'value' => '$data->book->bookname',
        ),
        'name',
        'remarks',
        array(
            'name' => 'isimg',
            'value' => '$data->isImage();'
        ),
        'createdate',
        'updatedate',
        array(
            'header' => '操作',
            'template' => '{update} {delete}',
            'class' => 'CButtonColumn'
        )
    ),
));
?>