if (!check_perms('admin_donor_log')) { error(403); } include(SERVER_ROOT.'/sections/donate/config.php'); View::show_header('Bitcoin donation balance'); $Balance = btc_balance() . ' BTC'; $BitcoinAddresses = btc_received(); $Debug->log_var($BitcoinAddresses, 'Bitcoin addresses'); $DB->query(" SELECT i.UserID, i.BitcoinAddress FROM users_info AS i JOIN users_main AS m ON m.ID = i.UserID WHERE BitcoinAddress IS NOT NULL ORDER BY m.Username ASC"); ?>
Username | Receiving Bitcoin address | Amount |
---|---|---|
=Users::format_username($UserID, true, false, false, false)?> | =$BitcoinAddress?> | =$BitcoinAddresses[$BitcoinAddress]?> BTC |