whoami7 - Manager
:
/
home
/
analuakl
/
public_html
/
Upload File:
files >> /home/analuakl/public_html/footer-script.php
<?php $PathNew="https://www.adiobrandsolutions.com/seo-service/"; ?> <script src="assets/js/jquery-3.2.1.min.js"></script> <script src="assets/js/jquery-migrate-3.0.0.min.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/owl.carousel.min.js"></script> <script src="assets/js/jquery.slicknav.js"></script> <script src="assets/js/jquery.mobile.custom.min.js"></script> <script src="assets/js/jquery.fancybox.min.js"></script> <script src="assets/js/isotope.pkgd.min.js"></script> <script src="assets/js/jquery.counterup.min.js"></script> <script src="assets/js/waypoints.min.js"></script> <script src="assets/js/jquery.lineProgressbar.js"></script> <script src="assets/js/slick.min.js"></script> <script src="assets/js/particles.min.js"></script> <script src="assets/js/particles-config.js"></script> <script src="assets/js/custom.js"></script> <script src="assets/js/main.js"></script> <script type="text/javascript"> var animationDelay = 3500; animateHeadline($('.cd-headline')); function animateHeadline($headlines) { $headlines.each(function(){ var headline = $(this); //trigger animation setTimeout(function(){ hideWord( headline.find('.is-visible') ) }, animationDelay); //other checks here ... }); } function hideWord($word) { var nextWord = takeNext($word); switchWord($word, nextWord); setTimeout(function(){ hideWord(nextWord) }, animationDelay); } function takeNext($word) { return (!$word.is(':last-child')) ? $word.next() : $word.parent().children().eq(0); } function switchWord($oldWord, $newWord) { $oldWord.removeClass('is-visible').addClass('is-hidden'); $newWord.removeClass('is-hidden').addClass('is-visible'); } singleLetters($('.cd-headline.letters').find('b')); function singleLetters($words) { $words.each(function(){ var word = $(this), letters = word.text().split(''), selected = word.hasClass('is-visible'); for (i in letters) { letters[i] = (selected) ? '<i class="in">' + letters[i] + '</i>': '<i>' + letters[i] + '</i>'; } var newLetters = letters.join(''); word.html(newLetters); }); } // Captcha Script function checkform(theform){ var why = ""; if(theform.CaptchaInput.value == ""){ why += "- Please Enter CAPTCHA Code.\n"; } if(theform.CaptchaInput.value != ""){ if(ValidCaptcha(theform.CaptchaInput.value) == false){ why += "- The CAPTCHA Code Does Not Match.\n"; } } if(why != ""){ alert(why); return false; } } var a = Math.ceil(Math.random() * 9)+ ''; var b = Math.ceil(Math.random() * 9)+ ''; var c = Math.ceil(Math.random() * 9)+ ''; var d = Math.ceil(Math.random() * 9)+ ''; var e = Math.ceil(Math.random() * 9)+ ''; var code = a + b + c + d + e; document.getElementById("txtCaptcha").value = code; document.getElementById("CaptchaDiv").innerHTML = code; // Validate input against the generated number function ValidCaptcha(){ var str1 = removeSpaces(document.getElementById('txtCaptcha').value); var str2 = removeSpaces(document.getElementById('CaptchaInput').value); if (str1 == str2){ return true; }else{ return false; } } // Remove the spaces from the entered and generated code function removeSpaces(string){ return string.split(' ').join(''); } </script> <script src="<?php echo $PathNew; ?>assets/js/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ jQuery(".pull_feedback").toggle(function(){ jQuery("#feedback").animate({left:"0px"}); return false; }, function(){ jQuery("#feedback").animate({left:"-296px"}); return false; } ); //toggle }); //document.ready </script> <script> function openCity(evt, cityName) { var i, tabcontent, tablinks; tabcontent = document.getElementsByClassName("tabcontent"); for (i = 0; i < tabcontent.length; i++) { tabcontent[i].style.display = "none"; } tablinks = document.getElementsByClassName("tablinks"); for (i = 0; i < tablinks.length; i++) { tablinks[i].className = tablinks[i].className.replace(" active", ""); } document.getElementById(cityName).style.display = "block"; evt.currentTarget.className += " active"; } // Get the element with id="defaultOpen" and click on it document.getElementById("defaultOpen").click(); </script> <script type="text/javascript" src="<?php echo $PathNew; ?>assets/js/jquery.fancybox.pack.js"></script> <script type="text/javascript"> $(document).ready(function() { $('.fancybox').fancybox(); }); // Set up canvas const canvas = document.getElementById("canvas"); const ctx = canvas.getContext("2d"); canvas.width = window.innerWidth; canvas.height = window.innerHeight; // Create particle class class Particle { constructor(x, y) { this.x = x; this.y = y; this.size = Math.random() * 5 + 1; this.speedX = Math.random() * 3 - 1.5; this.speedY = Math.random() * 3 - 1.5; this.color = `hsl(${Math.random() * 360}, 100%, 50%)`; this.prevPositions = []; // Array to store previous positions } update() { this.x += this.speedX; this.y += this.speedY; if (this.size > 0.2) this.size -= 0.1; this.color = `hsl(${Math.random() * 360}, 100%, 50%)`; // Store current position to the array of previous positions this.prevPositions.push({ x: this.x, y: this.y }); // Keep only the last 10 positions if (this.prevPositions.length > 10) { this.prevPositions.shift(); // Remove the first (oldest) position } } draw() { ctx.fillStyle = this.color; ctx.beginPath(); ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2); ctx.closePath(); ctx.fill(); // Draw the trail for (let i = 0; i < this.prevPositions.length; i++) { const alpha = 1 - i / this.prevPositions.length; // Decrease alpha value based on position index ctx.fillStyle = `rgba(${this.color}, ${alpha})`; ctx.beginPath(); ctx.arc(this.prevPositions[i].x, this.prevPositions[i].y, this.size, 0, Math.PI * 2); ctx.closePath(); ctx.fill(); } } } // Create array of particles const particles = []; function createParticles(e) { const xPos = e.clientX; const yPos = e.clientY; for (let i = 0; i < 5; i++) { particles.push(new Particle(xPos, yPos)); } } // Track mouse movement canvas.addEventListener("mousemove", createParticles); // Animate particles function animate() { ctx.clearRect(0, 0, canvas.width, canvas.height); for (let i = 0; i < particles.length; i++) { particles[i].update(); particles[i].draw(); if (particles[i].size <= 0.3) { particles.splice(i, 1); i--; } } requestAnimationFrame(animate); } animate(); </script> <script> function openForm() { document.getElementById("myForm").style.display = "block"; } function closeForm() { document.getElementById("myForm").style.display = "none"; } </script> <script type="text/javascript" src="<?php echo $PathNew; ?>assets/js1/popper.min.js"></script> <script src="<?php echo $PathNew; ?>assets/js1/bootstrap.min.js"></script> <script type="text/javascript" src="<?php echo $PathNew; ?>assets/js1/owl.carousel.min.js"></script> <script type="text/javascript" src="<?php echo $PathNew; ?>assets/js1/jflickrfeed.js"></script> <script type="text/javascript" src="<?php echo $PathNew; ?>assets/js1/jquery.magnific-popup.min.js"></script> <script type="text/javascript" src="<?php echo $PathNew; ?>assets/js1/swipe.js"></script> <script src="<?php echo $PathNew; ?>assets/js1/main.js"></script>
Copyright ©2021 || Defacer Indonesia