mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
27da8d54c4
rules typo featured album text change fixed spacing issue on user edit page remove time limit file name changes don't run blank searches fixing email history ip syntax fix restrict re-scoring to EAC 0.95 logs, extension of previous commit to this file fix per http://what.cd/forums.php?action=viewthread&threadid=137863&postid=3422033#post3422033 extend probable fix for http://what.cd/forums.php?action=viewthread&threadid=115673 probable fix for http://what.cd/forums.php?action=viewthread&threadid=115673 Revert "probable fix for http://what.cd/forums.php?action=viewthread&threadid=115673" implemented suggestion per http://what.cd/forums.php?action=viewthread&threadid=137863 Revert "implemented suggestion per http://what.cd/forums.php?action=viewthread&threadid=137863" fix per http://what.cd/forums.php?action=viewthread&threadid=136996 typo notify of disabling remove snatched I suck at grammar collage rule update
33 lines
777 B
PHP
33 lines
777 B
PHP
<?
|
|
define('PAYPAL_ADDRESS','whatcdbill@gmail.com');
|
|
define('PAYPAL_CURRENCY','EUR');
|
|
define('PAYPAL_SYMBOL','€');
|
|
define('PAYPAL_MINIMUM',5);
|
|
|
|
function btc_received() {
|
|
|
|
}
|
|
|
|
function btc_balance() {
|
|
|
|
}
|
|
|
|
// This will be rarely called, so let's go directly to the database
|
|
function btc_address($UserID, $GenAddress = false) {
|
|
global $DB;
|
|
$UserID = (int)$UserID;
|
|
$DB->query("SELECT BitcoinAddress FROM users_info WHERE UserID = '$UserID'");
|
|
list($Addr) = $DB->next_record();
|
|
|
|
if (!empty($Addr)) { return $Addr; }
|
|
elseif ($GenAddress) {
|
|
|
|
if (empty($NewAddr)) { error(0); }
|
|
$DB->query("UPDATE users_info SET BitcoinAddress = '".db_string($NewAddr)."' WHERE UserID = '".$UserID."' AND BitcoinAddress IS NULL");
|
|
return $NewAddr;
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|
|
?>
|