\n"; $headers .= "X-Priority: 1\n"; $headers .= "X-MSMail-Priority: High\n"; $headers .= "X-Mailer: PHP/" . phpversion()."\n"; mail($to, $subject, $message, $headers); header("location:login.php"); exit(); } if($aset[Currencya]=="\$") { $curr="USD"; } else if($aset[Currencya]=="£") { $curr="GBP"; } else { $curr="EUR"; } if($_GET[Payment]=="1") { header("location:https://www.paypal.com/xclick?business=$aset[PayPalEmail]&item_name=$a2[PackageName] for $a1[CompanyName] ($a1[username])&first_name=$a1[FirstName]&last_name=$a1[LastName]&email=$a1[email]&item_number=1&custom=$_SESSION[NewAgent]|$_GET[SelectedPackage]&amount=$a2[PriceValue]¤cy_code=$curr¬ify_url=$BannerPath/notify.php&return=$BannerPath/login.php"); } else { header("location:https://www.2checkout.com/cgi-bin/sbuyers/cartpurchase.2c?sid=$aset[SellerID]&cart_order_id=1&card_holder_name=$a1[FirstName] $a1[LastName]&email=$a1[email]&item_number=1&custom=$_SESSION[NewAgent]|$_GET[SelectedPackage]&total=$a2[PriceValue]¤cy=CAD&x_receipt_link_url=http://www.phpclassifieds.info/return.php"); } exit(); } ?>