<?php

session_start();
include "../config.php";
include "../header.php";
include "../style.php";

if ( !isset($_SESSION["ulogin"]) )
{
   ?>
   <!-- Not Logged In -->
   <p><center>You must be logged in to access this site. Please <a href="../index.php">click here</a> to login.</center></p>
   <?
   include "../footer.php";
   exit;
}

if( isset($_SESSION["ulogin"]) )
   	{  // members only stuff!


   if($_POST['action'] = "resetbanner") {
	mysql_query("UPDATE banners SET show_clicks=0, show_views=0 WHERE id='".$_POST['id']."' AND userid='".$userid."'");
   }

if($_POST['action'] = "resetbuttons") {
	mysql_query("UPDATE buttons SET show_clicks=0, show_views=0 WHERE id='".$_POST['id']."' AND userid='".$userid."'");

   }

   if($_POST['dell']) {
	   $sql = mysql_query("DELETE FROM loginads where userid='".$_SESSION[uname]."' and id = '".intval($_POST['dell'])."' LIMIT 1");
   }


   if($_POST['delt']) {
	   $sql = mysql_query("DELETE FROM tlinks where userid='".$_SESSION[uname]."' and id = '".intval($_POST['delt'])."' LIMIT 1");
	   if(@mysql_num_rows($sql)) mysql_query("DELETE FROM tlviews where tlid='".intval($_POST['delt'])."'");
   }

 if($_POST['delptc']) {
	   $sql = mysql_query("DELETE FROM ptcads where userid='".$_SESSION[uname]."' and id = '".intval($_POST['delptc'])."' LIMIT 1");
	   if(@mysql_num_rows($sql)) mysql_query("DELETE FROM ptcadviews where tlid='".intval($_POST['delt'])."'");
   }


   if($_POST['delb']) {
	   mysql_query("DELETE FROM dailybonus where id='".intval($_POST['delb'])."' and userid='".$_SESSION[uname]."'");
   }
  if($_POST['delhheadlinead']) {

	   $sql = mysql_query("DELETE FROM hheadlineads where userid='".$_SESSION[uname]."' and id = '".intval($_POST['delhheadlinead'])."' LIMIT 1");
	   if(@mysql_num_rows($sql)) mysql_query("DELETE FROM hheadlineadclicks where hheadlineadid='".intval($_POST['delhheadlinead'])."'");
   }
 if($_POST['delhheaderad']) {

	   $sql = mysql_query("DELETE FROM hheaderads where userid='".$_SESSION[uname]."' and id = '".intval($_POST['delhheaderad'])."' LIMIT 1");
	   if(@mysql_num_rows($sql)) mysql_query("DELETE FROM hheaderadclicks where hheaderadid='".intval($_POST['delhheaderad'])."'");
   }
################################################
if ($memtype == "SUPER JV")
{
$hheadlineadprice = $superjvhheadlineadprice;
$hheadlineadpointprice = $hheadlineadpointpricesuperjv;
$hheadlineadmaxhits = $superjvhheadlineadmaxhits;
$hheaderadprice = $superjvhheaderadprice;
$hheaderadpointprice = $hheaderadpointpricesuperjv;
$hheaderadmaxhits = $superjvhheaderadmaxhits;
}
if ($memtype == "JV Member")
{
$hheadlineadprice = $jvhheadlineadprice;
$hheadlineadpointprice = $hheadlineadpointpricejv;
$hheadlineadmaxhits = $jvhheadlineadmaxhits;
$hheaderadprice = $jvhheaderadprice;
$hheaderadpointprice = $hheaderadpointpricejv;
$hheaderadmaxhits = $jvhheaderadmaxhits;
}
if (($memtype != "SUPER JV") and ($memtype != "JV Member"))
{
$hheadlineadprice = $prohheadlineadprice;
$hheadlineadpointprice = $hheadlineadpointpricepro;
$hheadlineadmaxhits = $prohheadlineadmaxhits;
$hheaderadprice = $prohheaderadprice;
$hheaderadpointprice = $hheaderadpointpricepro;
$hheaderadmaxhits = $prohheaderadmaxhits;
}
################################################
		include("navigation.php");
      include("../banners2.php");
        echo "<font size=2 face='$fonttype' color='$fontcolour'><p><center>";
        //banner and solo ad payment buttons.

        ?>
		<center><p><br><font size=6><img src=images/setupadvertisingarea.png></font><br>
<?
 echo "<font size=2 face='$fonttype' color='$fontcolour'><p><b><center>";

		$query = "SELECT * FROM pages where name='Advertiser Instructions'";
		$result = mysql_query ($query)
			or die ("Query failed");
		while ($line = mysql_fetch_array($result)) {
			$htmlcode = dbget($line["htmlcode"]);
			echo $htmlcode;
        }

?>
<center><img src="images/redeempromocodebelow.png"><br><br>
<form method="post" action="promo.php">
		Enter Code Here: <br><input type="text" name="code"><br>
		<input type="submit" value="Redeem">
		</form></center>
      <table width="600" align="center"
      border=2><center>
        <tbody>
		


		<br><center><img src="images/ti-dark.jpg" width="577" height="22"></center>
  <p><P align=center><B><FONT color=#000080 size=4>Full members login page<BR></FONT></B><BR><A href="fulllogin.php"><IMG border=0 src="../images/fulllogin.png"></A><BR><BR><STRONG><FONT color=#ff0000 size=4>$<? echo $fullloginprice; ?> Per 1 Full Page Login Ad</FONT></STRONG><br><br><FONT color=#000000 size=2><b><FONT size=2>The full members login page stays active for <BR>a full 24hrs, from 12am to 12am witch gives <BR>members that logs in will see the members <BR>login ad for a 24hr period.</FONT></b></FONT></A></p>
		


		


		<center><p><b><font size="+1"><img src="images/ti-dark.jpg" width="577" height="22"></font></p></b></center>
		<center><p>Current conversion rate: $1 = <? echo $pointrate; ?> points<br>
		<?
		if($commission) {
		?>
		You are owed <? echo round($commission,2); ?>$ commissions and you have <? echo $points; ?> points.<br>
		<form method="post" action="convert.php">
		Convert: $<input type="text" name="amount"><br>
		<input type="submit" value="Submit">
		</form>
		<?
		} else echo "You don't have any commissions yet.";
		?>

		</p></center><br><br>
<center><img src="images/ti-dark.jpg" width="577" height="22"></p></center><center>

	<?

$sql = mysql_query("SELECT * FROM offerpage LIMIT 1");

			$offer = mysql_fetch_array($sql);

?></center>

<center><p><b><font size="+1"><img src="images/Tradecommissionsforoffer.png"></font><br><font color=green>You can now trade your account commissions for the Special Offer Ad Package<br> that you see when you log in.</font></p></b>
		<p>Current Special Offer Price: $<? echo $offer['price']; ?><br>
		<?
		if($commission >= $offer['price']) {
		?>

		You are owed <? echo round($commission,2); ?>$ commissions
		 <p><font face="Tahoma" size="2"><a href="commissionexchange.php?item=specialoffer"><b>Trade Now</b></a></font></p>
		<?
		} else echo "You don't have enough commissions to trade.";
		?>
</p>

<img src="images/ti-dark.jpg" width="577" height="22"></center>

<center><p><b><font size="+1"><img src="images/purchasespecialofferpackage.png"></font><br><font color=green>You can also trade your points for the Special Offer Ad Package.</font></p></b>
          <p>Current Price: $<? echo $offer['price']; ?> or <? echo $sopointprice; ?> Points for Special Offer Ad Package</p>
		  <?

		     if($points >= $sopointprice) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=offer">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy the Special Offer Ad Package</font></p>
		  <?
		  }

		  ?>
		  <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Special Offer Package ">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $offer['price']; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/offer_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/payreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Special Offer Package "/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $offer['price']; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $offer['price']; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Special Offer Ad Package ">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Special Offer Ad Package ">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $offer['price']; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Special Offer Ad Package ">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/offerpage.php" method="post" target="_top">
