Added Tell-A-Friend v2.2 -> Added version list. -> Added ability to only allow purchasing customers to be affiliates. -> Added giveaway product functionality. -> Added affiliate emailing. -> Added a few bug fixes. v2.3 -> Added code for parsing PHP in templates. -> Updated code that decides who gets OTO sale. -> Major Security update tracks purchases by IP and only allows Completed payments to be redirected to the download page. -> Added ability to only allow OTO customers to get commissions on the OTO. -> Added ability to disable download emails from automatically being sent. -> Added support for all PayPal currencies. -> BUG FIX: Corrected 48 hour extension of download link to add 48 hours to THIS moment. -> Added script configure util (config.php) v2.4 -> BUG FIX: When OTO commission is set to zero, affiliate always gets the commission. -> BUG FIX: Affiliate cookie now cleared if only customers are allowed to be affiliates. -> BUG FIX: Removed case-sensitive referrer domain comparison for TAF. -> IPN script now prevents people from paying less than stated price for products. -> IPN script now prevents people from purchasing using different emails from the same domains. -> Added admin section for viewing fraudulent transactions. -> Added version number to ipn.php, config.php and settings.php -> Added back-end search features for sales records. -> Added download security. */ $sys_version = 2.4; include("settings.php"); function searchKeywords($url){ $parts = parse_url($url); $host = str_replace("www.", "", $parts["host"]); $keywords = ""; parse_str($parts["query"], $vars); if(strpos(" $host", "google")){ $keywords = urldecode($vars["q"]); } elseif(strpos(" $host", "yahoo")){ $keywords = urldecode($vars["p"]); } elseif(strpos(" $host", "live")){ $keywords = urldecode($vars["q"]); } elseif($vars["keywords"]){ $keywords = urldecode($vars["keywords"]); } elseif($vars["query"]){ $keywords = urldecode($vars["query"]); } else{ $keywords = urldecode($vars["q"]); } return $keywords; } function evalPHP($template){ # Make all settings.php variables accessible to template PHP code. global $sys_admin_username, $sys_admin_password, $sys_domain, $sys_support_address, $sys_script_folder, $sys_template_folder, $sys_default_email, $sys_item_name, $sys_item_number, $sys_item_cost, $sys_oto, $sys_oto_name, $sys_oto_number, $sys_oto_cost, $sys_oto_percent, $sys_item_cancel_url, $sys_expire_hours, $sys_blocked, $sys_secure_dl, $sys_tell_subject, $sys_tell_body, $sys_purchasers_only, $sys_purchasers_override, $sys_giveaway_product, $sys_oto_purchasers_only, $sys_oto_purchasers_override; # Eval all php code in a template and plug result into output. $output = ""; $last = 0; $i = strpos($template, "", $i); $phpcode = trim(str_replace(array(""), "", substr($template, $i, $i2 - $i))); $val = eval($phpcode); $output .= $val; $last = $i2 + 3; $i = strpos($template, "", $i); $phpcode = trim(str_replace(array(""), "", substr($output, $i, $i2 - $i))); $val = eval("return $phpcode;"); $output2 .= $val; $last = $i2 + 3; $i = strpos($output, " "; } elseif($_GET["tries"]<11){ # Give one minute for PayPal to post IPN record before giving up and showing an error. if(!isset($_GET["tries"])){ $tries = 1; } else{ $tries = $_GET["tries"] + 1; } $seconds = 60 - ($tries * 5); echo "

Waiting for PayPal confirmation of purchase, please wait...

$seconds seconds left...

(This page will refresh every 5 seconds until PayPal provides confirmation.)

"; } else{ # IP not found in records. Show error message. if(substr($sys_support_address, 0, 7)=="http://"){ $eaddress = $sys_support_address; } else{ $eaddress = "mailto:$sys_support_address"; } echo " Purchase record not found.

We apologize for the inconvenience, but there was a problem confirming your purchase. Please contact our technical support staff for your download link at:

$eaddress

Please paste a copy of your PayPal receipt into your message for verification.

NOTICE: If you paid with an eCheck or bank draft, the download link will be emailed to you automatically after the payment clears.

Click here to continue.

"; setcookie("first", 0, time()-3600, "/", "." . $sys_domain); } exit; } # Clear first cookie. setcookie("first", 0, time()-3600, "/", "." . $sys_domain); if(isset($_GET["e"])){ # Make sure this account hasn't been blocked. if(!strpos(" $sys_blocked", $_GET["e"])){ # Set cookie and redirect visitor if it's through an affiliate link. # Set privacy policy for IE6/WinXP users. # If you don't do this, a lot of IE browsers wont accept the cookie. header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"'); setcookie("aff", $_GET["e"], time()+31536000, "/", "." . $sys_domain); if($sys_purchasers_only){ if(strpos(strtolower(" $sys_purchasers_override"), strtolower($_GET["e"]))){ # Affiliate is in over-ride list. Let them sell. $sellit = true; } else{ # Verify that this paypal email address is in our ipn.txt $sellit = false; $sales = @file($sys_template_folder . "ipn.txt"); foreach($sales as $sale){ $sale = explode("|", $sale); if(strtolower($sale[4])==strtolower($_GET["e"])){ # They're a customer. $sellit = true; break; } } } } else{ # Let anybody sell the product. $sellit = true; } if($sellit){ if($_GET["taf"]){ header("Location: $sys_script_folder?taf=1"); } else{ header("Location: $sys_script_folder"); } } else{ # Clear affiliate cookie. setcookie("aff", "", time() - 3600); # Show a message indicating that only people who bought can sell. showTemplate($sys_template_folder . "customersonly.html"); } exit; } else{ # Inform visitor that this customers link has been blocked # for fradulent activity. $filename = $sys_template_folder . "fraud.html"; showTemplate($filename); exit; } } # Keep paypal email on hand at all times. if(isset($_COOKIE["aff"])){ $email = $_COOKIE["aff"]; } else{ $email = $sys_default_email; } if($action==""){ # Save referrer. if(isset($_GET["taf"])){ setcookie("ref", "TELL-A-FRIEND", time()+31536000, "/", "." . $sys_domain); } else{ setcookie("ref", $_SERVER["HTTP_REFERER"], time()+31536000, "/", "." . $sys_domain); } # Show sales letter. $filename = $sys_template_folder . "salesletter.html"; # Set test cookie to make sure this will work for user. #setcookie("cookietest", true, time()+31536000, "/", "." . $sys_domain); } elseif($action=="giveaway"){ if($sys_giveaway_product){ # This is a giveaway product. Set cookies for squeeze page. setcookie("first", time(), time()+600, "/", "." . $sys_domain); setcookie("ordered", time(), time()+($sys_expire_hours * 3600), "/", "." . $sys_domain); setcookie("giveaway", time(), time()+($sys_expire_hours * 3600), "/", "." . $sys_domain); # Send them on. header("Location: index.php?action=squeeze"); exit; } } elseif($action=="order"){ # An order. Great! :) if(!$sys_currency){ # Default to USD. $sys_currency = "USD"; } # First, make sure cookies work for this user (since they are required). #if(isset($_COOKIE["cookietest"])){ if(1){ # Yup. Send them through the order process. if(isset($_GET["oto"])){ # Buying OTO. if(!isset($_COOKIE["aff"])){ # No affiliate. Use primary email address. $email = $sys_default_email; } else{ $checksale = true; if($sys_oto_purchasers_only){ $checksale = false; # Restrict OTO commissions to OTO purchasers only. $sale = getOTOSalesRecord($_COOKIE["aff"]); if(is_array($sale)){ # They are an OTO customer. $checksale = true; } } if($checksale){ # Use sales data to figure out who should get next OTO sale. $sales = @file($sys_template_folder . "ipn.txt"); $afftotal = 0; $affsales = 0; foreach($sales as $sale){ $sale = explode("|", $sale); if($sale[2] == $sys_oto_number && strtolower($sale[13]) == strtolower($_COOKIE["aff"])){ # OTO sale referred by affiliate. $afftotal++; if(strtolower($sale[3]) == strtolower($_COOKIE["aff"])){ # Affiliate got the OTO sale. $affsales++; } } } if($afftotal > 0){ $affper = $affsales / $afftotal; } else{ $affper = 0; } if($sys_oto_percent > 0 && $affper<=$sys_oto_percent){ # Give OTO to affiliate. $email = $_COOKIE["aff"]; } else{ # Give OTO to vendor. $email = $sys_default_email; } } else{ # Send payment to vendor. $email = $sys_default_email; } /* Old selection code. srand(); $r = rand(1, 100); if($r<=$sys_oto_percent){ # Send OTO to affiliate. $email = $_COOKIE["aff"]; } else{ # Use primary. $email = $sys_default_email; } */ } $item_name = $sys_oto_name; $item_number = $sys_oto_number; $item_cost = $sys_oto_cost; $item_download_url = "http://$sys_domain" . $sys_script_folder . "?action=downloadoto"; #$item_download_url = "http://$sys_domain" . $sys_script_folder; $item_cancel_url = $sys_item_cancel_url; $item_ipn_url = "http://$sys_domain" . $sys_script_folder . "ipn.php"; setcookie("oto", time(), time()+($sys_expire_hours * 3600), "/", "." . $sys_domain); } else{ # Regular purchase. $item_name = $sys_item_name; $item_number = $sys_item_number; $item_cost = $sys_item_cost; $item_download_url = "http://$sys_domain" . $sys_script_folder . "?action=squeeze"; #$item_download_url = "http://$sys_domain" . $sys_script_folder; $item_cancel_url = $sys_item_cancel_url; $item_ipn_url = "http://$sys_domain" . $sys_script_folder . "ipn.php"; } setcookie("first", time(), time()+600, "/", "." . $sys_domain); # Set ordered cookie. setcookie("ordered", time(), time()+($sys_expire_hours * 3600), "/", "." . $sys_domain); # Get customer IP address. $ip = $_SERVER["REMOTE_ADDR"]; # Use meta-refresh instead of header() redirect. # header() seems to cause session issues with PayPal. echo " Please wait...

We use PAYPAL (A world leader in secure online transactions) to conduct business with you.

Once PAYPAL has approved your payment remember to click on the RETURN TO MERCHANT to download the software.


You are now being redirected to the PayPal...

"; exit; } } elseif($action=="download" && isset($_REQUEST["id"])){ # Check that: 1) ID is valid and 2) download has not timed out. $id = $_REQUEST["id"]; $fh = @fopen($sys_template_folder . "ipn.txt", "r"); $invalid = true; $records = array(); $changes = false; while($rec = @fgets($fh)){ $rec = str_replace("\n", "", $rec); if(trim($rec)){ $record = explode("|", $rec); if($record[0]==$id){ $invalid = false; # Valid ID. Check timeout. if(time()<=$record[9]){ # Still active. Set cookies and show download. setcookie("ordered", time(), $record[9], "/", "." . $sys_domain); if($record[2]==$sys_oto_number){ # One-time offer download. Set cookie and show download. setcookie("oto", time(), $record[9], "/", "." . $sys_domain); $filename = $sys_template_folder . "downloadoto.html"; } else{ # Already squeezed, show download page. $filename = $sys_template_folder . "download.html"; } } else{ # Expired. $filename = $sys_template_folder . "downloadexpired.html"; } $rec = ""; for($i=0;$i0){ # Replace message vars. $subject = str_replace("[SENDER]", $sendername, $sys_tell_subject); $subject = str_replace("[PAYPAL]", $senderpaypal, $subject); $body = str_replace("[SENDER]", $sendername, $sys_tell_body); $body = str_replace("[PAYPAL]", $senderpaypal, $body); $headers = "From: $sendername<$senderpaypal> X-Sender: $sendername<$senderpaypal> X-Mailer: PHP " . phpversion() . " X-Priority: 3 Return-Path: $sendername<$senderpaypal> Reply-To: $sendername<$senderpaypal>"; # Read number of tell-a-friend mails sent to date. $tafcount = @file_get_contents($sys_template_folder . "tellafriend.txt"); if(!$tafcount){ $tafcount = 0; } # Send the message. foreach($emails as $email){ if($email){ @mail($email, $subject, $body, $headers); $tafcount++; } } # Write new count. $fh = @fopen($sys_template_folder . "tellafriend.txt", "w+"); @fwrite($fh, $tafcount); @fclose($fh); # Thanks! echo "Thanks! A message has been sent to the people you entered into the form."; exit; } else{ # Mail can only be sent from this domain. echo "Mail can only be sent from $sys_domain."; exit; } } else{ echo "Your name and PayPal email address are required."; exit; } } elseif($action=="remove"){ # Remove affiliate from email list. if($_REQUEST["email"]){ $fh = @fopen($sys_template_folder . "unsubs.txt", "a+"); @fwrite($fh, $_REQUEST["email"] . "\n"); @fclose($fh); echo "

You will no longer receive email from $sys_item_name.

"; exit; } } elseif($action=="downloadfile"){ # } # All other actions require that user has ordered and # cookie is set. If it's not, then it's expired. elseif(isset($_COOKIE["ordered"])){ # Kill "first" cookie if($action=="oto"){ # Show oto page. $filename = $sys_template_folder . "oto.html"; } elseif($action=="squeeze"){ $sale = getIPSalesRecord(); if(is_array($sale)|isset($_COOKIE["giveaway"])){ # Show name squeeze page. $filename = $sys_template_folder . "squeeze.html"; } else{ # Not safe, show expired. $filename = $sys_template_folder . "downloadexpired.html"; } } elseif($action=="download"){ $sale = getIPSalesRecord(); if(is_array($sale)|isset($_COOKIE["giveaway"])){ if($sys_oto && !isset($_GET["dl"])){ # Show OTO page. $filename = $sys_template_folder . "oto.html"; } else{ # Show download page. $filename = $sys_template_folder . "download.html"; } } else{ # Not safe, show expired. $filename = $sys_template_folder . "downloadexpired.html"; } } elseif($action=="downloadoto" && isset($_COOKIE["oto"])){ $sale = getIPSalesRecord(true); if(is_array($sale)){ # Show OTO download page. $filename = $sys_template_folder . "downloadoto.html"; } else{ # Invalid IP. $filename = $sys_template_folder . "downloadexpired.html"; } } elseif($action=="downloadoto"){ # Show expired since visitor doesn't have oto cookie. $filename = $sys_template_folder . "downloadexpired.html"; } else{ # Expired. $filename = $sys_template_folder . "downloadexpired.html"; } } elseif($action=="order" && !isset($_COOKIE["cookietest"])){ # No cookies. Show error. $filename = $sys_template_folder . "nocookies.html"; } elseif($action){ # Cookie's gone. Download has expired. $filename = $sys_template_folder . "downloadexpired.html"; } if($action=="admin"){ # Get username/password for admin area. echo "
Admin Login

username
password

"; exit; } elseif($action=="adminlogin"){ # Verify admin username/password. if($_POST["username"] == $sys_admin_username && $_POST["password"] == $sys_admin_password){ # Valid. Cookie and redirect. setcookie("admin", true); header("Location: $_SERVER[PHP_SELF]?action=adminmenu"); exit; } else{ echo "Invalid username or password."; exit; } } if($_COOKIE["admin"]){ $adminheader = "Admin Panel

$7 Secrets Scripts v$sys_version

"; $adminfooter = "
lesbian seduction story video lesbian seduction story video- ran jewish porn boro park jewish porn boro park- strong licking county dog pound licking county dog pound- wall manitoulin teens manitoulin teens- dream alian pron alian pron- sound saggy long tits saggy long tits- wash dick s den columbus dick s den columbus- garden teen sex interviews teen sex interviews- fit x lesbian home x lesbian home- trip pulled nipples videos pulled nipples videos- separate virgin mary prophecy virgin mary prophecy- lift royston vasey chubby brown royston vasey chubby brown- boat fucked girlfriends mom fucked girlfriends mom- famous hardcore ancient grannies hardcore ancient grannies- know women forced boy porn women forced boy porn- paper stepfather son sex stepfather son sex- idea sexy lingerie bbw sexy lingerie bbw- question xxx gloryhole tgp xxx gloryhole tgp- slave michael s sex michael s sex- wing nasty girl nitty lyrics nasty girl nitty lyrics- clothe gay mcallen gay mcallen- morning 1970 s college porn 1970 s college porn- grew bang bus movies bang bus movies- insect doctor exams teen doctor exams teen- time barely legal whore barely legal whore- capital teens birthday parties teens birthday parties- girl history of facial masks history of facial masks- oh buffie at big cuties buffie at big cuties- wall oma fucks oma fucks- every vaginal discharge after intercourse vaginal discharge after intercourse- test sucking on titties porn sucking on titties porn- wind things in vagina things in vagina- off isis breast pump accessories isis breast pump accessories- occur webcam geneva switzerland webcam geneva switzerland- island breast implant dimple breast implant dimple- proper lloyd banks gay video lloyd banks gay video- prove ex girlfriend sex movie ex girlfriend sex movie- water dilara nude dilara nude- while nylon bolt cloth nylon bolt cloth- arrive lacey teen model dvd lacey teen model dvd- solution condom efficiency rate condom efficiency rate- full laura ramsey topless laura ramsey topless- cry hot lesbians toons hot lesbians toons- basic 1963 love songs 1963 love songs- wish walmart sex walmart sex- help amateur pussy photo amateur pussy photo- loud female escorts dorset female escorts dorset- especially hardcore gay twink porn hardcore gay twink porn- began mature and young fuck mature and young fuck- stay psilocybin and sex psilocybin and sex- claim sean young bizarre behavior sean young bizarre behavior- stay beaver valley alloy beaver valley alloy- complete latino gay male porn latino gay male porn- differ philadelphia shemale club philadelphia shemale club- yard transexual teen boys nude transexual teen boys nude- who escorts london se escorts london se- big full figured beauty pageants full figured beauty pageants- death jonathan papelbon shirtless jonathan papelbon shirtless- child nude gays vidoes nude gays vidoes- quite goku fucks sailor moon goku fucks sailor moon- yes winnie the pooh karoke winnie the pooh karoke- blood young vagina photos young vagina photos- do cruise ship fantasy nude cruise ship fantasy nude- soft supergirl mature art supergirl mature art- character porn vides on beach porn vides on beach- rose psp podcast porn psp podcast porn- lake degrading sex cartoons degrading sex cartoons- truck asshole massacre asshole massacre- die beata bbw beata bbw- our super pink pussy super pink pussy- exact gay cumshots solos gay cumshots solos- dead bailey s room porn bailey s room porn- death screenshots of teen titan screenshots of teen titan- even we love anime we love anime- ring marcia brady blowjob marcia brady blowjob- like gay therapist in pennsylvania gay therapist in pennsylvania- indicate erectile dysfunction free samples erectile dysfunction free samples- man bisexual curious couples bisexual curious couples- natural dodge cummings oil dodge cummings oil- verb nudes matures nudes matures- broad wet vagina videos free wet vagina videos free- bought anal rimming anal rimming- original baby sex tests baby sex tests- if domai softcore domai softcore- hit golf swing drill guru golf swing drill guru- lead tall lanky chicks tall lanky chicks- joy schule handy sex schule handy sex- next fatty liver elevated copper fatty liver elevated copper- phrase wives in lingerie wives in lingerie- them sperm concentration immotile sperm sperm concentration immotile sperm- middle homemade uncut cock homemade uncut cock- now virgin eba virgin eba- track tommy hilfinger messanger bangs tommy hilfinger messanger bangs- that erection with the kids erection with the kids- sand husbands sex habits husbands sex habits- clear spidi nasty spidi nasty- period teen dating violence statistics teen dating violence statistics- fair masha nudist masha nudist- before teenage love guide teenage love guide- game homemade drunk teen homemade drunk teen- smell survival for relationships survival for relationships- broke nude college frat brothers nude college frat brothers- time mature mothers porn movies mature mothers porn movies- ever vampire porn pics vampire porn pics- valley teen night clubs seattle teen night clubs seattle- me sex uk tgp sex uk tgp- share kinky lesbian girls kinky lesbian girls- behind yahoo xxx web cams yahoo xxx web cams- east amateur shemale galleries amateur shemale galleries- hole fuck with whip handle fuck with whip handle- very newgrounds xxx newgrounds xxx- last lynn dawn porn lynn dawn porn- yet karma boobs karma boobs- send huge animal cocks huge animal cocks- suit passion party consultants wi passion party consultants wi- consonant married bbw personals married bbw personals- provide teen black lesbians teen black lesbians- simple ebony teen nudes ebony teen nudes- strange pictures of family nudism pictures of family nudism- base strawberry shortcake naked strawberry shortcake naked- material flexi teens flexi teens- page d o a nudes d o a nudes- west gay men kissing nipples gay men kissing nipples- felt bambino gay bambino gay- use heaven austin escort heaven austin escort- gentle kristen smith nude kristen smith nude- describe sex law in singapore sex law in singapore- neighbor pain in right breast pain in right breast- ring kahlua escort windsor kahlua escort windsor- tall yung porn stars yung porn stars- gas wives fucking niggers wives fucking niggers- fig discharge day porn discharge day porn- drink ersin ulke gay ersin ulke gay- few large breasts free archive large breasts free archive- ear wellness and relationships wellness and relationships- animal dick s galyans dick s galyans- back brit chick lisa bed brit chick lisa bed- wheel nude lindsay lohan pics nude lindsay lohan pics- oxygen girls who kiss snatches girls who kiss snatches- hat escorts evansville in escorts evansville in- word known pregnancy from fingering known pregnancy from fingering- here virgin islands 2008 election virgin islands 2008 election- neck little tits big pussy little tits big pussy- must guys chatrooms guys chatrooms- beat hunge gay guys tgp hunge gay guys tgp- up sexy japanese blowjobs sexy japanese blowjobs- stand baby chicks eating time baby chicks eating time- fact teen anal clips teen anal clips- cat mature taxi mature taxi- also breasts massage 3 breasts massage 3- table great titty bars great titty bars- length tj strip clubs tj strip clubs- saw beautiful russian tits beautiful russian tits- operate shemale jacking off shemale jacking off- prove 1 sms videos webcams 1 sms videos webcams- consider bad breath dating bad breath dating- temperature 3d glasses xxx 3d glasses xxx- act dream teen kelly dream teen kelly- sentence vintage xxx dog sex vintage xxx dog sex- glass love test calculator love test calculator- dog 2006 gay porn release 2006 gay porn release- person porn bondage hogtied porn bondage hogtied- sound nude celebrity filipinas nude celebrity filipinas- salt sex offender registery sex offender registery- flower dick ahlberg kron dick ahlberg kron- second exciting vacation ideas singles exciting vacation ideas singles- dark gay men lcum shots gay men lcum shots- list pain lump vagina pain lump vagina- six mistress forced cock milking mistress forced cock milking- school deepthroat 1972 deepthroat 1972- thousand dunedin escort dunedin escort- drink penis pump ejaculation penis pump ejaculation- knew vietnamese women s pussy vietnamese women s pussy- tool transex site transex site- wood love poems of abarat love poems of abarat- instant greek style sex greek style sex- card no credit required porn no credit required porn- land hardcore movie torrent downloads hardcore movie torrent downloads- order gay escort how to gay escort how to- fraction hot chick camel toe hot chick camel toe- score porn affiliate program porn affiliate program- son big tit amateur pussy big tit amateur pussy- tiny nude fairys nude fairys- truck breast duct clog breast duct clog- an upload erotic upload erotic- whole chick evans chick evans- push naked bolly babes naked bolly babes- kind hardest hardcore porn hardest hardcore porn- edge first timers porn videos first timers porn videos- original trevor foundation gay trevor foundation gay- little fetish cake sexy fetish cake sexy- bring sandy summers sex videos sandy summers sex videos- office sara jean nude pics sara jean nude pics- enough cabinent hardware knob gallery cabinent hardware knob gallery- earth amateur strip pics amateur strip pics- drink teen tv cart teen tv cart- city adult sex porn stories adult sex porn stories- come cartoon network teen titans cartoon network teen titans- complete ripped pantyhose free movie ripped pantyhose free movie- has atl honeys xxx atl honeys xxx- such fayettville escorts fayettville escorts- fine pastor member relationships pastor member relationships- agree love one another sermon love one another sermon- catch metro interfaith credit counseling metro interfaith credit counseling- bird teen mastubating vagina teen mastubating vagina- especially thehun adult thehun adult- law japanese lactation porn japanese lactation porn- last arrl us amateur bands arrl us amateur bands- must frre young pussy frre young pussy- agree teen lounge sofat teen lounge sofat- list underground clips xxx underground clips xxx- search fat ebony hoes fat ebony hoes- coast walk public naked vid walk public naked vid- kind shaved big beavers shaved big beavers- fish kiwi porn kiwi porn- cotton oakland breast lif oakland breast lif- king lindsy lohans pussy lindsy lohans pussy- hand nudes over 50 nudes over 50- blue nude joanna krupa pictures nude joanna krupa pictures- last vannessa hudgens nude scandal vannessa hudgens nude scandal- engine cyhteria porn star cyhteria porn star- take aunt son xxx aunt son xxx- noon hommade sex hommade sex- discuss gay controversy gay controversy- said pamla andersons pussy pamla andersons pussy- there teens birthdays teens birthdays- character hd teen hd teen- match harry pussy pics harry pussy pics- chance childrens facial childrens facial- give teen wet masturbation teen wet masturbation- over sneek peak gay porn sneek peak gay porn- example double ended dildo sex double ended dildo sex- now bollywood nude actresses bollywood nude actresses- scale jizzed faced jizzed faced- brother vanessa minello nude vanessa minello nude- describe tgp free submitted tgp free submitted- thick passion party success story passion party success story- sheet sensory integration dysfunction cure sensory integration dysfunction cure- group alexis big booty alexis big booty- leave animate 3d sex animate 3d sex- small teen slam teen slam- late gay anel sex gay anel sex- support kirsten andrews porn kirsten andrews porn- sister great nipple slips great nipple slips- field norweigen girl strips norweigen girl strips- next webcam software for fun webcam software for fun- card large cock videos large cock videos- stop breast enhancing vitamins breast enhancing vitamins- feet most powerful mini vibrator most powerful mini vibrator- track blood xxx blood xxx- self bbw huge penetration bbw huge penetration- grass twink school twink school- bell md teen kills family md teen kills family- been naked mile nude scene naked mile nude scene- determine designer dress for teen designer dress for teen- high naughty brides get fucked naughty brides get fucked- road womens fnatasy fuck womens fnatasy fuck- check amish women topless amish women topless- suit bro sis anal sex bro sis anal sex- special celeb dick celeb dick- join sex partners swinging sex partners swinging- metal hob knob inn hob knob inn- down porn movie forumz porn movie forumz- unit suctioncup dildo suctioncup dildo- by child protective services sucks child protective services sucks- lift having gay anal sex having gay anal sex- fall bdsm execution role play bdsm execution role play- wheel nude black college girls nude black college girls- way secret sex liaisons uk secret sex liaisons uk- post escort glamour models escort glamour models- fast young male nudists young male nudists- night hard fatty nodule picture hard fatty nodule picture- excite hardcore blonde fantasys porn hardcore blonde fantasys porn- describe blissworld beauty blissworld beauty- edge dating service las vegas dating service las vegas- it cougar vibrator cougar vibrator- little azn models naked pics azn models naked pics- same horny truckers uk horny truckers uk- mean lester bangs history lester bangs history- shape galleries russian bdsm galleries russian bdsm- made gay truck stop stories gay truck stop stories- lake candid board teens candid board teens- oil naked male celebriteies naked male celebriteies- war nipples photos nipples photos- such cctv sex action vids cctv sex action vids- for porn viedoes free porn viedoes free- metal sissy cafe express sissy cafe express- chief lawton ok escorts lawton ok escorts- build my grandpa fucked me my grandpa fucked me- segment hillary duff nude pics hillary duff nude pics- strong hot sex network hot sex network- black co cal coed co cal coed- especially ratatouille disney porn ratatouille disney porn- more download teen adult videos download teen adult videos- roll hot naked women video s hot naked women video s- plain gay online naked dares gay online naked dares- power eros softcore eros softcore- until movie the dreamgirls movie the dreamgirls- happy singles peru singles peru- major infant facial rash infant facial rash- her love and lyrics soundtrack love and lyrics soundtrack- he gay long island city gay long island city- broad lesbian teacher movies student lesbian teacher movies student- summer winnie nee winnie nee- nature tgp video galleries tgp video galleries- stood slovakia porn directors slovakia porn directors- give family guy pepperoni nipples family guy pepperoni nipples- day blnd teen pussy blnd teen pussy- finish inuyasha kagome love making inuyasha kagome love making- organ legal pics of virgins legal pics of virgins- always australian amateurs movies australian amateurs movies- house naked austin naked austin- segment beaver national animal beaver national animal- good sensual relaxation sensual relaxation- degree virgin mary fabric virgin mary fabric- but syberian lesbians syberian lesbians- hard sun ridge nudist club sun ridge nudist club- column nude asian supermodels nude asian supermodels- man nylon women s soes nylon women s soes- bed nude african schoolgirls nude african schoolgirls- gentle erotic punishment wooden pony erotic punishment wooden pony- bring hungry mature housewives hungry mature housewives- less thiland teen thiland teen- poem breast dent breast dent- run dick s sporting foods dick s sporting foods- blue loud teen horny loud teen horny- yes webcam for virginia tech webcam for virginia tech- father naked teens bathing naked teens bathing- teeth hentai jiggles hentai jiggles- require augmentation augmentations breast informati augmentation augmentations breast informati- five 3d sex sim 3d sex sim- tube naked male lifeguards naked male lifeguards- land petticoat discipline femdom petticoat discipline femdom- tell teen westward bound teen westward bound- hope black white men personals black white men personals- set facials in dallas texas facials in dallas texas- substance sex talk bbw sex talk bbw- slow youtube sissy lesbians girl youtube sissy lesbians girl- cold bit boobs girls list bit boobs girls list- chart vaginal health questions vaginal health questions- cool straight couples lovemaking straight couples lovemaking- value azela anal swallow 11 azela anal swallow 11- red chick with knockers chick with knockers- low gay chub gallery gay chub gallery- best gay porn orgies gay porn orgies- drink bang broth bang broth- night lolican hardcore lolican hardcore- more flexible sex women flexible sex women- spread old fashioned phone sex old fashioned phone sex- original aunt polly sex dreams aunt polly sex dreams- board huge streche assholes huge streche assholes- repeat black ametuer sex vids black ametuer sex vids- I gay sutton gay sutton- hard c700 tgp c700 tgp- gray hentai school bus hentai school bus- start nude muscleman nude muscleman- shine german pussy lips german pussy lips- sentence shirtless andy baldwin shirtless andy baldwin- instrument older women wearing thongs older women wearing thongs- some ribbons on nipples ribbons on nipples- corner pet relationship explaining essays pet relationship explaining essays- know terry crews naked terry crews naked- crop spokane phone dating chat spokane phone dating chat- triangle bignaturals ebony bignaturals ebony- strange dream sex vids dream sex vids- thought teens named caitlin teens named caitlin- hole mpg to wav mpg to wav- room chubby teen gallerys chubby teen gallerys- left youtube white chicks youtube white chicks- require picture high res lesbian picture high res lesbian- dead uba counseling uba counseling- get breast morphs busty breast morphs busty- art porn anime girls porn anime girls- meet tiny ass fucked hard tiny ass fucked hard- other mature iclandic women mature iclandic women- name sex groom sex groom- noise shania twain topless photos shania twain topless photos- pound arkansas sex offender regestry arkansas sex offender regestry- him non nude webcams non nude webcams- energy spanking wife videos spanking wife videos- baby amature thread amature thread- list eu us economic relationship eu us economic relationship- now virgin islands work virgin islands work- age j f beaver j f beaver- note escort agency toledo escort agency toledo- two amateur underground sexy girl amateur underground sexy girl- stead tan line tittys tan line tittys- low having sex with teenagers having sex with teenagers- for nude pregos nude pregos- fall dr r randolf butts dr r randolf butts- part artist dick turner artist dick turner- five lindsey lohan pictures nude lindsey lohan pictures nude- sure tantric transform tantric transform- clear emo fag porn emo fag porn- war gay sex organizations gay sex organizations- verb teen cum on panties teen cum on panties- verb bahaya anal sex bahaya anal sex- step women erotic parts women erotic parts- clean busty asians movies busty asians movies- black vannesa hudgens nude oics vannesa hudgens nude oics- place leo boobs leo boobs- loud milf 40362 milf 40362- nose gay rubber videos gay rubber videos- element definition of butts definition of butts- and buddy gay buddy gay- walk married dating sites uk married dating sites uk- chief teen xxx fun teen xxx fun- branch non nude mpegs non nude mpegs- valley teen tracking device teen tracking device- form twinks scottish twinks scottish- far my 3gp amateur my 3gp amateur- food feet tickling mpegs feet tickling mpegs- bear mc nude rebecca mc nude rebecca- start men shocked ejaculation men shocked ejaculation- only newgrounds hentai quiz newgrounds hentai quiz- feet huge dicks xxx huge dicks xxx- range morris porn quality morris porn quality- among b 29 and enola gay b 29 and enola gay- table shay marks nude shay marks nude- wide nasty teen whores nasty teen whores- grass fifty year old milf fifty year old milf- we over 50 porn galleries over 50 porn galleries- soldier bigbooty porn bigbooty porn- several celeb porn trailers celeb porn trailers- new latinas on latinas on- did gay mental health retreats gay mental health retreats- after tan gay ass tan gay ass- drink tortured wives tortured wives- one gay duo cartoon gay duo cartoon- bring brittany banks porn brittany banks porn- branch winnie pooh adult costume winnie pooh adult costume- operate buying cheap Viagra online in uk
"; # Admin functions. if($action=="adminmenu"){ # Get tell-a-friend count. $taf = @file_get_contents($sys_template_folder . "tellafriend.txt"); if(!$taf){ $taf = 0; } echo " $adminheader

Admin Panel

  1. Show All Sales
  2. Show Last 50 Sales
  3. Show Last 100 Sales
  4. Show My Sales
  5. Search Sales
  6. Referrer Report
  7. Referrer Domains Report
  8. My Sales Referrer Report
  9. My Sales Referrer Domains Report
  10. Fraud Report
  11. Affiliates Report
  12. Email Affiliates
  13. Export Purchases to CSV
  14. Logout

$taf people have been emailed using the tell-a-friend script.

$adminfooter "; exit; } elseif($action=="adminbuys"|$action=="adminmine"){ # Show all customers. $records = @file($sys_template_folder . "ipn.txt"); $count = 0; $count = $_REQUEST["count"]; if($records){ $rcount = count($records); } else{ $rcount = 0; $records = array(); } if($count){ $showing = "last $count"; } else{ $showing = "all $rcount"; } if($action=="adminmine"){ $showing = "only sales paid to you"; } echo " $adminheader Back to Menu

Clicking the EXPIRES link will add another $sys_expire_hours hours to the customer's download link expiration.

$rcount total records. Showing $showing. Your sales are highlighted. "; $bgcolor = "#ffffff"; $c = $rcount; foreach($records as $rec){ $c--; if(!$count | $c<=$count){ $rec = str_replace("\n", "", $rec); if(trim($rec)){ $record = explode("|", $rec); $date = ""; if($record[11]){ $date = date("Y-m-d H:i:s", $record[11]); } $expires = date("Y-m-d H:i:s", $record[9]); if($record[3]==$sys_default_email){ # Our sale. Yay! :) $bgcolor = "#ffffcc"; } $show = true; if($action=="adminmine"){ if($record[3]!=$sys_default_email){ $show = false; } } if($show){ echo " "; } if($bgcolor=="#ffffff"){ $bgcolor = "#eeeeee"; } else{ $bgcolor = "#ffffff"; } } } } echo "
PayPal Receipt ID Item Number Affiliate Email Customer Email First Name Last Name Payment Bought Expires
$record[0] $record[2] $record[3] $record[4] $record[5] $record[6] $record[8] $date $expires
$adminfooter"; exit; } elseif($action=="adminexport"){ # Export purchase records to CSV. $first = true; header("Content-Type: application/octet-stream"); header("Content-Disposition: attachment; filename=export.csv"); header("Content-Transfer-Encoding: binary"); $records = @file($sys_template_folder . "ipn.txt"); if($records){ foreach($records as $rec){ $rec = str_replace("\n", "", $rec); if(trim($rec)){ if($first){ # Output headers. echo '"PayPal Receipt ID","Item Name","Item Number","Affiliate Email","Customer Email","First Name","Last Name","Company","Payment","Bought","Expires"' . "\r\n"; $first = false; } $record = explode("|", $rec); $date = ""; if($record[11]){ $date = date("Y-m-d H:i:s", $record[11]); } $expires = date("Y-m-d H:i:s", $record[9]); echo "\"$record[0]\",\"$record[1]\",\"$record[2]\",\"$record[3]\",\"$record[4]\",\"$record[5]\",\"$record[6]\",\"$record[7]\",\"$record[8]\",\"$date\",\"$expires\"\r\n"; } } } exit; } elseif($action=="adminrefs"|$action=="adminrefsmine"){ # Show referrer report. $records = @file($sys_template_folder . "ipn.txt"); $count = 0; $count = $_REQUEST["count"]; if($records){ $rcount = count($records); } else{ $rcount = 0; $records = array(); } if($count){ $showing = "last $count"; } else{ $showing = "all $rcount"; } if($action=="adminrefsmine"){ $showing = "only sales paid to you"; } echo " $adminheader Back to Menu

$rcount total records. Showing $showing. Your sales are highlighted. "; $bgcolor = "#ffffff"; $c = $rcount; $refs = array(); foreach($records as $rec){ $c--; if(!$count | $c<=$count){ $rec = str_replace("\n", "", $rec); if(trim($rec)){ $record = explode("|", $rec); $date = ""; if($record[11]){ $date = date("Y-m-d H:i:s", $record[11]); } $expires = date("Y-m-d H:i:s", $record[9]); if($record[3]==$sys_default_email){ # Our sale. Yay! :) $bgcolor = "#ffffcc"; } $show = true; if($action=="adminrefsmine"){ if($record[3]!=$sys_default_email){ $show = false; } } if($show){ if(strlen($record[12])>100){ $ref = substr($record[12], 0, 98) . ".."; } else{ $ref = $record[12]; } if(isset($refs[$record[12]])){ $refs[$record[12]]++; } else{ $refs[$record[12]]=1; } } } } } arsort($refs); foreach($refs as $ref => $sales){ $parts = parse_url($ref); $host = str_replace("www.", "", $parts["host"]); $keywords = searchKeywords($ref); if(strlen($ref)>100){ $sref = substr($ref, 0, 98) . ".."; } else{ $sref = $ref; } echo " "; if($bgcolor=="#ffffff"){ $bgcolor = "#eeeeee"; } else{ $bgcolor = "#ffffff"; } } echo "
Referrer Domain Keywords Sales
$sref $host $keywords $sales
$adminfooter"; exit; } elseif($action=="adminrefdomains"|$action=="adminrefdomainsmine"){ # Show referrer report. $records = @file($sys_template_folder . "ipn.txt"); $count = 0; $count = $_REQUEST["count"]; if($records){ $rcount = count($records); } else{ $rcount = 0; $records = array(); } if($count){ $showing = "last $count"; } else{ $showing = "all $rcount"; } if($action=="adminrefdomainsmine"){ $showing = "only sales paid to you"; } echo " $adminheader Back to Menu

$rcount total records. Showing $showing. Your sales are highlighted. "; $bgcolor = "#ffffff"; $c = $rcount; $refs = array(); foreach($records as $rec){ $c--; if(!$count | $c<=$count){ $rec = str_replace("\n", "", $rec); if(trim($rec)){ $record = explode("|", $rec); $date = ""; if($record[11]){ $date = date("Y-m-d H:i:s", $record[11]); } $expires = date("Y-m-d H:i:s", $record[9]); if($record[3]==$sys_default_email){ # Our sale. Yay! :) $bgcolor = "#ffffcc"; } $show = true; if($action=="adminrefdomainsmine"){ if($record[3]!=$sys_default_email){ $show = false; } } if($show){ $parts = parse_url($record[12]); $host = str_replace("www.", "", $parts["host"]); if(isset($refs[$host])){ $refs[$host]++; } else{ $refs[$host]=1; } } } } } arsort($refs); foreach($refs as $ref => $sales){ echo " "; if($bgcolor=="#ffffff"){ $bgcolor = "#eeeeee"; } else{ $bgcolor = "#ffffff"; } } echo "
Domain Sales
$ref $sales
$adminfooter"; exit; } elseif($action=="adminaffiliates"){ # Show referrer report. $records = @file($sys_template_folder . "ipn.txt"); $count = 0; $count = $_REQUEST["count"]; if($records){ $rcount = count($records); } else{ $rcount = 0; $records = array(); } if($count){ $showing = "last $count"; } else{ $showing = "all $rcount"; } echo " $adminheader Back to Menu

$rcount total records. Showing $showing. Your sales are highlighted. "; $bgcolor = "#ffffff"; $c = $rcount; $refs = array(); foreach($records as $rec){ $c--; if(!$count | $c<=$count){ $rec = str_replace("\n", "", $rec); if(trim($rec)){ $record = explode("|", $rec); $date = ""; if($record[11]){ $date = date("Y-m-d H:i:s", $record[11]); } $expires = date("Y-m-d H:i:s", $record[9]); if($record[3]==$sys_default_email){ # Our sale. Yay! :) $bgcolor = "#ffffcc"; } if(isset($refs[$record[3]])){ $refs[$record[3]]++; } else{ $refs[$record[3]]=1; } } } } arsort($refs); foreach($refs as $ref => $sales){ echo " "; if($bgcolor=="#ffffff"){ $bgcolor = "#eeeeee"; } else{ $bgcolor = "#ffffff"; } } echo "
Affiliate Sales
$ref $sales
$adminfooter"; exit; } elseif($action=="adminextend"){ # Extend duration of purchase download link. $id = $_REQUEST["id"]; $records = @file($sys_template_folder . "ipn.txt"); $recs = array(); if($records){ foreach($records as $rec){ $rec = str_replace("\n", "", $rec); if(trim($rec)){ $record = explode("|", $rec); if($record[0]==$id){ # Extend this record. $changes = true; $record[9] = time() + (3600 * $sys_expire_hours); $rec = ""; for($i=0;$iBack to Menu

Link expiration has been extended by $sys_expire_hours hours.

Give customer this link to download:

http://$sys_domain" . $sys_script_folder . "?action=download&id=$id

$adminfooter "; } else{ echo " Back to Menu

No matching purchase record found.

"; } exit; } elseif($action=="adminemailaffiliates"){ # Show affiliate mailer form. echo " $adminheader Back to Menu

Email Subject:

Email Body:

Only send to affiliates with at least sales.

$adminfooter "; exit; } elseif($action=="adminemailaffiliates2"){ # Send a mailer to all affiliates who aren't unsubed. # -- First read unsub file. $unsubs = @file($sys_template_folder . "unsubs.txt"); if(!is_array($unsubs)){ # No unsubs. $removed = array(); } else{ $removed = array(); foreach($unsubs as $aff){ $aff = str_replace(array("\r", "\n"), "", $aff); $removed[$aff] = true; } } # Read IPN file and get unique affiliates. $affiliates = array(); $sales = @file($sys_template_folder . "ipn.txt"); foreach($sales as $sale){ $sale = explode("|", $sale); if(!isset($affiliates[$sale[3]])){ $affiliates[$sale[3]] = 1; } else{ $affiliates[$sale[3]]++; } } if(substr($sys_support_address, 0, 7)=="http://"){ $eaddress = "noreply@$sys_domain"; } else{ $eaddress = $sys_support_address; } $headers = "From: $sys_item_name<$eaddress> X-Sender: $sys_item_name<$eaddress> X-Mailer: PHP " . phpversion() . " X-Priority: 3 Return-Path: $sys_item_name<$eaddress> Reply-To: $sys_item_name<$eaddress>"; $affs = array(); $esubject = $_POST["esubject"]; $ebody = stripslashes($_POST["ebody"]); $ebody .= "\n===\nTo stop receiving emails from $sys_item_name, click this link:\nhttp://$sys_domain" . $sys_script_folder . "?action=remove&email=[EMAIL]"; foreach($affiliates as $aff => $sales){ if(!$removed[$aff] && $sales >= $_POST["esales"]){ $affs[] = $aff; } } echo " $adminheader

    Sending " . count($affs) . " emails...

    "; foreach($affs as $aff){ # Send the mailer. $sendbody = str_replace("[EMAIL]", $aff, $ebody); @mail($aff, $esubject, $sendbody, $headers); echo "
  1. $aff ..
    "; flush(); } echo " $adminfooter
Back to Menu "; exit; } elseif($action=="adminfraud"){ # Show all fraudulent transactions. $records = @file($sys_template_folder . "fraud.txt"); if($records){ $rcount = count($records); } else{ $rcount = 0; $records = array(); } echo " $adminheader Back to Menu

$rcount total fraudulent transactions. Fraudulent buyers do not receive the download.

It is recommended that you report fraudulent buyers to PayPal at 888-215-5506.

"; $bgcolor = "#ffffff"; $c = $rcount; foreach($records as $rec){ $c--; if(!$count | $c<=$count){ $rec = str_replace("\n", "", $rec); if(trim($rec)){ $record = explode("|", $rec); $date = ""; if($record[11]){ $date = date("Y-m-d H:i:s", $record[11]); } $expires = date("Y-m-d H:i:s", $record[9]); $show = true; if($show){ echo " "; } if($bgcolor=="#ffffff"){ $bgcolor = "#eeeeee"; } else{ $bgcolor = "#ffffff"; } } } } echo "
PayPal Receipt ID Item Number Affiliate Email Customer Email First Name Last Name Payment Date  
$record[0] $record[2] $record[3] $record[4] $record[5] $record[6] $record[8] $date not fraud
$adminfooter"; exit; } elseif($action=="adminapprove"){ # Add record into ipn.txt, since it wasn't actually fraud. $records = @file($sys_template_folder . "fraud.txt"); foreach($records as $record){ $rec = explode("|", $record); if($rec[0]==$_REQUEST["id"]){ # Add this record to ipn.txt file. $fh = fopen($sys_template_folder . "ipn.txt", "a+"); fwrite($fh, $record); fclose($fh); if(substr($sys_support_address, 0, 7)=="http://"){ $eaddress = "noreply@$sys_domain"; $support = "For support, visit our web site at:\n\n$sys_support_address"; } else{ $eaddress = $sys_support_address; $support = "Reply to this email with any questions or support needs you may have."; } $subject = "Your download link."; $expires = time() + (3600 * $sys_expire_hours); $time = time(); $body = "$rec[5],\n\nThank you for your purchase.\nTo download your copy, click here:\n\nhttp://$sys_domain" . $sys_script_folder . "?action=download&id=$rec[0]\n\nYou have $sys_expire_hours hours to download before the link expires.\nWe appreciate your business.\n$support\n\nThanks again.\n"; # Send download notification to purchaser. @mail($rec[4], $subject, $body, "From: $sys_item_name <$eaddress>\r\nReply-To: $eaddress\r\nX-Mailer: PHP" . phpversion()); } } echo "$adminheader Back to Menu

The customer has been emailed their download link.

"; exit; } elseif($action=="adminsearch"){ # Show sales search form. echo " $adminheader

Back to Menu

Find Records Where


$adminfooter "; exit; } elseif($action=="adminsearch2"){ echo "$adminheader

Back to Menu

Matching Records:

Clicking the EXPIRES link will add another $sys_expire_hours hours to the customer's download link expiration.

"; $matches = 0; $records = @file($sys_template_folder . "ipn.txt"); foreach($records as $record){ $rec = explode("|", $record); $match = false; if($_POST["compare"]==1){ # Equal to. if(strtolower($rec[$_POST["field"]])==strtolower(trim($_POST["query"]))){ $match = true; } } elseif($_POST["compare"]==2){ if(strpos(" " . strtolower($rec[$_POST["field"]]), strtolower($_POST["query"]))){ $match = true; } } if($match){ $matches++; $date = ""; if($rec[11]){ $date = date("Y-m-d H:i:s", $rec[11]); } $expires = date("Y-m-d H:i:s", $rec[9]); echo " "; } } echo "
PayPal Receipt ID Item Number Affiliate Email Customer Email First Name Last Name Payment Bought Expires
$rec[0] $rec[2] $rec[3] $rec[4] $rec[5] $rec[6] $rec[8] $date $expires

$matches matching record(s) found.

"; exit; } elseif($action=="adminlogout"){ # Logout. setcookie("admin", "", time() - 3600); header("Location: $_SERVER[PHP_SELF]"); exit; } } # If we made it here, this needs to be cleared. setcookie("first", 0, time()-3600, "/", "." . $sys_domain); if($filename){ # Show appropriate page. showTemplate($filename); } else{ # Odd. echo " There was a problem processing your request. Please send the following information in a ticket to AskJonLeger.com:

af:$_COOKIE[aff]
ct:$_COOKIE[cookietest]
or:$_COOKIE[ordered]
ot:$_COOKIE[oto]
ac:$action

"; } ?>