Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 3.147.56.105
54 Domain
7.3.33
dpclient
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
dpclient /
public_html /
COCOthailand /
assets /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
vendor
[ DIR ]
drwxr-xr-x
contact.js
0
B
-rw-r--r--
index.html
153
B
-rw-r--r--
main.js
8.15
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : main.js
/* Theme Scripts */ (function($){ "use strict"; /* Sticky Header = */ function headerHeight(){ var height = $("#header").height(); $('.header-height').css('height', height+'px'); } $(function() { var header = $("#header"), yOffset = 0, triggerPoint = 80; headerHeight(); $(window).resize(headerHeight); $(window).on( 'scroll', function() { yOffset = $(window).scrollTop(); if (yOffset >= triggerPoint) { header.addClass("navbar-fixed-top animated slideInDown"); } else { header.removeClass("navbar-fixed-top animated slideInDown"); } // Scroll to Top var ScrollTop = $('#scroll-to-top'); if ($(this).scrollTop() > 100) { ScrollTop.fadeIn(); } else { ScrollTop.fadeOut(); } }); }); /* Main Slider =*/ $('#main-slider').on('init', function(e, slick) { var $firstAnimatingElements = $('div.single-slide:first-child').find('[data-animation]'); doAnimations($firstAnimatingElements); }); $('#main-slider').on('beforeChange', function(e, slick, currentSlide, nextSlide) { var $animatingElements = $('div.single-slide[data-slick-index="' + nextSlide + '"]').find('[data-animation]'); doAnimations( $animatingElements ); }); $('#main-slider').slick({ autoplay: true, autoplaySpeed: 10000, dots: true, fade: true, prevArrow: '<div class="slick-prev"><i class="fa fa-chevron-left"></i></div>', nextArrow: '<div class="slick-next"><i class="fa fa-chevron-right"></i></div>' }); function doAnimations( elements ) { var animationEndEvents = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend'; elements.each(function() { var $this = $(this); var $animationDelay = $this.data('delay'); var $animationType = 'animated ' + $this.data('animation'); $this.css({ 'animation-delay': $animationDelay, '-webkit-animation-delay': $animationDelay }); $this.addClass($animationType).one(animationEndEvents, function() { $this.removeClass($animationType); }); }); } /* Button Effect */ $('.default-btn').on('mouseenter', function (e) { var parentOffset = $(this).offset(), relX = e.pageX - parentOffset.left, relY = e.pageY - parentOffset.top; $(this).find('span').css( { top: relY, left: relX } ); }).on('mouseout', function (e) { var parentOffset = $(this).offset(), relX = e.pageX - parentOffset.left, relY = e.pageY - parentOffset.top; $(this).find('span').css( { top: relY, left: relX } ); }); /* Mobile Menu */ $('.menu-wrap ul.nav').slicknav({ prependTo: '.header-section .navbar', label: '', allowParentLinks: true }); /* Product Carousel */ var productCarousel = $('#product-carousel'); productCarousel.owlCarousel({ loop: true, margin: 15, autoplay: false, smartSpeed: 800, nav: true, navText: ['<i class="fas fa-chevron-left"></i>', '<i class="fas fa-chevron-right"></i>'], dots: false, responsive : { 0 : { items: 1 }, 480 : { items: 2, }, 768 : { items: 2, }, 992 : { items: 4, } } }); /* Shop Single Carousel */ var shopSingle = $('.shop-single-carousel'); shopSingle.owlCarousel({ loop: true, margin: 15, autoplay: false, smartSpeed: 800, nav: true, navText: ['<i class="fas fa-chevron-left"></i>', '<i class="fas fa-chevron-right"></i>'], dots: false, responsive : { 0 : { items: 1 }, 480 : { items: 1, }, 768 : { items: 1, }, 992 : { items: 1, } } }); /* Isotope Active */ // var productItems = $('.product-items'); // productItems.imagesLoaded( function() { // Add isotope click function $('.product-filter li').on( 'click', function(){ $(".product-filter li").removeClass("active"); $(this).addClass("active"); var selector = $(this).attr('data-filter'); productItems.isotope({ filter: selector, animationOptions: { duration: 750, easing: 'linear', queue: false, } }); return false; }); // productItems.isotope({ // itemSelector: '.single-item', // layoutMode: 'masonry', // }); // }); /* Sponsor Carousel */ var sponsorCarousel = $('.sponsor-carousel'); sponsorCarousel.owlCarousel({ loop: true, margin: 5, center: false, autoplay: true, smartSpeed: 500, dots: false, responsive : { 0 : { items: 2 }, 480 : { items: 3, }, 768 : { items: 3, }, 992 : { items: 6, } } }); $('ul.breadcrumb').prependTo('.wrap-breadcrumb .container'); var e=[]; jQuery(".product-content h3").each(function(){ e.push(jQuery(this).height()) }); var t=Math.max.apply(null,e); jQuery(".product-content h3").height(t); /**/ $(".button-group [data-toggle]").attr('data-placement','right'); $(":lang(ar) .button-group [data-toggle]").attr('data-placement','left'); $("#cart .dropdown-toggle").click(function(){ $(this).toggleClass("active"); $(".cart-menu").slideToggle("slow"); $(".myaccount-menu").slideUp("slow"); $(".language-menu").slideUp("slow"); $(".currency-menu").slideUp("slow"); $(".myaccount .dropdown-toggle").removeClass('active'); return false; }); $("#form-currency .dropdown-toggle").click(function(){ $('#form-currency').addClass("active"); $(".language-menu").slideUp("slow"); $(".currency-menu").slideToggle("slow"); $(".cart-menu").slideUp("slow"); $(".myaccount-menu").slideUp("slow"); $(".myaccount .dropdown-toggle").removeClass('active'); return false; }); $("#form-language .dropdown-toggle").click(function(){ $('#form-language').addClass("active"); $(".currency-menu").slideUp("slow"); $(".language-menu").slideToggle("slow"); $(".cart-menu").slideUp("slow"); $(".myaccount-menu").slideUp("slow"); $(".myaccount .dropdown-toggle").removeClass('active'); return false; }); $(".myaccount .dropdown-toggle").click(function(){ $(".cart-menu").slideUp("slow"); $(".myaccount-menu").slideToggle("slow"); $(".language-menu").slideUp("slow"); $(".currency-menu").slideUp("slow"); $(this).toggleClass("active"); $("#cart .dropdown-toggle").removeClass('active'); return false; }); $('#search .search_button').click(function(event){ $(this).toggleClass('active'); event.stopPropagation(); $('#search .search_toggle').toggle('medium'); $( "#search .search_toggle form input[type=text]" ).focus(); }); $("#search .search_toggle").on("click", function (event) { event.stopPropagation(); }); /* Initialize smoothscroll plugin */ smoothScroll.init({ offset: 60 }); /* WOW Active */ new WOW().init(); /* Active venobox */ var venoboxActive = $('.img-popup'); venoboxActive.venobox({ numeratio: true, infinigall: true }); })(jQuery);
Close