Blocks'; $ans = getBlocks($user); $pg .= "\n"; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= "\n"; if ($ans['STATUS'] == 'ok') { $count = $ans['rows']; for ($i = 0; $i < $count; $i++) { if (($i % 2) == 0) $row = 'even'; else $row = 'odd'; $ex = ''; $stat = $ans['status'.$i]; if ($stat == 'Orphan') $ex = 's'; if ($stat == '1-Confirm') $stat = 'Conf'; $hi = $ans['height'.$i]; $hifld = "$blink$hi>$hi"; $pg .= ""; $pg .= ""; $pg .= "'; $pg .= "'; $pg .= "'; $pg .= "'; $pg .= "\n"; } } $pg .= "
HeightWhoRewardWhenStatus
$hifld".$ans['workername'.$i].'".btcfmt($ans['reward'.$i]).'".gmdate('Y-m-d H:i:s+00', $ans['firstcreatedate'.$i]).'".$stat.'
\n"; return $pg; } # function show_blocks($page, $menu, $name, $user) { gopage(NULL, 'doblocks', $page, $menu, $name, $user); } # ?>