<input type="hidden" name="item" value="3">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>


<img src="images/ti-dark.jpg" width="577" height="22"></center>


		<center><p><b><font size="+1"><img src="images/purchasepoints.png"></font><br><font color=green>Need more points for surf or for trading? Get them here.</font></p></b>
          <p>Price: $<? echo $pointprice; ?> per 1000 points.</p>
          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> 1000 Points <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $pointprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/payreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> 5,000 Points <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $pointprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $pointprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Points <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Points <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $pointprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Points <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="1">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }

?>

<img src="images/ti-dark.jpg" width="577" height="22"></center>
<center><p><b><font style=><img src=images/PurchaseHotHeadlineAdz.png></b></p>
<p>Price $<? echo $hheadlineadprice; ?>
<?php
if ($hheadlineadpointprice > 0)
{
echo " or $hheadlineadpointprice points per Hot Headline Ad";
}
echo " for $hheadlineadmaxhits clicks.";
?>
</p>
<?
if (($hheadlineadpointprice > 0) and ($points >= $hheadlineadpointprice))
{
?>
<p><font face="Tahoma" size="2"><a href="trade.php?item=hheadlinead&hheadlineadpointprice=<?php echo $hheadlineadpointprice ?>&hheadlineadmaxhits=<?php echo $hheadlineadmaxhits ?>"><br>TRADE <?php echo $hheadlineadpointprice ?> POINTS</a></font></p>
<?
}

          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Hot Headline Ad <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
				<input type="hidden" name="on1" value="Max">
				<input type="hidden" name="os1" value="<? echo $hheadlineadmaxhits; ?>">
	            <input type="hidden" name="amount" value="<? echo $hheadlineadprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/payreturn.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	      <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Hot Headline Ad <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
		  <input type="hidden" name="apc_2" value="<? echo $hheadlineadmaxhits; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $hheadlineadprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $hheadlineadprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname,max">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Hot Headline Ad <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="max" value="<? echo $hheadlineadmaxhits; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Hot Headline Ad <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $hheadlineadprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Hot Headline Ad <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="custom2" value="<? echo $hheadlineadmaxhits; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="5">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>

