Account
Deposit, Withdraw and check your payout here
prepare("SELECT SUM(amount) FROM payout WHERE user = ? "); $lasci->bindParam(1,$user); $lasci->execute(); $amic = $lasci->fetch(PDO::FETCH_ASSOC); if (isset($amic['value_sum']) && $amic['value_sum'] != '') { echo "Total payout: " . $amic['value_sum'] . " BTC"; } ?>
prepare("SELECT SUM(amount) FROM payout WHERE user = ? "); $lasci->bindParam(1,$user); $lasci->execute(); $amic = $lasci->fetch(PDO::FETCH_ASSOC); if (isset($amic['value_sum']) && $amic['value_sum'] != '') { echo "Total payout: " . $amic['value_sum'] . " BTC"; } ?>
Withdraw History
prepare("SELECT * FROM withdraw WHERE username = ? ORDER BY id DESC LIMIT 0, 10") $result->bindParam(1,$user); $result->execute(); if ($result->fetchColumn() == 0) { echo "No withdraw"; } else { /* $result = mysql_query("SELECT * FROM withdraw WHERE username = '$user' ORDER BY id DESC LIMIT 0, 10"); if (mysql_num_rows($result) == 0) { echo "No withdraw"; } else {*/ ?>
"; echo ""; echo ""; echo "\n"; }*/ while ($row = $result->fetch(PDO::FETCH_ASSOC)) { echo ""; echo ""; echo ""; echo "\n"; } ?>
Timestamp | Amount (BTC) |
---|---|
" . date('Y-m-d H:i:s', $row['timest']) . " | " . $row['amount'] . " |
" . date('Y-m-d H:i:s', $row['timest']) . " | " . $row['amount'] . " |
Deposit History
prepare("SELECT * FROM deposits WHERE user = ? ORDER BY id DESC LIMIT 0, 10") $res2->bindParam(1,$user); $res2->execute(); if ($res2->fetchColumn() == 0) { echo "No deposit"; } else { /* $res2 = mysql_query("SELECT * FROM deposits WHERE user = '$user' ORDER BY id DESC LIMIT 0, 10"); if (mysql_num_rows($res2) == 0) { echo "No deposit"; } else {*/ ?>
"; echo ""; echo ""; if ($row2['isReferal'] == 0) $type = 'Deposit'; else $type = 'Referral'; echo ""; echo "\n"; }*/ while ($row2 = $res2->fetch(PDO::FETCH_ASSOC)) { echo ""; echo ""; echo ""; if ($row2['isReferal'] == 0) $type = 'Deposit'; else $type = 'Referral'; echo ""; echo "\n"; } ?>
Timestamp | Amount (BTC) | Type |
---|---|---|
".$row2['time']." | " . $row2['amount'] . " | " . $type . " |
".$row2['time']." | " . $row2['amount'] . " | " . $type . " |
Payout History
prepare("SELECT * FROM payout WHERE user = ? ORDER BY id DESC LIMIT 0, 10") $res34->bindParam(1,$user); $res34->execute(); if ($res34->fetchColumn() == 0) { echo "No payout"; } else { ?>
"; echo ""; echo ""; echo "\n"; }*/ while ($row4 = $res34->fetch(PDO::FETCH_ASSOC)) { echo ""; echo ""; echo ""; echo "\n"; } ?>
Timestamp | Amount (BTC) |
---|---|
" . date('Y-m-d H:i:s', $row4['timest']) . " | " . $row4['amount'] . " |
" . date('Y-m-d H:i:s', $row4['timest']) . " | " . $row4['amount'] . " |