diff --git a/pool/page_blocks.php b/pool/page_blocks.php index 9110e5aa..b8487b48 100644 --- a/pool/page_blocks.php +++ b/pool/page_blocks.php @@ -69,12 +69,23 @@ function doblocks($data, $user) else $row = 'odd'; + $hi = $ans['height:'.$i]; + $hifld = "$blink$hi>$hi"; + $ex = ''; $stat = $ans['status:'.$i]; if ($stat == 'Orphan') $ex = 's'; if ($stat == '1-Confirm') - $stat = 'Conf'; + { + if (isset($data['info']['lastheight'])) + { + $conf = 1 + $data['info']['lastheight'] - $hi; + $stat = '+'.$conf.' Confirms'; + } + else + $stat = 'Conf'; + } $stara = ''; $starp = ''; @@ -86,9 +97,6 @@ function doblocks($data, $user) $starp = '*'; } - $hi = $ans['height:'.$i]; - $hifld = "$blink$hi>$hi"; - $diffacc = $ans['diffacc:'.$i]; $acc = number_format($diffacc, 0);