Workers';
$rep = getWorkers($user);
$ans = repDecode($rep);
$pg .= "
\n";
$pg .= "";
$pg .= "Name | ";
$pg .= "Difficulty | ";
$pg .= "Idle Notifications | ";
$pg .= "Idle Notification Time | ";
$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 .= ''.$ans['paydate'.$i].' | ';
$pg .= ''.$ans['payaddress'.$i].' | ';
$pg .= ''.btcfmt($ans['amount'.$i]).' | ';
$pg .= "
\n";
}
}
$pg .= "
\n";
return $pg;
}
#
function show_workers($menu, $name, $user)
{
gopage(NULL, 'doworkers', $menu, $name, $user);
}
#
?>