Untitled


SUBMITTED BY: Guest

DATE: June 13, 2018, 12:56 p.m.

FORMAT: Text only

SIZE: 1.0 kB

HITS: 142

  1. if( isset($_POST['dpayout']) ){
  2. if( password_verify( $_POST['hubPW'], $user["password"] ) ) {
  3. if( $user['balance'] >= $wlimit ) {
  4. if( !isset($_POST['hub']) || $_POST['hub']=="" ) { $Paysn = "<h2>FaucetHub.io Address is not valide !</h2>";
  5. } else {
  6. $address = $user['address'];
  7. $amount = $user['balance'];
  8. $wallet = $_POST['hub'];
  9. $mysqli->query("UPDATE faucet_settings Set value = value + $amount WHERE id = '2'");
  10. $mysqli->query("UPDATE user Set balance = '0' WHERE userid = '{$user['userid']}'");
  11. $mysqli->query("INSERT INTO payout (username, ip_address, amount, adress, done) VALUES ('$address', '$ip', '$amount', '$wallet', 'no')");
  12. $Paysn .= alert("dark","<h3> Payout Done !</h3>This payment will be manually!");
  13. }
  14. } else { $Paysn .= alert("danger","<h2>Withdraw limit is: ".$wlimit.$coin."</h2>"); }
  15. } else { $Paysn .= alert("danger","<h2>Wrong password</h2>");}
  16. }

loading...

comments powered by Disqus