<h2>每日广告数据</h2> <?php echo CHtml::link('汇总数据', array('/admin/adflux/sum'));?>|<?php echo CHtml::link('广告位数据', array('/admin/adflux/space'));?>
<?php $this->renderPartial('_search');?>
<?php $this->widget('admin.widgets.TableCover');?>
<?php $this->widget('zii.widgets.grid.CGridView', array(
	'dataProvider'=>$dataProvider,
    'itemsCssClass' => 'widefat post',
    'summaryText'=>'显示{start}-{end}条 总共{count}条',
    'columns' => array(
            'id',
            'adid',
            array(
                'name' => 'ad.title',
                'value' => '$data->ad->title',
            ),
            'click',
            'valid_click',
            'u_click',
            'u_valid_click',
            'date',
    ),
));