diff --git a/pool/page_blocks.php b/pool/page_blocks.php index b77d426e..09dc866d 100644 --- a/pool/page_blocks.php +++ b/pool/page_blocks.php @@ -44,12 +44,16 @@ function doblocks($data, $user) $pg = '
Height | "; - $pg .= "Who | "; + if ($user !== null) + $pg .= "Who | "; $pg .= "Reward | "; $pg .= "When | "; $pg .= "Status | "; @@ -119,7 +123,8 @@ function doblocks($data, $user) $pg .= "||||||||||||
$hifld | "; - $pg .= "".htmlspecialchars($ans['workername:'.$i]).' | '; + if ($user !== null) + $pg .= "".htmlspecialchars($ans['workername:'.$i]).' | '; $pg .= "".btcfmt($ans['reward:'.$i]).' | '; $pg .= "".gmdate('Y-m-d H:i:s+00', $ans['firstcreatedate:'.$i]).' | '; $pg .= "".$stat.' | '; @@ -141,7 +146,10 @@ function doblocks($data, $user) $bg = " bgcolor=$bg"; $pg .= "||||||||||||
"; + if ($user === null) + $pg .= " | "; + else + $pg .= " | "; $pg .= " | ".$bpct.' | '; $pg .= "