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'; $pg .= ""; $pg .= "'; $pg .= "'; $pg .= "'; $pg .= "'; $pg .= "'; $pg .= "\n"; } } $pg .= "
HeightWhoRewardWhenStatus
".$ans['height'.$i].'".$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($menu, $name, $user) { gopage(NULL, 'doblocks', $menu, $name, $user); } # ?>