HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/drakkar_site_dev/wp-content/plugins/check-email/assets/js/admin/export-logs.min.js
jQuery(document).ready(function(e){e(function(){e("body").delegate("#ck-mail-exp-from-date, #ck-mail-exp-to-date","focusin",function(){e(this).datepicker({changeMonth:!0,changeYear:!0,dateFormat:"yy-mm-dd",maxDate:new Date})})}),e(document).on("change",".ck-mail-exp-date-radio",function(a){"custom"==e(this).val()?e("#ck-mail-exp-c-date-wrapper").show():e("#ck-mail-exp-c-date-wrapper").hide()}),e(document).on("click","#ck-mail-export-logs-btn",function(a){a.preventDefault();1==function a(){let c=1,t=0;if(e.each(e(".ck-mail-comm-info-chk"),function(a){e(this).is(":checked")&&(t=1)}),0==t)e("#ck-mail-fields-error").show(),e("#ck-mail-fields-error").text("Please check atleast one of the fields"),e(".ck-mail-comm-info-chk").css("border","2px solid red"),c=0;else if(e("#ck-mail-exp-date-custom").is(":checked")){let o=e("#ck-mail-exp-from-date").val(),i=e("#ck-mail-exp-to-date").val();0==o.length&&0==i.length?(e("#ck-mail-exp-date-error").show(),e("#ck-mail-exp-date-error").text("Please select from and to date"),e("#ck-mail-exp-from-date").focus(),c=0):0==o.length?(e("#ck-mail-exp-date-error").show(),e("#ck-mail-exp-date-error").text("Please select from date"),e("#ck-mail-exp-from-date").focus(),c=0):0==i.length&&(e("#ck-mail-exp-date-error").show(),e("#ck-mail-exp-date-error").text("Please select to date"),e("#ck-mail-exp-to-date").focus(),c=0)}return c}()&&e("#ck-mail-export-form").submit()}),e(document).on("change",".ck-mail-comm-info-chk",function(a){e(this).is(":checked")&&(e("#ck-mail-fields-error").hide(),e(".ck-mail-comm-info-chk").css("border","1px solid #8c8f94"))})});