<img src="images/ti-dark.jpg" width="577" height="22">
<p><b><font style=><img src=images/PurchaseHotHeaderAdz.png></b></p>
<p>Price $<? echo $hheaderadprice; ?>
<?php
if ($hheaderadpointprice > 0)
{
echo " or $hheaderadpointprice points per Hot Header Ad";
}
echo " for $hheaderadmaxhits clicks.";
?>
</p>
<?
if (($hheaderadpointprice > 0) and ($points >= $hheaderadpointprice))
{
?>
<p><font face="Tahoma" size="2"><a href="trade.php?item=hheaderad&hheaderadpointprice=<?php echo $hheaderadpointprice ?>&hheaderadmaxhits=<?php echo $hheaderadmaxhits ?>"><br>TRADE <?php echo $hheaderadpointprice ?> POINTS</a></font></p>
<?
}

          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Hot Header Ad <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
				<input type="hidden" name="on1" value="Max">
				<input type="hidden" name="os1" value="<? echo $hheaderadmaxhits; ?>">
	            <input type="hidden" name="amount" value="<? echo $hheaderadprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/payreturn.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	      <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Hot Header Ad <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
		  <input type="hidden" name="apc_2" value="<? echo $hheaderadmaxhits; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $hheaderadprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $hheaderadprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname,max">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Hot Header Ad <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="max" value="<? echo $hheaderadmaxhits; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Hot Header Ad <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $hheaderadprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Hot Header Ad <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="custom2" value="<? echo $hheaderadmaxhits; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="22">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="max" value="<? echo $hheaderadmaxhits; ?>">
<input type="hidden" name="amount" value="<? echo $hheaderadprice; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>

<img src="images/ti-dark.jpg" width="577" height="22">





          <p><b><font size="+1"><img src="images/PurchaseBannerAds.png"></font></b><br><font color=green size="+1"> Must be size 468x60 Only!</font></p>
          <p>Price: $<? echo $bannerprice; ?> or <? echo $bannerpointprice; ?> points per 1000 impressions.</p>
          <?
		  if($points >= $bannerpointprice) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=banner">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Banner ad</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->   
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> 1000 Banner Impressions <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $bannerprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> 1,000 Banner Impressions <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $bannerprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $bannerprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Banner Impressions <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Banner Impressions <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $bannerprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Banner Impressions <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="2">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>

<img src="images/ti-dark.jpg" width="577" height="22">





          <p><b><font size="+1"><img src="images/PurchaseButtonBannerAds.png"></font></b><br><font color=green size="+1">Must be size 125X125 ONLY</font></p>
          <p>Price: $<? echo $buttonprice; ?> or <? echo $buttonpointprice; ?> points per 1000 impressions.</p>
          <?
		  if($points >= $buttonpointprice) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=button">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Button Banner ad</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"--> 
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Button Ad <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $buttonprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Button Ad <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $buttonprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $buttonprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Button Ad <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Button Ad <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $buttonprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Button Ad <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="3">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>




   <? }
          ?>
	<img src="images/ti-dark.jpg" width="577" height="22">

		<p align="center"><b><font size="+1"><img src="images/PurchaseDailyBonusAds.png"></font></p></b>
          <p align="center">Price: $<? echo $dailybonusprice; ?> per day<br><br>
          <a href="/members/dailybonus.php">Click
          here to purchase</a>.</p>

