{:L('PUBLIC_VISIT_CALCULATION')}

- class = "on">{:L('PUBLIC_TODAY')}
- class = "on">{:L('PUBLIC_YESTERDAY')}
- class = "on">{:L('PUBLIC_LAST_SEVEN_DAYS')}
- class = "on">{:L('PUBLIC_LAST_THIRTY_DAYS')}
- class = "on">{:L('PUBLIC_THIS_MONTH')}
- -

{:L('PUBLIC_STATISTICAL_TIME')} | {:L('PUBLIC_VIEWS_PV')} | {:L('PUBLIC_INDEPENDENT_VISITORS')} | {:L('PUBLIC_PER_CAPITA_VIEWS')} | {:L('PUBLIC_MAXIMUM_ONLINE_SAME_TIME')} | {:L('PUBLIC_MAXIMUM_ONLINE_TIME')}
--- | --- | --- | --- | --- | ---
if(empty($data)){
{:L('SSC_NO_RELATE_DATA')}
}else{ $value[0][] = $value[1][] = $value[2][] = 0; $user = $vo['total_users']+$vo['total_guests']; $value[0][] = $vo['total_pageviews']; $value[1][] = $user; $value[2][] = round($vo['total_pageviews']/$user,2); $ticks[] = $vo['day'];
{$vo.day} | {$vo.total_pageviews} | {$user} | echo round($vo['total_pageviews']/$user,2); | {$vo.most_online_users} | {:date('H:i',$vo['most_online_time']-1800)} - {:date('H:i',$vo['most_online_time'])}
}

if($type !='today' && $type !='yesterday'){
{:W('Plot',array('tpl'=>'zx','type'=>'zx','value'=>$value,'title'=>$type,'ticks'=>$ticks))}
}