Blocks'; $rep = getBlocks($user); $ans = repDecode($rep); $pg .= "\n"; $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'; $pg .= ""; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= "\n"; } } $pg .= "
HeightWhoRewardWhen
'.$ans['height'.$i].''.$ans['workername'.$i].''.btcfmt($ans['reward'.$i]).''.gmdate('Y-m-d H:i:s+00', $ans['createdate'.$i]).'
\n"; return $pg; } # function show_blocks($menu, $name, $user) { gopage(NULL, 'doblocks', $menu, $name, $user); } # ?>