<img src="images/ti-dark.jpg" width="577" height="22">

          	<p><b><font size="+1"><img src="images/Purchasemembershipsoload.png"></font></b></p>
            <p>Price: $<? echo $soloprice; ?> or <? echo $solopointprice; ?> points per Solo ad.</p>


		  <?
		  if($points >= $solopointprice) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=solo">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Solo ad</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	             <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Solo Ad <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $soloprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Solo Ad <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $soloprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $soloprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Solo Ad <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Solo Ad <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $soloprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Solo Ad <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="4">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>
	<img src="images/ti-dark.jpg" width="577" height="22">

          	<p><b><font size="+1"><img src="images/Purchasehighpriortysoload.png"></font></b><br><font color=green size=2>Is your ad or offer time sensitive? Don't want to wait? High Priority Solos are<br> sent within 1 hour or less of set-up. Guaranteed!</font></font></p>
            <p>Price: $<? echo $hpsoloprice; ?> or <? echo $hpsolopointprice; ?> points per High Priority Solo ad.</p>


		  <?
		  if($points >= $hpsolopointprice) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=hpsolo">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a High Priority Solo ad</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"--> 
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> High Priority Solo Ad <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $soloprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/payreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> High Priority Solo Ad <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $soloprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $soloprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Solo Ad <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Solo Ad <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $soloprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Solo Ad <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="23">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>

<img src="images/ti-dark.jpg" width="577" height="22">

		<p><b><font size="+1"><img src="images/Purchaseset&forgetsoloads.png"></font></p></b>
          <p align="center"><a href="snfsolos.php">Click
          here to purchase</a>.</p>

<img src="images/ti-dark.jpg" width="577" height="22">

<p><font size="+1"><b><img src="images/Purchasecashsoload.png"></b></font></p>
            <p>Price: $<? echo $cashsoloprice; ?> or <? echo $cashsoloprice2; ?> points per Cash Solo ad.</p>


		    <?
		  if($points >= $cashsoloprice2) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=cashsolo">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Cash Solo ad</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"--> 
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Cash Solo <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $cashsoloprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/addcashsolos.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Cash Solo <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $cashsoloprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/addcashsolos.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $cashsoloprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Cash Solo <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Cash Solo <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/addcashsolos.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $cashsoloprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Cash Solo <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="25">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>

<img src="images/ti-dark.jpg" width="577" height="22">

<p><font size="+1"><b><img src="images/Purchasehighprioritycashsoload.png"></b></font><br><font color=green>Is your ad or offer time sensitive? Don't want to wait? High Priority Cash Solos are<br> sent within 1 hour or less of set-up. Guaranteed!<br><br>Plus, our members earn cash for viewing them.</font></p>
            <p>Price: $<? echo $hpcsoloprice; ?> or <? echo $hpcsoloprice2; ?> points per High Priority Cash Solo ad.</p>


		    <?
		  if($points >= $hpcsoloprice2) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=hpcsolo">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a High Priority Cash Solo ad</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"--> 
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> High Priority Cash Solo <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $cashsoloprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/payreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> High Priority Cash Solo <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $cashsoloprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/addcashsolos.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $cashsoloprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Cash Solo <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Cash Solo <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/addcashsolos.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $cashsoloprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Cash Solo <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="26">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>

<img src="images/ti-dark.jpg" width="577" height="22">


		<p><b><font size="+1"><img src="images/Purchaseset&forgetcashsoload.png"></font></p></b>
          <p align="center"><a href="/members/snfcsolos.php">Click
          here to purchase</a>.</p>
