add_action('admin_footer', function() { ?> document.addEventListener('DOMContentLoaded',function(){var sections=document.querySelectorAll('.ghn-section');sections.forEach(function(section){var track=section.querySelector('.ghn-track');var cards=section.querySelectorAll('.ghn-card');var autoplay=section.getAttribute('data-autoplay')==='true';var delay=parseInt(section.getAttribute('data-delay'),10)||3000;var timer=null;if(!track||!cards.length)return;function getStep(){if(cards.length<2)return cards[0].offsetWidth+14;var firstRect=cards[0].getBoundingClientRect();var secondRect=cards[1].getBoundingClientRect();var gap=Math.round(Math.abs(secondRect.left-firstRect.left)-cards[0].offsetWidth);return cards[0].offsetWidth+Math.max(gap,0)} function scrollNext(){var step=getStep();var maxScroll=track.scrollWidth-track.clientWidth;var nextPos=track.scrollLeft+step;if(nextPos>=maxScroll-5){track.scrollTo({left:0,behavior:'smooth'})}else{track.scrollBy({left:step,behavior:'smooth'})}} function startAutoplay(){if(!autoplay)return;stopAutoplay();timer=setInterval(scrollNext,delay)} function stopAutoplay(){if(timer){clearInterval(timer);timer=null}} function restartAutoplay(){stopAutoplay();startAutoplay()} section.addEventListener('mouseenter',stopAutoplay);section.addEventListener('mouseleave',startAutoplay);section.addEventListener('touchstart',stopAutoplay,{passive:!0});section.addEventListener('touchend',restartAutoplay);section.addEventListener('focusin',stopAutoplay);section.addEventListener('focusout',startAutoplay);startAutoplay()})}) '; });

نمایش 1–12 از 1002 نتیجه

175,000 تومان
175,000 تومان
175,000 تومان
8,900,000 تومان
8,900,000 تومان
8,900,000 تومان
8,900,000 تومان
3,350,000 تومان
3,350,000 تومان
2,570,000 تومان
2,570,000 تومان
2,570,000 تومان