.
*/
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 <<
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
