Payments';
$rep = getPayments($user);
$ans = repDecode($rep);
$pg .= "
\n";
$pg .= "";
$pg .= "Date | ";
$pg .= "Address | ";
$pg .= "BTC | ";
$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_payments($menu, $name, $user)
{
gopage(NULL, 'dopayments', $menu, $name, $user);
}
#
?>