<img src="images/ti-dark.jpg" width="577" height="22">






     <p><b><font size="+1"><img src="images/Purchasepaidtoclicklink50views.png"></font></p></b>

		  <p>Price: $<? echo $ptc1; ?> or <? echo $ptc1points; ?> points per 50 PTC Link views.</p>
		  <?
		  if($points >= $ptc1points) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=ptc1">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy 50 PTC Link views</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> PTC Link 50 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $ptc1; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> PTC Link 50 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $ptc1; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $ptc1; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> PTC 1 <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> PTC 1 <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $ptc1; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> PTC 1 <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripeptc<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="12">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>
		<p><b><font size="+1"><img src="images/Purchasepaidtoclicklink100views.png"></font></p></b>
		  <p>Price: $<? echo $ptc2; ?> or <? echo $ptc2points; ?> points per 100 PTC Link views.</p>
		  <?
		  if($points >= $ptc2points) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=ptc2">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy 100 PTC Link views</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> PTC Link 100 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $ptc2; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> PTC Link 100 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $ptc2; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $ptc2; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> PTC 2 <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> PTC 2 <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $ptc2; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> PTC 2 <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripeptc<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="13">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>
	<p><b><font size="+1"><img src="images/Purchasepaidtoclicklink200views.png"></font></p></b>

		  <p>Price: $<? echo $ptc3; ?> or <? echo $ptc3points; ?> points per 200 PTC Link views.</p>
		  <?
		  if($points >= $ptc3points) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=ptc3">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy 200 PTC Link views</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> PTC Link 200 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $ptc3; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> PTC Link 200 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $ptc3; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $ptc3; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> PTC 3 <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> PTC 3 <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $ptc3; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> PTC 3 <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripeptc<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="14">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>


          <? }
          ?>


               <img src="images/ti-dark.jpg" width="577" height="22">

     <p><b><font size="+1"><img src="images/Purchasetrafficlink50views.png"></font></p></b>

		  <p>Price: $<? echo $tlinkprice1; ?> or <? echo $tlinkpoints1; ?> points per 50 Traffic Link views.</p>
		  <?
		  if($points >= $tlinkpoints1) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=tlink1">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy 50 Traffic Link views</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Traffic Link 50 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $tlinkprice1; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Traffic Link 50 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $tlinkprice1; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $tlinkprice1; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Traffic Link 50 <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Traffic Link 50 <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $tlinkprice1; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Traffic Link 50 <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="9">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>
		<p><b><font size="+1"><img src="images/Purchasetrafficlink100views.png"></font></p></b>
		  <p>Price: $<? echo $tlinkprice2; ?> or <? echo $tlinkpoints2; ?> points per 100 Traffic Link views.</p>
		  <?
		  if($points >= $tlinkpoints2) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=tlink2">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy 100 Traffic Link views</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Traffic Link 100 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $tlinkprice2; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Traffic Link 100 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $tlinkprice2; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $tlinkprice2; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Traffic Link 100 <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Traffic Link 100 <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $tlinkprice2; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Traffic Link 100 <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="10">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>
	<p><b><font size="+1"><img src="images/Purchasetrafficlink200views.png"></font></p></b>

		  <p>Price: $<? echo $tlinkprice3; ?> or <? echo $tlinkpoints3; ?> points per 200 Traffic Link views.</p>
		  <?
		  if($points >= $tlinkpoints3) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=tlink3">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy 200 Traffic Link views</font></p>
		  <?
		  }
		  ?>

          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Traffic Link 200 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $tlinkprice3; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Traffic Link 200 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $tlinkprice3; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $tlinkprice3; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Traffic Link 200 <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Traffic Link 200 <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $tlinkprice3; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Traffic Link 200 <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="11">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>


 <img src="images/ti-dark.jpg" width="577" height="22">

		 <p><b><font size="+1"><img src="images/Purchasehotlink5000views.png"></font></b></p>
            <p>Price: $<? echo $hotlinkprice1; ?> or <? echo $hotlinkpointprice1; ?> points per Hotlink with 5,000 views.</p>


		  <?
		  if($points >= $hotlinkpointprice1) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=hotlink1">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy this Hotlink</font></p>
		  <?
		  }
		  ?>


          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Hotlink 5000 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $hotlinkprice1; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Hotlink 5,000 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $hotlinkprice1; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $hotlinkprice1; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Hot Link <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Hot Link <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $hotlinkprice1; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Hot Link <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="6">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>



	<p><b><font size="+1"><img src="images/Purchasehotlink10000views.png"></font></b></p>
            <p>Price: $<? echo $hotlinkprice2; ?> or <? echo $hotlinkpointprice2; ?> points per Hotlink with 10,000 views.</p>


		  <?
		  if($points >= $hotlinkpointprice2) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=hotlink2">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy this Hotlink</font></p>
		  <?
		  }
		  ?>


          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Hotlink 10000 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $hotlinkprice2; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Hotlink 10,000 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $hotlinkprice2; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $hotlinkprice2; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Hot Link Pack 2 <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Hot Link Pack 2 <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $hotlinkprice2; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Hot Link Pack 2 <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="7">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>




