Payments'; $pg .= 'The payment transactions on blockchain are here:'; $pg .= " BTCa,"; $pg .= " BTCa and"; $pg .= " BTCb
"; $pg .= "The payments below don't yet show when they have been sent.

"; $ans = getPayments($user); $pg .= "\n"; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= "\n"; if ($ans['STATUS'] == 'ok') { $all = array(); $count = $ans['rows']; for ($i = 0; $i < $count; $i++) { $all[] = array('payoutid' => $ans['payoutid:'.$i], 'height' => $ans['height:'.$i], 'payaddress' => $ans['payaddress:'.$i], 'amount' => $ans['amount:'.$i], 'paydate' => $ans['paydate:'.$i]); } usort($all, 'sortheight'); $hasdust = false; for ($i = 0; $i < $count; $i++) { if (($i % 2) == 0) $row = 'even'; else $row = 'odd'; $pg .= ""; $pg .= ''; $pg .= ''; $pg .= ''; $amount = $all[$i]['amount']; if ($amount < '10000') { $dust = '*'; $hasdust = true; } else $dust = ' '; $pg .= ''; $pg .= ""; $pg .= "\n"; } if ($hasdust === true) { $pg .= ''; } } $pg .= "
BlockAddressStatusBTC
'.$all[$i]['height'].''.$all[$i]['payaddress'].' '.btcfmt($amount).'$dust
'; $pg .= '* '; $pg .= 'Dust payments are not automatically sent out'; $pg .= '
\n"; return $pg; } # function show_payments($info, $page, $menu, $name, $user) { gopage($info, NULL, 'dopayments', $page, $menu, $name, $user); } # ?>