if (!check_perms('admin_donor_log')) { error(403); } View::show_header('Bitcoin donation balance'); $Balance = DonationsBitcoin::get_balance() . ' BTC'; $BitcoinAddresses = DonationsBitcoin::get_received(); $Debug->log_var($BitcoinAddresses, 'Bitcoin addresses'); $UserQ = $DB->query(" SELECT i.UserID, i.BitcoinAddress FROM users_info AS i JOIN users_main AS m ON m.ID = i.UserID WHERE BitcoinAddress != '' ORDER BY m.Username ASC"); ?>
Username | Receiving Bitcoin address | Amount |
---|---|---|
=Users::format_username($UserID, true, false, false, false)?> | =$BitcoinAddress?> | =$BitcoinAddresses[$BitcoinAddress]?> BTC |