<p><b><font size="+1"><img src="images/Purchasehotlink20000views.png"></font></b></p>
            <p>Price: $<? echo $hotlinkprice3; ?> or <? echo $hotlinkpointprice3; ?> points per Hotlink with 20,000 views.</p>


		  <?
		  if($points >= $hotlinkpointprice3) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=hotlink3">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy this Hotlink.</font></p>
		  <?
		  }
		  ?>


          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> 	            
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Hotlink 20000 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $hotlinkprice3; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Hotlink 20,000 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $hotlinkprice3; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/padireturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $hotlinkprice3; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Hot Link Pack 3 <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Hot Link Pack 3 <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $hotlinkprice3; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Hot Link Pack 3 <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="8">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>



          <img src="images/ti-dark.jpg" width="577" height="22">

		<p><b><font size="+1"><img src="images/Purchaseheadlineads5000views.png"></font></b></p>
			<p><font color=green>Headline Ads are displayed at the top of the Member's Area homepage.<br> You may choose the text & background color for these ads.</font></p>


            <p>Price: <? echo $headlineprice1points; ?> points or $<? echo $headlineprice1; ?> per Headline Ad with 5,000 views.</p>


		  <?
		  if($points >= $headlineprice1points) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=headline1">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Headline Ad with 5,000 views </font></p>
		  <?
		  }
		  ?>


          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Headline Ad 5000 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $headlineprice1; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/payreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Headline Ad 5,000 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $headlineprice1; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $headlineprice1; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> HeadlineAd 5000 views <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> HeadlineAd 5000 views <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $headlineprice1; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> HeadlineAd 5000 views <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="28">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>


		<p><b><font size="+1"><img src="images/Purchaseheadlineads10000views.png"></font></b></p>

            <p>Price: <? echo $headlineprice2points; ?> points or $<? echo $headlineprice2; ?> per Headline Ad with 10,000 views.</p>


		  <?
		  if($points >= $headlineprice2points) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=headline2">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Headline Ad with 10,000 views </font></p>
		  <?
		  }
		  ?>


          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"--->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Headline Ad 10000 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $headlineprice2; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/payreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Headline AD 10,000 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $headlineprice2; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $headlineprice2; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> HeadlineAD 10000 views <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> HeadlineAD 10000 views <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $headlineprice2; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> HeadlineAD 10000 views <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="29">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>

		<p><b><font size="+1"><img src="images/Purchaseheadlineads20000views.png"></font></b></p>

           <p>Price: <? echo $headlineprice3points; ?> points or $<? echo $headlineprice3; ?> per Headline Ad with 20,000 views.</p>


		  <?
		  if($points >= $headlineprice3points) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=headline3">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Headline Ad with 20,000 views </font></p>
		  <?
		  }
		  ?>


          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Headline Ad 20000 <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $headlineprice3; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/payreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> HeadlineAd 20,000 <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $headlineprice3; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $headlineprice3; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> HeadlineAd 20000 views <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> HeadlineAd 20000 views <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/advertise.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $headlineprice3; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> HeadlineAd 20000 views <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="30">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>

          <? }
          ?>



     <img src="images/ti-dark.jpg" width="577" height="22">

		<?

		  $sql = mysql_query("SELECT * FROM topnav WHERE 1");

		  if(@mysql_num_rows($sql) < $topnavmax) {

?>

		  <p><b><font size="+1"><img src="images/Purchasetopnavigationlink.png"></font></b><br><font color=green>These ads display at the top of the Member's Area menu for 7 days.<br><br> Must Be Set-Up At Time of Purchase!</font></p>
          <p>Price: $<? echo $navtopprice; ?> or <? echo $navtoppointprice; ?> points per Top Navigation Link.</p>

		  <?


			  if($points >= $navtoppointprice) {
			  ?>
			   <p><font face="Tahoma" size="2"><a href="trade.php?item=navtop">Pay using your points</a></font></p>
			  <?
			  } else {
			  ?>
			   <p><font face="Tahoma" size="2">You don't have enough points to buy a Top Navigation Link</font></p>
			  <?
			  }
			  ?>



          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Top Navigation Link <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $navtopprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Top Navigation Link <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $navtopprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $navtopprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Top Navigation Link <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Top Navigation Link <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $navtopprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Top Navigation Link <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="15">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>




			<?

		  }


