|
|
@ -277,9 +277,17 @@ function doblocks($data, $user) |
|
|
|
if ($diffratio > 0) |
|
|
|
if ($diffratio > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$pct = 100.0 * $diffratio; |
|
|
|
$pct = 100.0 * $diffratio; |
|
|
|
|
|
|
|
if ($conf != 'O' and $conf != 'R') |
|
|
|
|
|
|
|
{ |
|
|
|
list($fg, $bg) = pctcolour($pct); |
|
|
|
list($fg, $bg) = pctcolour($pct); |
|
|
|
$bpct = "<font color=$fg>$approx".number_format($pct, 3).'%</font>'; |
|
|
|
$bpct = "<font color=$fg>$approx".number_format($pct, 3).'%</font>'; |
|
|
|
$bg = " bgcolor=$bg"; |
|
|
|
$bg = " bgcolor=$bg"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
$bpct = "$approx".number_format($pct, 3).'%'; |
|
|
|
|
|
|
|
$bg = ''; |
|
|
|
|
|
|
|
} |
|
|
|
$blktot += $diffacc; |
|
|
|
$blktot += $diffacc; |
|
|
|
if ($conf != 'O' and $conf != 'R') |
|
|
|
if ($conf != 'O' and $conf != 'R') |
|
|
|
$nettot += $netdiff; |
|
|
|
$nettot += $netdiff; |
|
|
|