File size: 1.17Kb
<html>
<title>PayOut</title>
<?php include "inc/def.php"; ?>
<?php include "inc/usrchk.php";
if($guest==1) {
header("location:index.php");
} ?>
<?php include "inc/header.php"; ?>
<div class="line">Get Payout</div>
<?php
$getu = mysql_query("SELECT * FROM users WHERE user='$user'");
$getu1 = mysql_fetch_array($getu);
$id = $getu1['id'];
$bal = $getu1['bal'];
$pay=$getu1['pay'];
if($pay>0)
{
print "<center><div class='prob'>Already Your Payment is Under Process.Set Your Paypal Id In Edit Account Option.<br><br>It May Take 20 Days.Contact Adsalvo Team.</div></center>";
include "inc/footer.php";
die();
}
if($bal<5) {
print "<center><div class='prob'>You shoud have atleast $5 to get payout.<br><br>You do not have enought balance.Contact Adsalvo Team.</div></center>";
} else {
$doit = mysql_query("UPDATE users SET pay=3 WHERE id='$id'") or die("Sorry. We have some technical problem. ");
if($doit) {
print "<center><div class='done'>Thank you for payout request.<br><br>We are executing your request. Set Your Paypal Id in Edit Account Option. You will recieve your payment of $bal in next 20 days.<br>Thank You.</div></center>";
}
}
?>
<?php include "inc/footer.php"; ?>
</html>