else echo "<font face=\"Tahoma\" size=\"2\">All Top Navigation Links have been purchased. We only allow $topnavmax active Top Navigation Links at a time.<br>Please check back later.</font>";
		  ?>

 <img src="images/ti-dark.jpg" width="577" height="22">

		<?

		  $sql = mysql_query("SELECT * FROM botnav WHERE 1");

		  if(@mysql_num_rows($sql) < $navmax) {

?>

		  <p><b><font size="+1"><img src="images/Purchasebotnavigationlink.png"></font></b><br><font color=green>These ads display at the bottom of the Member's Area menu for 7 days.<br><br> Must Be Set-Up At Time of Purchase!</font></p>
          <p>Price: $<? echo $navprice; ?> or <? echo $navpricepoints; ?> points per Bottom Navigation Link.</p>

		  <?


			  if($points >= $navpricepoints) {
			  ?>
			   <p><font face="Tahoma" size="2"><a href="trade.php?item=botnav">Pay using your points</a></font></p>
			  <?
			  } else {
			  ?>
			   <p><font face="Tahoma" size="2">You don't have enough points to buy a Bottom Navigation Link</font></p>
			  <?
			  }
			  ?>



          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Bottom Navigation Link <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $navprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Bottom Navigation Link <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $navprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $navprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Bottom Navigation Link <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Bottom Navigation Link <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $navprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Bottom Navigation Link <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="16">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>




			<?

		  }


else echo "<font face=\"Tahoma\" size=\"2\">All Bottom Navigation Links have been purchased. We only allow $navmax active Bottom Navigation links at a time. <br>Please check back later.</font>";
		  ?>


<img src="images/ti-dark.jpg" width="577" height="22">




		  <p><b><font size="+1"><img src="images/Purchaseloginad.png"></font></b></p>
            <p>Price: $<? echo $loginprice; ?> or <? echo $loginpricepoints; ?> points per Log In Ad with 1,000 views.</p>


		  <?
		  if($points >= $loginpricepoints) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=login">Pay using your points</a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Log In Ad</font></p>
		  <?
		  }
		  ?>


          <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Login Ad <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $loginprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/payreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Logi In Ad <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $loginprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $loginprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Login Ad <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Login Ad <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $loginprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Login Ad <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="17">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>

<img src="images/ti-dark.jpg" width="577" height="22">


	      <p><b><font size="+1"><img src="images/Purchasesoloheaderad.png"></font></b><BR><font color=green>Solo Header Ads rotate randomly at the top of each Solo until it receives 50 clicks.</font></p>
          <p>Price: <? echo $sahprice; ?> or <? echo $sahpointprice; ?> Points for Solo Header Ad</p>



          	  <?
		     if($points >= $sahpointprice) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=sah"><b>Pay using your points</b></a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Solo Header Ad</font></p>
		  <?
		  }

		  ?>
		  		  <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Solo Header Ad <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $sahprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Solo Header Ad <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $sahprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $sahprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Solo Header Ad <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Solo Header Ad <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $sahprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Solo Header Ad <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="19">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>


