All Workers'; $pg .= worktable(); $totshare = 0; $totdiff = 0; $totshrate = 0; $totinvalid = 0; $totrate = 0; $offset = 0; $blockacc = 0; $blockreward = 0; $instances = 0; $pg .= worktitle($data, $user); $ans = getAllUsers($user); if ($ans['STATUS'] == 'ok') { $count = $ans['rows']; $title = NULL; for ($i = 0; $i < $count; $i++) { $pg .= workuser($data, $ans['username:'.$i], $offset, $totshare, $totdiff, $totshrate, $totinvalid, $totrate, $blockacc, $blockreward, 3600, false, false, $title, $instances); } } $pg .= worktotal($offset, $totshare, $totdiff, $totshrate, $totinvalid, $totrate, $blockacc, $blockreward, $instances); $pg .= "\n"; return $pg; } # function show_allwork($info, $page, $menu, $name, $user) { gopage($info, NULL, 'doallwork', $page, $menu, $name, $user); } # ?>