. */ if (!class_exists('EzAdmin')) { class EzAdmin { var $plgURL, $plgFile, $plg, $slug, $name; var $killAuthor = false; function __construct($plg, $slug, $plgURL) { $this->plg = $plg; $this->slug = $slug; $this->plgURL = $plgURL; } function __destruct() { } function EzAdmin($plg, $slug, $plgURL) { if (version_compare(PHP_VERSION, "5.0.0", "<")) { $this->__construct($plg, $slug, $plgURL); register_shutdown_function(array($this, "__destruct")); } } function renderInvite() { if ($this->killAuthor) { return; } $plg = $this->plg; $slug = $this->slug; $plgLongName = $plg['value']; $plgPrice = $plg['price']; $benefits = $plg['benefits']; $yesTip = sprintf(__('Buy %s Pro for $%s. PayPal payment. Instant download.', 'easy-adsenser'), $plgLongName, $plgPrice); $yesTitle = __('Get the Pro version now!', 'easy-adsenser'); $noTip = __('Continue using the Lite version, and hide this message. After clicking this button, please remember to save your options to hide this box for good.', 'easy-adsenser'); $noTitle = __('Stay Lite', 'easy-adsenser'); if (empty($benefits)) { return; } echo <<

Want More Features? Go Pro!

The Pro version of this plugin gives you more features and benefits. For instance,
    $benefits
And much more. New features and bug fixes will first appear in the Pro version before being ported to this freely distributed Lite edition.
ENDINVITE; } function renderRating($killable = true) { if ($this->killAuthor) { return; } $plgFile = $this->plgFile; $plg = $this->plg; $plgCTime = filemtime($plgFile); $plgLongName = $plg['value']; $hideTip = __('Click the link to hide this box. After clicking this link, please remember to save your options to hide this box for good.', 'easy-adsenser'); if (time() > $plgCTime + (60 * 60 * 24 * 30)) { $msg = "You've installed this plugin over a month ago."; } else { $msg = "You will find it feature-rich and robust."; } $plgKey = basename($plgFile, '.php'); $display = ''; if (!$killable) { $display = "style='display:none'"; } echo <<

Thanks for using $plgLongName! $msg
If you are satisfied with how well it works, why not rate it and recommend it to others? :-) Don't show this anymore

ENDRATING; } function renderHeadText() { $plgURL = $this->plgURL; $plg = $this->plg; $slug = $this->slug; $value = '' . $plg['value'] . ''; $toolTip = $plg['title']; $price = $plg['price']; $onclick = "onclick=\"popupwindow('http://buy.thulasidas.com/$slug','Get {$plg['value']}', 1024, 768);return false;\""; $moreInfo = "Pro Version"; $toolTip .= addslashes('
' . $moreInfo); $why = addslashes($plg['pro']); $version = 'Lite'; echo "Get Pro Version! ezPayPal -- Instant PayPal Shop.
You are using the $version version of $value, which is also available in a Pro version. "; } function renderProText() { echo ""; if ($this->killAuthor) { return; } $plg = $this->plg; $slug = $this->slug; $value = '' . $plg['value'] . ''; $filter = ''; if (stripos($slug, 'adsense') !== FALSE) { $filter = " (e.g., a filter to ensure AdSense policy compliance) "; } $toolTip = $plg['title']; $price = $plg['price']; $onclick = "onclick=\"popupwindow('http://buy.thulasidas.com/$slug','Get {$plg['value']}', 1024, 768);return false;\""; $moreInfo = "  Lite Version   Pro Version"; $toolTip .= addslashes('
' . $moreInfo); echo "
The Pro Version
"; $value .= ' Lite'; echo "Thank you for using $value. The \"Pro\" version gives you more options$filter. Consider buying it. It costs only \$$price."; echo "
"; } function renderAffiliate() { if ($this->killAuthor) { return; } $plgURL = $this->plgURL; echo "
ezAffiliates: The most affiliate-centric revenue sharing model on the Web. Finally, you can make some serious returns on your web presence.
Generous 50% Commission: perhaps the highest rate of revenue sharing on the web. With just a couple of sales of this plugin, you will have recovered your purchase price!
$10 Minimum Payout so that you will not be waiting forever before you qualify for payment.
Lifetime Tracking: ezAffiliates uses cookie-less tracking technology to attribute every purchase of your lead to your account. Whatever your leads buy from us, whenever they do, will earn you commission. No cookie expiry!
High Quality Products such as this plugin, and other premium plugins and PHP packages.
Diverse Markets: Bloggers who blog about plugins, PayPal integration, affiliate marketing, MacOS apps and even eBooks will find ezAffiliates attractive and more effective that their current ad campaigns.', WIDTH, 295, TITLE, 'ezAffiliates', FIX, [this, 0, 0])\" onmouseout=\"UnTip()\" >ezAffiliates
"; } function renderSupportText() { if ($this->killAuthor) { return; } $plg = $this->plg; $slug = $this->slug; $long = $plg['long']; $value = '' . $plg['value'] . ''; $supportText = "
Support $value. Go Pro!"; if ($long) { $longText = "How about "; } else { $longText = ''; } $supportText .= "
$longText2GB of free online storage?"; if ($long) { $longText = "WordPress Hosting for "; } else { $longText = 'Hosting for '; } $supportText .= "
$longTextjust $4/month. "; if ($long) { $longText = "My books on "; } else { $longText = 'Books: '; } $supportText .= "
$longTextPhysics & Philosophy or "; $supportText .= "Money & Finance.
"; echo $supportText; } function renderTipDivs() { $plgURL = $this->plgURL; echo <<