📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: theme-script.js
(function(jQuery) { "use strict"; /*------------------------------------ HT Predefined Variables --------------------------------------*/ var jQuerywindow = jQuery(window), jQuerydocument = jQuery(document), jQuerybody = jQuery('body'); //Check if function exists jQuery.fn.exists = function () { return this.length > 0; }; /*------------------------------------ HT PreLoader --------------------------------------*/ function preloader() { jQuery('#ht-preloader').fadeOut(); }; /*------------------------------------ HT menu --------------------------------------*/ function menu() { jQuery('.dropdown-menu a.dropdown-toggle').on('click', function(e) { if (!jQuery(this).next().hasClass('show')) { jQuery(this).parents('.dropdown-menu').first().find('.show').removeClass("show"); } var jQuerysubMenu = jQuery(this).next(".dropdown-menu"); jQuerysubMenu.toggleClass('show'); jQuery(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function(e) { jQuery('.dropdown-submenu .show').removeClass("show"); }); return false; }); }; /*------------------------------------ HT Counter --------------------------------------*/ function counter() { var elementSelector = jQuery('.count-number'); elementSelector.each(function(){ elementSelector.appear(function(e) { var el = this; var updateData = jQuery(el).attr("data-count"); var od = new Odometer({ el: el, format: 'd', duration: 2000 }); od.update(updateData); }); }); }; /*------------------------------------ HT Magnific Popup --------------------------------------*/ function magnificpopup() { jQuery('.popup-gallery').magnificPopup({ delegate: 'a.popup-img', type: 'image', tLoading: 'Loading image #%curr%...', mainClass: 'mfp-img-mobile', gallery: { enabled: true, navigateByImgClick: true, preload: [0,1] // Will preload 0 - before current, and 1 after the current image }, image: { tError: '<a href="%url%">The image #%curr%</a> could not be loaded.', titleSrc: function(item) { return item.el.attr('title') + '<small>by Marsel Van Oosten</small>'; } } }); if (jQuery(".popup-youtube, .popup-vimeo, .popup-gmaps").exists()) { jQuery('.popup-youtube, .popup-vimeo, .popup-gmaps').magnificPopup({ disableOn: 700, type: 'iframe', mainClass: 'mfp-fade', removalDelay: 160, preloader: false, fixedContentPos: false }); } }; /*------------------------------------ HT Scroll to top --------------------------------------*/ function scrolltop() { //Scroll back to top var progressPath = document.querySelector('.scroll-top path'); var pathLength = progressPath.getTotalLength(); progressPath.style.transition = progressPath.style.WebkitTransition = 'none'; progressPath.style.strokeDasharray = pathLength + ' ' + pathLength; progressPath.style.strokeDashoffset = pathLength; progressPath.getBoundingClientRect(); progressPath.style.transition = progressPath.style.WebkitTransition = 'stroke-dashoffset 10ms linear'; var updateProgress = function () { var scroll = jQuery(window).scrollTop(); var height = jQuery(document).height() - jQuery(window).height(); var progress = pathLength - (scroll * pathLength / height); progressPath.style.strokeDashoffset = progress; } updateProgress(); jQuery(window).scroll(updateProgress); var offset = 50; var duration = 550; jQuery(window).on('scroll', function() { if (jQuery(this).scrollTop() > offset) { jQuery('.scroll-top').addClass('active-progress'); } else { jQuery('.scroll-top').removeClass('active-progress'); } }); jQuery('.scroll-top').on('click', function(event) { event.preventDefault(); jQuery('html, body').animate({scrollTop: 0}, duration); return false; }) }; /*------------------------------------ HT Fixed Header --------------------------------------*/ function fxheader() { jQuery(window).on('scroll', function () { if (jQuery(window).scrollTop() >= 100) { jQuery('#header-wrap').addClass('fixed-header'); } else { jQuery('#header-wrap').removeClass('fixed-header'); } }); }; /*------------------------------------------ HT Text Color, Background Color And Image ---------------------------------------------*/ function databgcolor() { jQuery('[data-bg-color]').each(function(index, el) { jQuery(el).css('background-color', jQuery(el).data('bg-color')); }); jQuery('[data-text-color]').each(function(index, el) { jQuery(el).css('color', jQuery(el).data('text-color')); }); jQuery('[data-bg-img]').each(function() { jQuery(this).css('background-image', 'url(' + jQuery(this).data("bg-img") + ')'); }); }; /*------------------------------------ HT Contact Form --------------------------------------*/ function contactform() { // when the form is submitted jQuery('#contact-form, #main-form').on('submit', function (e) { // if the validator does not prevent form submit if (!e.isDefaultPrevented()) { var url = "php/contact.php"; // POST values in the background the the script URL jQuery.ajax({ type: "POST", url: url, data: jQuery(this).serialize(), success: function (data) { // data = JSON object that contact.php returns // we recieve the type of the message: success x danger and apply it to the var messageAlert = 'alert-' + data.type; var messageText = data.message; // let's compose Bootstrap alert box HTML var alertBox = '<div class="alert ' + messageAlert + ' alert-dismissable"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>' + messageText + '</div>'; // If we have messageAlert and messageText if (messageAlert && messageText) { // inject the alert to .messages div in our form jQuery('#contact-form, #main-form').find('.messages').html(alertBox).show().delay(2000).fadeOut('slow'); // empty the form jQuery('#contact-form, #main-form')[0].reset(); } } }); return false; } }) }; /*------------------------------------ HT ProgressBar --------------------------------------*/ function progressbar () { var progressBar = jQuery('.progress'); if(progressBar.length) { progressBar.each(function () { var Self = jQuery(this); Self.appear(function () { var progressValue = Self.data('value'); Self.find('.progress-bar').animate({ width:progressValue+'%' }, 1000); }); }) } }; /*------------------------------------ HT Isotope --------------------------------------*/ function isotope() { // init Isotope var $grid = $('.grid').isotope({ itemSelector: '.grid-item', layoutMode: 'fitRows', }); // filter functions var filterFns = { // show if number is greater than 50 numberGreaterThan50: function() { var number = $(this).find('.number').text(); return parseInt( number, 10 ) > 50; }, // show if name ends with -ium ium: function() { var name = $(this).find('.name').text(); return name.match( /ium$/ ); } }; // bind filter button click $('.portfolio-filter').on( 'click', 'button', function() { var filterValue = $( this ).attr('data-filter'); // use filterFn if matches value filterValue = filterFns[ filterValue ] || filterValue; $grid.isotope({ filter: filterValue }); }); // change is-checked class on buttons $('.portfolio-filter').each( function( i, buttonGroup ) { var $buttonGroup = $( buttonGroup ); $buttonGroup.on( 'click', 'button', function() { $buttonGroup.find('.is-checked').removeClass('is-checked'); $( this ).addClass('is-checked'); }); }); }; /*------------------------------------ HT Masonry --------------------------------------*/ function masonry () { var $masonry = $('.masonry'), $itemElement = '.masonry-brick', $filters = $('.portfolio-filter'); if ($masonry.exists()) { $masonry.isotope({ resizable: true, itemSelector: $itemElement, }); // bind filter button click $filters.on( 'click', 'button', function() { var filterValue = $(this).attr('data-filter'); $masonry.isotope({ filter: filterValue }); }); } }; /*------------------------------------ HT Countdown --------------------------------------*/ function countdown() { jQuery('.countdown').each(function () { var jQuerythis = jQuery(this), finalDate = jQuery(this).data('countdown'); jQuerythis.countdown(finalDate, function (event) { jQuery(this).html(event.strftime('<li><span>%-D</span><p>Days</p></li>' + '<li><span>%-H</span><p>Hours</p></li>' + '<li><span>%-M</span><p>Minutes</p></li>' + '<li><span>%S</span><p>Seconds</p></li>')); }); }); }; /*------------------------------------ HT Side Menu --------------------------------------*/ function sidenav() { jQuery('.ht-nav-toggle').on('click', function(event) { event.preventDefault(); var jQuerythis = jQuery(this); if( jQuery('body').hasClass('menu-show') ) { jQuery('body').removeClass('menu-show'); jQuery('#ht-main-nav > .ht-nav-toggle').removeClass('show'); } else { jQuery('body').addClass('menu-show'); setTimeout(function(){ jQuery('#ht-main-nav > .ht-nav-toggle').addClass('show'); }, 900); } }) }; /*------------------------------------ HT Featured --------------------------------------*/ function itemactive() { jQuery('.service-item').mouseenter(function () { jQuery('.service-item.service-active').removeClass('service-active'); jQuery(this).removeClass('.service-item').addClass('service-active'); }); jQuery('.featured-item.style-1').mouseenter(function () { jQuery('.featured-item.style-1.featured-active').removeClass('featured-active'); jQuery(this).removeClass('.featured-item.style-1').addClass('featured-active'); }); jQuery('.testimonial-carousel').on('slide.bs.carousel', function (evt) { jQuery('.testimonial-carousel .controls li.active').removeClass('active'); jQuery('.testimonial-carousel .controls li:eq('+$(evt.relatedTarget).index()+')').addClass('active'); }) }; /*------------------------------------ HT btnproduct --------------------------------------*/ function btnproduct() { jQuery('.btn-product-up').on('click', function (e) { e.preventDefault(); var numProduct = Number(jQuery(this).next().val()); if (numProduct > 1) jQuery(this).next().val(numProduct - 1); }); jQuery('.btn-product-down').on('click', function (e) { e.preventDefault(); var numProduct = Number(jQuery(this).prev().val()); jQuery(this).prev().val(numProduct + 1); }); }; /*------------------------------------ HT sticky --------------------------------------*/ var $stickysec = jQuery('.js-sticky').length; function sticky() { if($stickysec != ''){ const sticky_sec = document.querySelector(".js-sticky"); var stickyEl = new Sticksy('.js-sticky', { topSpacing: 100, }) stickyEl.onStateChanged = function (state) { if (state === 'fixed') stickyEl.nodeRef.classList.add('sticky-item') else stickyEl.nodeRef.classList.remove('sticky-item') } }; }; /*------------------------------------ HT Particles --------------------------------------*/ function particles() { jQuery("#particles-js").each(function () { particlesJS( { "particles": { "number": { "value": 100, "density": { "enable": true, "value_area": 4000 } }, "color": { "value": "random" }, "shape": { "type": "polygon", "polygon": { "nb_sides": 6 }, "image": { "src": "img/github.svg", "width": 100, "height": 100 } }, "opacity": { "value": 1, "random": true, "anim": { "enable": true, "speed": 1, "opacity_min": 0, "sync": false } }, "size": { "value": 3, "random": true, "anim": { "enable": false, "speed": 4, "size_min": 0.3, "sync": false } }, "move": { "enable": true, "speed": 1, "direction": "none", "random": true, "straight": false, "out_mode": "out", "bounce": false, "attract": { "enable": false, "rotateX": 600, "rotateY": 600 } } }, "retina_detect": true }); }) } /*------------------------------------ HT Window load and functions --------------------------------------*/ jQuery(document).ready(function() { menu(), counter(), magnificpopup(), scrolltop(), fxheader(), databgcolor(), contactform(), progressbar(), countdown(), sidenav(), itemactive(), btnproduct(), sticky(), particles(); }); jQuery(window).on('load', function() { preloader(), isotope(), masonry(); }); })(jQuery);
Save