Payment
include ('includes/index.inc.php');
?>
Check Your Purchase Information
if(isset($_POST["status"])){
$status=limpiar($_POST["status"]);
if ($status == "premium"){
$usercheck = uc($_COOKIE["usNick"]);
$user = limpiar($_POST["purchaseusername"]);
if ($usercheck == $user){
$purchaseip = limpiar($_POST["purchaseip"]);
$purchaseuseremail = limpiar($_POST["purchaseuseremail"]);
$purchaseitemname = limpiar($_POST["purchaseitemname"]);
$purchaseitemprice = limpiar($_POST["purchaseitemprice"]);
$myDb->connect();
$sqle = "SELECT * FROM yob_users WHERE username='$user'";
$resulte = mysql_query($sqle);
$rowe = mysql_fetch_array($resulte);
$myDb->close(); ?>
| Your Purchase Information | |
|---|---|
| Username | |
| First Name | |
| Last Name | |
| Your IP | |
| Purchase Description | |
| Purchase Price | $ |
}else{?>
There's an Error On Your Request. Please Try Again
exit();
}
}else if ($status == "advertise"){
$purchaseitemprice = 0;
$purchaseip = limpiar($_POST["purchaseip"]);
$pemail = limpiar($_POST["pemail"]);
$description = limpiar($_POST["description"]);
$url = limpiar($_POST["url"]);
$plan = limpiar($_POST["plan"]);
$myDb->connect();
$sql = "SELECT price FROM yob_config WHERE item='hits' and howmany='$plan'";
$result = mysql_query($sql);
$row1 = mysql_fetch_array($result);
$myDb->close();
$price_plan = $row1['price'];
$purchaseitemprice = $purchaseitemprice+$price_plan;
$viewable = limpiar($_POST["viewable"]);
if ($viewable == "ads"){
$viewable1 = "All Members";
}
if ($viewable == "premiumads"){
$viewable1 = "Premium Members Only";
$myDb->connect();
$sql = "SELECT price FROM yob_config WHERE item='premiumad' and howmany='1'";
$result = mysql_query($sql);
$row2 = mysql_fetch_array($result);
$myDb->close();
$price_viewable = $row2['price'];
$purchaseitemprice = $purchaseitemprice+$price_viewable;
}
$bold = limpiar($_POST["bold"]);
if ($bold == "0"){
$bold1 = "No";
}
if ($bold == "1"){
$bold1 = "Yes";
$myDb->connect();
$sql = "SELECT price FROM yob_config WHERE item='bold' and howmany='1'";
$result = mysql_query($sql);
$row3 = mysql_fetch_array($result);
$myDb->close();
$price_bold = $row3['price'];
$purchaseitemprice = $purchaseitemprice+$price_bold;
}
$highlight = limpiar($_POST["highlight"]);
if ($highlight == "0"){
$highlight1 = "No";
}
if ($highlight == "1"){
$highlight1 = "Yes";
$myDb->connect();
$sql = "SELECT price FROM yob_config WHERE item='highlight' and howmany='1'";
$result = mysql_query($sql);
$row4 = mysql_fetch_array($result);
$myDb->close();
$price_highlight = $row4['price'];
$purchaseitemprice = $purchaseitemprice+$price_highlight;
}
$purchaseitemname = limpiar($_POST["purchaseitemname"]);
?>
| Your Purchase Information | |
|---|---|
| Your IP | |
| Purchase Description | |
| Plan | Member Visits |
| Link Text | |
| Link Url | |
| Show Advert to | |
| Bold Link | |
| Highlighted Link | |
| Purchase Price | $ |
}else if ($status == "referrals"){
$purchaseip = limpiar($_POST["purchaseip"]);
$pemail = limpiar($_POST["pemail"]);
$purchaseitemname = limpiar($_POST["purchaseitemname"]);
$user = limpiar($_POST["customer"]);
$refset = limpiar($_POST["refset"]);
$myDb->connect();
$sql = "SELECT price FROM yob_refset WHERE howmany='$refset'";
$result = mysql_query($sql);
$row1 = mysql_fetch_array($result);
$myDb->close();
$purchaseitemprice = $row1['price'];
?>
| Your Purchase Information | |
|---|---|
| Username | |
| Your IP | |
| Purchase Description | |
| Purchase Price | $ |
}
}else{?>
Direct Access To This Page is not Allowed
exit();
}?>
Postar um comentário