Payments';
$ans = getPayments($user);
$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($page, $menu, $name, $user)
{
gopage(NULL, 'dopayments', $page, $menu, $name, $user);
}
#
?>