| Server IP : 62.72.47.131 / Your IP : 216.73.217.34 Web Server : Apache/2.4.66 (Debian) System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : ( 501) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/nextend-facebook-connect/admin/templates/ |
Upload File : |
<?php
$state = NextendSocialLoginAdmin::getProState();
function nsl_get_pro_no_license() {
?>
<div class="nsl-box nsl-box-yellow nsl-box-yellow-bg nsl-box-padlock">
<h2 class="title"><?php _e('Get Pro Addon to unlock more features', 'nextend-facebook-connect'); ?></h2>
<p><?php printf(__('The features below are available in %s Pro Addon. Get it today and tweak the awesome settings.', 'nextend-facebook-connect'), "Nextend Social Login"); ?></p>
<p><?php _e('If you already have a license, you can Authorize your Pro Addon. Otherwise you can purchase it using the button below.', 'nextend-facebook-connect'); ?></p>
<p>
<a href="<?php echo NextendSocialLoginAdmin::trackUrl('https://social-login.nextendweb.com/pricing/', 'buy-pro-addon-button'); ?>"
target="_blank"
class="button button-primary"><?php _e('Buy Pro Addon', 'nextend-facebook-connect'); ?></a>
<a href="<?php echo NextendSocialLoginAdmin::getAdminUrl('pro-addon'); ?>"
class="button button-secondary"><?php _e('Authorize Pro Addon', 'nextend-facebook-connect'); ?></a>
</p>
</div>
<?php
}
function nsl_get_pro_installed() {
?>
<div class="nsl-box nsl-box-blue">
<h2 class="title"><?php _e('Pro Addon is not activated', 'nextend-facebook-connect'); ?></h2>
<p><?php _e('To be able to use the Pro features, you need to install and activate the Nextend Social Login Pro Addon.', 'nextend-facebook-connect'); ?></p>
<p>
<a href="<?php echo wp_nonce_url(add_query_arg(array(
'action' => 'activate',
'plugin' => urlencode('nextend-social-login-pro/nextend-social-login-pro.php'),
'plugin_status' => 'all'
), admin_url('plugins.php')), 'activate-plugin_' . 'nextend-social-login-pro/nextend-social-login-pro.php'); ?>"
target="_blank" onclick="setTimeout(function(){window.location.reload(true)}, 2000)"
class="button button-primary"><?php _e('Activate Pro Addon', 'nextend-facebook-connect'); ?></a>
</p>
</div>
<?php
}
function nsl_get_pro_not_installed() {
?>
<div class="nsl-box nsl-box-blue">
<h2 class="title"><?php _e('Pro Addon is not installed', 'nextend-facebook-connect'); ?></h2>
<p><?php _e('To be able to use the Pro features, you need to install and activate the Nextend Social Login Pro Addon.', 'nextend-facebook-connect'); ?></p>
<p>
<a href="<?php echo NextendSocialLoginAdmin::getAdminUrl('pro-addon'); ?>"
class="button button-primary"><?php _e('Install Pro Addon', 'nextend-facebook-connect'); ?></a>
</p>
</div>
<?php
}
switch ($state) {
case 'no-capability':
break;
case 'not-installed':
nsl_get_pro_not_installed();
break;
case 'installed':
nsl_get_pro_installed();
break;
default:
nsl_get_pro_no_license();
break;
}