View file public_html/payout1.php

File size: 1.18Kb
<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 Moneybooker In Edit Account Option.<br><br>It May Take 10  Days.Contact Adsalvo Team.</div></center>";

include "inc/footer.php";
die();
}
if($bal<4) {
print "<center><div class='prob'>You shoud have atleast $4 to get payout.<br><br>You do not have enought balance.Contact Adsalvo Team.</div></center>";
} else {

$doit = mysql_query("UPDATE users SET pay=2 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 moneybooker id in Edit Account Option. You will recieve your payment of $bal in next 10  days.<br>Thank You.</div></center>";
}

}


?>
<?php include "inc/footer.php"; ?>
</html>