|
|
@ -38,7 +38,7 @@ function workuser($data, $user, &$offset, &$totshare, &$totdiff, |
|
|
|
{ |
|
|
|
{ |
|
|
|
$days = intval($ans['oldworkers']); |
|
|
|
$days = intval($ans['oldworkers']); |
|
|
|
if ($days != 0) |
|
|
|
if ($days != 0) |
|
|
|
$title = ' (last '.$days.' day'. |
|
|
|
$title = ' (active during the last '.$days.' day'. |
|
|
|
(($days==1)?'':'s').')'; |
|
|
|
(($days==1)?'':'s').')'; |
|
|
|
} |
|
|
|
} |
|
|
|
$all = array(); |
|
|
|
$all = array(); |
|
|
@ -178,7 +178,7 @@ function doworker($data, $user) |
|
|
|
$pg .= worktotal($offset, $totshare, $totdiff, $totinvalid, $totrate, |
|
|
|
$pg .= worktotal($offset, $totshare, $totdiff, $totinvalid, $totrate, |
|
|
|
$blockacc, $blockreward); |
|
|
|
$blockacc, $blockreward); |
|
|
|
|
|
|
|
|
|
|
|
if ($blockacc > 0 && $blockreward > 0) |
|
|
|
if (false && $blockacc > 0 && $blockreward > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$btc = btcfmt($totdiff / $blockacc * $blockreward); |
|
|
|
$btc = btcfmt($totdiff / $blockacc * $blockreward); |
|
|
|
$pg .= '<tr><td colspan=8 class=dc>'; |
|
|
|
$pg .= '<tr><td colspan=8 class=dc>'; |
|
|
|