| Server IP : 89.39.208.18 / Your IP : 216.73.217.74 Web Server : LiteSpeed System : User : ( ) PHP Version : 7.4.33 Disable Function : eval,./,ln,passthru,dl,system,exec,popen,shell_exec,posix_getpwuid,posix_uname,ftp_exec,posix_uname,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,get_current_user,getmyuid,getmygid,listen,chgrp,apache_note,apache_setenv,apache_child_terminate,closelog,debugger_off,debugge_on,ini_restore,netscript,escapeshellarg,cmd,backtick,virtual,show_sourc,show_source,pclose,pcntl_exec,datasec,old_offset,ctrl_dir,ini_alter,leak,listen,chgrp,apache_setenv,define_syslog_variables,root,diskfreespace,disk_free_space,disk_total_space,posix_kill,getmyuid,getmygid,apache_child_terminate,php_ini_scanned_files,ls,ps_aux,chown,getrusage,posixc,posame,chgrp,posix_setuid,posix_setsid,posix_setgid,apache_note,apache_setenv,x_getuid,e_ini_file,nfo,SQL,mysql_li,t_dbs,filegroup,highlight_file,ilegetcontents,get_dir,popen,popens,pfsockopen,dos_conv,apache_get_modules,crack_check,crack_closedict,rar_open,bzopen,bzread,bzwrite,shellcode,posix_isatty,posix_getservbyname,escapeshellarg,hypot,pg_host,pos,posix_access,inurl,posix_times,posix_mknod,pclose,ps_fill,symlink,id,escapeshellcmd,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home3/mahyarcake/www/wp-content/plugins/captcha-code-authentication/js/ |
Upload File : |
jQuery(document).ready(function ($) {
$('#wpwrap').on('click', '.open-upsell', function (e) {
e.preventDefault();
feature = $(this).data('feature');
$(this).blur();
open_upsell(feature);
return false;
});
$('#wpwrap').on('click', '.open-pro-dialog', function (e) {
e.preventDefault();
$(this).blur();
pro_feature = $(this).data('pro-feature');
if (!pro_feature) {
pro_feature = $(this).parent('label').attr('for');
}
open_upsell(pro_feature);
return false;
});
$('#wp-captcha-code-pro-dialog').dialog({
dialogClass: 'wp-dialog wp-captcha-code-pro-dialog',
modal: true,
resizable: false,
width: 850,
height: 'auto',
show: 'fade',
hide: 'fade',
close: function (event, ui) {},
open: function (event, ui) {
$(this).siblings().find('span.ui-dialog-title').html('WP Captcha PRO is here!');
wp_captcha_code_fix_dialog_close(event, ui);
},
autoOpen: false,
closeOnEscape: true,
});
function clean_feature(feature) {
feature = feature || 'captcha-code-unknown';
feature = feature.toLowerCase();
feature = feature.replace(' ', '-');
return feature;
}
function open_upsell(feature) {
feature = clean_feature(feature);
$('#wp-captcha-code-pro-dialog').dialog('open');
$('#wp-captcha-code-pro-table .button-buy').each(function (ind, el) {
tmp = $(el).data('href-org');
tmp = tmp.replace('pricing-table', feature);
$(el).attr('href', tmp);
});
} // open_upsell
if (window.localStorage.getItem('wp_captcha_code_upsell_shown') != 'true') {
open_upsell('cc-welcome');
window.localStorage.setItem('wp_captcha_code_upsell_shown', 'true');
window.localStorage.setItem('wp_captcha_code_upsell_shown_timestamp', new Date().getTime());
}
if (window.location.hash == '#get-pro') {
open_upsell('cc-url-hash');
window.location.hash = '';
}
$('.install-wp301').on('click', function (e) {
e.preventDefault();
if (
!confirm(
'The free WP 301 Redirects plugin will be installed & activated from the official WordPress repository. Click OK to proceed.'
)
) {
return false;
}
jQuery('body').append(
'<div style="width:550px;height:450px; position:fixed;top:10%;left:50%;margin-left:-275px; color:#444; background-color: #fbfbfb;border:1px solid #DDD; border-radius:4px;box-shadow: 0px 0px 0px 4000px rgba(0, 0, 0, 0.85);z-index: 9999999;"><iframe src="' +
wp_captcha_code_vars.wp301_install_url +
'" style="width:100%;height:100%;border:none;" /></div>'
);
jQuery('#wpwrap').css('pointer-events', 'none');
e.preventDefault();
return false;
});
function wp_captcha_code_fix_dialog_close(event, ui) {
jQuery('.ui-widget-overlay').bind('click', function () {
jQuery('#' + event.target.id).dialog('close');
});
} // wp_captcha_code_fix_dialog_close
$('#wpwrap').on('change', 'select', function (e) {
option_class = $('#' + $(this).attr('id') + ' :selected').attr('class');
if (option_class == 'pro-option') {
option_text = $('#' + $(this).attr('id') + ' :selected').text();
value = $('#' + $(this).attr('id') + ' :selected').attr('value');
$(this).val('builtin');
$(this).trigger('change');
open_upsell($(this).attr('id') + '-' + value);
$('.show_if_' + $(this).attr('id')).hide();
}
});
});