diff --git a/pool/page.php b/pool/page.php index 3fdf0525..54eafadd 100644 --- a/pool/page.php +++ b/pool/page.php @@ -129,6 +129,10 @@ h1 {margin-top: 20px; float:middle; font-size: 20px;} .dls {text-align: left; padding: 2px 8px; text-decoration:line-through; font-weight:lighter; } .drs {text-align: right; padding: 2px 8px; text-decoration:line-through; font-weight:lighter; } .dcs {text-align: center; padding: 2px 8px; text-decoration:line-through; font-weight:lighter; } +.st0 {font-weight:bold; } +.st1 {color:red; font-weight:bold; } +.st2 {color:green; font-weight:bold; } +.st3 {color:blue; font-weight:bold; } \n"; $head .= ''; diff --git a/pool/page_blocks.php b/pool/page_blocks.php index c44c2d5f..043569ff 100644 --- a/pool/page_blocks.php +++ b/pool/page_blocks.php @@ -76,6 +76,16 @@ function doblocks($data, $user) if ($stat == '1-Confirm') $stat = 'Conf'; + $stara = ''; + $starp = ''; + if (isset($ans['status:'.($i+1)])) + if ($ans['status:'.($i+1)] == 'Orphan' + && $stat != 'Orphan') + { + $stara = '*'; + $starp = '*'; + } + $hi = $ans['height:'.$i]; $hifld = "$blink$hi>$hi"; @@ -87,7 +97,7 @@ function doblocks($data, $user) { $pct = 100.0 * $diffacc / $netdiff; list($fg, $bg) = pctcolour($pct); - $bpct = "".number_format($pct, 2).'%'; + $bpct = "$starp".number_format($pct, 2).'%'; $bg = " bgcolor=$bg"; $blktot += $diffacc; if ($stat != 'Orphan') @@ -105,8 +115,8 @@ function doblocks($data, $user) $pg .= "".btcfmt($ans['reward:'.$i]).''; $pg .= "".gmdate('Y-m-d H:i:s+00', $ans['firstcreatedate:'.$i]).''; $pg .= "".$stat.''; - $pg .= "".$acc.''; - $pg .= "".$bpct.''; + $pg .= "$stara$acc"; + $pg .= "$bpct"; $pg .= "\n"; } }