<img src="images/ti-dark.jpg" width="577" height="22">


	      <p><b><font size="+1"><img src="images/Purchasesoloadfooter.png"></font></b><BR><font color=green>Solo Footer Ads rotate randomly at the bottom of each Solo until it receives 50 clicks.</font></p>
          <p>Price: <? echo $safprice; ?> or <? echo $safpointprice; ?> Points for Solo Footer Ad</p>



          	  <?
		     if($points >= $safpointprice) {
		  ?>
		   <p><font face="Tahoma" size="2"><a href="trade.php?item=saf"><b>Pay using your points</b></a></font></p>
		  <?
		  } else {
		  ?>
		   <p><font face="Tahoma" size="2">You don't have enough points to buy a Solo Footer Ad</font></p>
		  <?
		  }

		  ?>
		  		  <?
          if ($paypal<>"") { ?>
	            <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
	            <!--form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
	            <input type="image" src="../images/PayPal_BuyNow.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
	            <input type="hidden" name="cmd" value="_xclick">
	            <input type="hidden" name="business" value="<? echo $paypal; ?>">
	            <input type="hidden" name="item_name" value="<? echo $sitename; ?> Solo Footer Ad <? echo $userid; ?>">
	            <input type="hidden" name="on0" value="User ID">
				<input type="hidden" name="os0" value="<? echo $userid; ?>">
	            <input type="hidden" name="amount" value="<? echo $safprice; ?>">
				<input type="hidden" name="undefined_quantity" value="1">
	            <input type="hidden" name="no_note" value="1">
                <input type="hidden" name="return" value="<? echo $domain; ?>/members/payreturn.php">
                <input type="hidden" name="cancel" value="<? echo $domain; ?>/members/advertise.php">
				<input type="hidden" name="notify_url" value="<? echo $domain; ?>/members/advertise_ipn.php">
	            <input type="hidden" name="currency_code" value="USD">
	            </form>
          <? }
		  if ($alertpay<>"") { ?>
	        <form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
          <input type="hidden" name="ap_purchasetype" value="item"/>
          <input type="hidden" name="ap_merchant" value="<? echo $alertpay; ?>"/>
          <input type="hidden" name="ap_currency" value="USD"/>
          <input type="hidden" name="ap_returnurl" value="<? echo $domain; ?>/members/paidreturn.php"/>
          <input type="hidden" name="ap_itemname" value="<? echo $sitename; ?> Solo Footer Ad <? echo $userid; ?>"/>
          <input type="hidden" name="ap_quantity" value="1"/>
		  <input type="hidden" name="apc_1" value="<? echo $userid; ?>">
          <input type="hidden" name="ap_amount" value="<? echo $safprice; ?>"/>
          <input type="image" name="ap_image" src="../images/payzapayment.jpg"/> </form>
          <? }
		  if ($moneybookers_email<>"") { ?>
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="<? echo $moneybookers_email; ?>">
<input type="hidden" name="status_url" value="<? echo $domain; ?>/moneybookers_ipn.php">
<input type="hidden" name="return_url" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancel_url" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="amount" value="<? echo $safprice; ?>">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="merchant_fields" value="userid,itemname">
<input type="hidden" name="itemname" value="<? echo $sitename; ?> Solo Footer Ad <? echo $userid; ?>">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="hidden" name="detail1_text" value="<? echo $sitename; ?> Solo Footer Ad <? echo $userid; ?>">
<input type="image" style="border-width: 1px; border-color: #8B8583;" src="http://www.moneybookers.com/images/logos/checkout_logos/checkout_120x40px.gif">
</form>
          <? }
		  if ($safepay_email<>"") { ?>
<form action="https://www.safepaysolutions.com/index.php" method="post">
<input type="hidden" name="_ipn_act" value="_ipn_payment">
<input type="hidden" name="fid" value="49d5116c623ffa73411fcfd33227c7">
<input type="hidden" name="notifyURL" value="<? echo $domain; ?>/safepay_ipn.php">
<input type="hidden" name="returnURL" value="<? echo $domain; ?>/members/paidreturn.php">
<input type="hidden" name="cancelURL" value="<? echo $domain; ?>/members/payreturn.php">
<input type="hidden" name="iowner" value="<? echo $safepay_email; ?>">
<input type="hidden" name="ireceiver" value="<? echo $safepay_email; ?>">
<input type="hidden" name="iamount" value="<? echo $safprice; ?>">
<input type="hidden" name="itemName" value="<? echo $sitename; ?> Solo Footer Ad <? echo $userid; ?>">
<input type="hidden" name="itemNum" value="">
<input type="hidden" name="idescr" value="">
<input type="hidden" name="idelivery" value="1">
<input type="hidden" name="iquantity" value="1">
<input type="hidden" name="imultiplyPurchase" value="n">
<input type="hidden" name="custom1" value="<? echo $userid; ?>">
<input type="hidden" name="colortheme" value="">
<input type="image" src="https://www.safepaysolutions.com/images/xpmt_paybutton_1.gif" alt="Pay through SafePay Solutions">
</form>

<? } if ($stripe<>"") { ?>
<form action="<? echo $stripeurl; ?>/members/ccpayp.php" method="post" target="_top">
<input type="hidden" name="item" value="18">
<input type="hidden" name="userid" value="<? echo $userid; ?>">
<input type="image" src="/images/ccbutton.jpg" style="cursor: pointer;" border="0" name="submit" alt="Pay by Credit Card">
</form><br><br>
          <? }
          ?>


<img src="images/ti-dark.jpg" width="577" height="22"></center><br><br>

<?php

        echo "<br><br></font></td></tr></table>";
    }
else
  { ?>
  <p><center>You must be logged in to access this site. Please <a href="../index.php">click here</a> to login.</center></p>
  <? }
include "../footer.php";
mysql_close($dblink);
?>