0) { $cookie_is_set = 1; } } if($cookie_is_set==1) { $unique = "$_COOKIE[username]"; } else { //echo "not set"; //if cookie not set, set cookie $dotted_ip=$_SERVER["REMOTE_ADDR"]; $ip_number = sprintf("%u",ip2long($dotted_ip)); $unique = date("YmdHis").$ip_number; $abletoset = setcookie ("username", $unique , time()+60*60*24*30*2, "/", "payment.kkeim.com"); $query = "INSERT INTO `users_sessions` ( `userid` ) VALUES ('$unique')"; mysql_query($query) or die (mysql_error()); } //promo avail if(isset($_GET[promoid])) { $promoid = round($_GET[promoid]); if(is_numeric($_GET[promoid])) { $products = explode("|", $_GET[product]); $qtys = explode("|", $_GET[qty]); if(is_numeric($products[0]) && is_numeric($products[1]) && is_numeric($qtys[0]) && is_numeric($qtys[1])) { $i = 0 ; //echo ""; foreach($products as $product_loop) { $curent_qty = check_in_order($product_loop, $unique) ; // echo ""; //echo "" ; if($qtys[$i]>$curent_qty) { //quantity required for the promo is higher, then add update_order($product_loop, $qtys[$i], 0, $unique ); } $i++; } } } } //insert the product now $script=$_GET[script]; if(!isset($_POST[update])) { if(!isset($qty)) { $qty =1; } if(isset($script)) { // first find the price //$pricing = "SELECT * FROM pro_pricing WHERE ('$qty' BETWEEN qty_s AND qty_e) AND productid = '$script'"; //$pricing = mysql_query($pricing); //$pricing = mysql_fetch_array($pricing); //$pricing = $price[price]; $amount = get_product_amount($script, $qty); //check if that product is already in the table if(mysql_num_rows(mysql_query("SELECT * FROM `order1` WHERE `userid` LIKE '$unique' AND `productid` =$script AND `invoiceid` =1"))) { //first select $oldqty = mysql_fetch_array(mysql_query("SELECT * FROM `order1` WHERE `userid` LIKE '$unique' AND `productid` =$script AND `invoiceid` =1")); $oldqty = $oldqty[qty]; $qty = $oldqty + $qty; $amount = get_product_amount($script, $qty); echo ""; $update = "UPDATE `order1` SET `qty` = '$qty', `amount` = '$amount' WHERE `userid` LIKE '$unique' AND `productid` ='$script'"; $update = mysql_query($update) or die (mysql_error()) ; }else { do{ $tempid = rand(10000,999999); $present = mysql_query("SELECT * FROM `order1` WHERE `tempid` = $tempid") or die (mysql_error()); $present = mysql_num_rows($present); } while($present>0); $amount = get_product_amount($script, $qty); $insert = "INSERT INTO `order1` VALUES ( '$unique', '$script', '$qty', '$amount', '$tempid', '1')"; $insert = mysql_query($insert); unset($tempid); } } } else { //this is executed when update is clicked. //update change in quantities //remove products with quantity zero foreach ($_POST as $varname => $varvalue) { if($varname!="update"&&$varname!="maxnum"&&$varname!="amount") { if($varvalue==0) { $delete = mysql_query("DELETE FROM `order1` WHERE `userid` = '$unique' AND `productid` = $varname AND `invoiceid` = 1"); } else { $varvalue = $varvalue/10*10; $amount = get_product_amount($varname, $varvalue); $update = "UPDATE `order1` SET `qty` = '$varvalue', `amount` = '$amount' WHERE `userid` LIKE '$unique' AND `productid` ='$varname'"; echo ""; //echo $update . "
"; $update = mysql_query($update) or die (mysql_error()) ; } } } } ?> Payment : KKE Info Media, Kmita Scripts
KKE Info Media
We are Paypal Verified ! Click to verify 2checkout.com Verified seller
Centralised Payment for KKE Info Media Products and Kmita Scripts.
1. Select Products
  2. Confirm
  3. Secure Pay
  4. Download

"; $get_discount = mysql_query($get_discount) or die(mysql_error()); if(mysql_num_rows($get_discount)) { while($get_discount1 = mysql_fetch_array($get_discount)) { echo ""; ?>
No. of Licenses
Particulars
Rate
Amount
Single Domain Licenses
USD    
USD    
 The Shopping Cart is Empty. Click here to see our products
                      Less :
USD   
 You can add more products to this cart. Click here to see our products
USD 0) { echo $amount_total; }else { echo "0.00"; } ?>  


2Checkout.com, Inc. is an authorized retailer of KKE Info Media
product as $item) { $name = $item->name; $price = $item->price; $description = $item->description; $link = $item->linkurl; $imageurl = $item->imageurl; $paynum = $item->paynum; if($paynum>0){ $name = explode(":",$name); ?>
Our other products
Price / License
:
[Visit]
USD  [Add to Cart]