decode($ptv); require_once("formfilter/class.inputfilter_clean.php"); $myFilter = new InputFilter($tags, $attr, 0, 0, 0); ?>
Advertising Order"; print "
"; $useadoptionsdata = mysql_query("SELECT * FROM adoptions WHERE adnumber = '$editadnumber'",$db); $useadoptionsrecord = mysql_fetch_array($useadoptionsdata); $useadnumber = $useadoptionsrecord[adnumber]; $useadname = $useadoptionsrecord[adname]; $useaddescription = $useadoptionsrecord[addescription]; $useadcost = $useadoptionsrecord[adcost]; $usecreditcost = $useadoptionsrecord[creditcost]; $useadfrequency = $useadoptionsrecord[adfrequency]; $forwardingurlflag = $useadoptionsrecord[forwardingurl]; $bannergraphicurlflag = $useadoptionsrecord[bannergraphicurl]; $textlineflag = $useadoptionsrecord[textline]; $fullbannerurlflag = $useadoptionsrecord[fullbannerurl]; $emailtextflag = $useadoptionsrecord[emailtext]; print "

$useadname
$ $useadcost

"; print "

$useaddescription

"; print "
"; $paymentreturnurl = "$baseurl"."orderad2.php?adn=$useadnumber"; // $paymentreturnurl = $codep->encode("$paymentreturnurl"); $paymentcancelurl = "$baseurl"."advertising.php"; $useadname = "$sitename"."-"."$useadname"; $setpaymentoptionsdata = mysql_query("SELECT * FROM paymentoptions WHERE paymentstatus = 'On' AND frequencyflag = '$useadfrequency'",$db); $paymentoptionscount = mysql_num_rows($setpaymentoptionsdata); $paymentoptionsloop = 0; while ($paymentoptionsloop < $paymentoptionscount){ $setpaymentoptionsrecord = mysql_fetch_array($setpaymentoptionsdata); $usepaymentaccount = $setpaymentoptionsrecord[paymentaccount]; $usepaymentfile = $setpaymentoptionsrecord[paymentfile]; print "
"; include "$usepaymentfile"; print "
"; $paymentoptionsloop++; } print "
"; if ($usecreditcost > 0 AND $id > 0){ include "manualtraffic/getunallocated.php"; print "

As a member you can use $usecreditcost Credits to Purchase this Advertising Option
Available: $unallocated

"; if ($usecreditcost >= $unallocated){ print "

To use this Purchase Option you will need to Go to your Member Menu
Select 'Site Maitenance', Turn off your autoallocated function and free up enough credits

"; } else { $creditpurchaseurl = "$baseurl"."orderad2c.php?useadnumber=$useadnumber"; $creditpurchaseurl = $codep->encode("$creditpurchaseurl"); print "

If you are purchasing a Monthly Option you will need
to Repurchase in 30 days

"; print "

Click Here to Place your Credit Purchase

"; } } } else { include "loginform.php"; } ?>
 
"; ?>