Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 3076 → Rev 3089

/web/acc/manager/htdocs/stats.php
211,13 → 211,16
if ($search){
$row = @da_sql_fetch_array($search,$config);
$data[$day][1] = $row['res_1'];
$data['sum'][1] += $row['res_1'];
$data_tmp = (int)$data['sum'][1] ;
$data['sum'][1] = $data_tmp + $row['res_1'];
$stats_num[1] = ($data[$day][1]) ? $stats_num[1] + 1 : $stats_num[1];
$data[$day][2] = $row['res_2'];
$data['sum'][2] += $row['res_2'];
$data_tmp = (int)$data['sum'][2];
$data['sum'][2] = $data_tmp + $row['res_2'];
$stats_num[2] = ($data[$day][2]) ? $stats_num[2] + 1 : $stats_num[2];
$data[$day][3] = $row['res_3'];
$data['sum'][3] += $row['res_3'];
$data_tmp = (int)$data['sum'][3];
$data['sum'][3] = $data_tmp + $row['res_3'];
$stats_num[3] = ($data[$day][3]) ? $stats_num[3] + 1 : $stats_num[3];
}
else