Browse Source

Merge branch 'master' of bitbucket.org:ckolivas/ckpool

master
Con Kolivas 10 years ago
parent
commit
d4d22949d8
  1. 16
      pool/page_blocks.php

16
pool/page_blocks.php

@ -69,12 +69,23 @@ function doblocks($data, $user)
else
$row = 'odd';
$hi = $ans['height:'.$i];
$hifld = "$blink$hi>$hi</a>";
$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 = '<span class=st0>*</span>';
}
$hi = $ans['height:'.$i];
$hifld = "$blink$hi>$hi</a>";
$diffacc = $ans['diffacc:'.$i];
$acc = number_format($diffacc, 0);

Loading…
Cancel
Save