说明：数据非实时，今天产生昨天的数据，按天显示，从2011-01-12开始，其他的没有统计
<br/>
UPV表示当前访问者已经注册成用户，但保存的书签里依然带了ruid产品的访问数，UUV概念类似，表示独立的访问数
<br/>
<?php echo CHtml::beginForm(array('/'.$this->route), 'get', array('name'=>'form'));?>
时间：<?php echo Operate::date('date');?> <?php echo CHtml::submitButton('查询');?>
<br/>
数据日期：<?php echo $date;?>
<?php echo CHtml::endForm();?>
<?php $this->widget('admin.widgets.TableCover');?>

<?php
//$path = Yii::getPathOfAlias('application.extensions.FusionCharts');
//include($path.'/FusionCharts.php');
?>
<?php
$strXML = '';
$strXML .= "<chart caption='用户注册信息' subCaption='$date' bgColor='#ffffff'>";
$strXML .= "<set label='未验证用户' value='".($dataSum->register - $dataSum->valid_u)."' />";
$strXML .= "<set label='已验证用户' value='{$dataSum->valid_u}' />";
$strXML .= "</chart>";
//echo renderChartHTML("protected/extensions/FusionCharts/FCF_Pie2D.swf", "", $strXML, "myFirst", 300, 300);
?>

<?php
$strXML = '';
$strXML .= "<chart caption='流量信息' subCaption='$date' bgColor='#ffffff'>";
$strXML .= "<set label='非手机PV' value='".($dataSum->pv - $dataSum->valid_pv)."' />";
$strXML .= "<set label='手机PV' value='{$dataSum->valid_pv}' />";
$strXML .= "</chart>";
//echo renderChartHTML("protected/extensions/FusionCharts/FCF_Pie2D.swf", "", $strXML, "myFirst", 300, 300);
?>

<?php
$strXML = '';
$strXML .= "<chart caption='新增PV' subCaption='$date' bgColor='#ffffff'>";
$strXML .= "<set label='非手机PV' value='".($dataSum->u_pv)."' />";
$strXML .= "<set label='手机PV' value='{$dataSum->u_valid_pv}' />";
$strXML .= "</chart>";
//echo renderChartHTML("protected/extensions/FusionCharts/FCF_Pie2D.swf", "", $strXML, "myFirst", 300, 300);
?>
<?php
$this->widget(
    'zii.widgets.grid.CGridView',
    array(
        'dataProvider' => $dataProvider,
        'itemsCssClass' => 'widefat post',
        'summaryText'=>'显示{start}-{end}条 总共{count}条',
        'ajaxUpdate' => false,
        'columns' => array(
            'date',
            'entrance',
            'valid_entrance',
            'isvalid_entrance',
            'n_pv',
            'n_valid_pv',
            'register',
            'pv',
            'valid_pv',
            'uv',
            'valid_uv',
            'u_pv',
            'u_uv',
            'valid_u',
        ),
    )
);
