Yeni kampanyalarımız yayında! Güvenli ve hızlı epin alımı için ItemZone'a katılın.
Blog
İletişim
Mağazalar
Giriş Yap
Ücretsiz İlan Ver
Ara
Giriş Yap
Kayıt Ol
Tüm Kategoriler
PUBG Mobile
PUBG Mobile ID Yüklet - TR
PUBG Mobile UC - E-Pin
|
PUBG Mobile
Tüm İlan Kategorileri
İlan Kategorileri
Tüm İlan Kategorileri
PUBG Mobile
PUBG Mobile Hesap
PUBG Mobile Random Hesap
Tüm İlanları Gör
2 Alt Kategori
PUBG Mobile
3 İlan
Son Bakılanlar
Yarım kalan alışverişin
Anasayfa
Favoriler
Sepet
İlan
Hesap
Kategoriler
PUBG Mobile
PUBG Mobile ID Yüklet - TR
PUBG Mobile UC - E-Pin
Menü
Ücretsiz İlan Ver
Mağazalar
Blog
Yayıncılar
Çekilişler
Destek
Hesap
Giriş Yap
Kayıt Ol
// Kullanıcı menüsü aç/kapa (function () { var userBtn = document.getElementById('msUserBtn'); var userDrop = document.getElementById('msUserDrop'); if (userBtn && userDrop) { userBtn.addEventListener('click', function (e) { e.stopPropagation(); userDrop.classList.toggle('ms-open'); }); document.addEventListener('click', function () { userDrop.classList.remove('ms-open'); }); } })(); // Mobil drawer (function () { var drawer = document.getElementById('msDrawer'); var openBtn = document.getElementById('msHamburger'); var closeBtn = document.getElementById('msDrawerClose'); var bg = document.getElementById('msDrawerBg'); if (drawer && openBtn) { openBtn.addEventListener('click', function () { drawer.classList.add('ms-open'); }); closeBtn.addEventListener('click', function () { drawer.classList.remove('ms-open'); }); bg.addEventListener('click', function () { drawer.classList.remove('ms-open'); }); } })(); // Arama dropdown göster/gizle (function () { var input = document.getElementById('searchInputSite'); var drop = document.getElementById('msSearchDrop'); if (input && drop) { input.addEventListener('focus', function () { if (input.value.trim()) drop.classList.add('ms-open'); }); input.addEventListener('blur', function () { setTimeout(function () { drop.classList.remove('ms-open'); }, 150); }); setInterval(function () { if (!drop.classList.contains('ms-open')) return; var uls = drop.querySelectorAll('ul'); var any = false; uls.forEach(function (ul) { if (ul.style.display !== 'none' && ul.children.length) any = true; }); if (!any) drop.classList.remove('ms-open'); }, 400); } })(); // Sepet sayacı güncelleyici (global) function updateCartCounter(count) { var el = document.getElementById('sepetSayisiCount'); if (el) el.textContent = count; } // Bildirim sayıları (5 sn'de bir) (function () { setInterval(function () { fetch('/bildirim-sayilari') .then(function (r) { return r.text(); }) .then(function (text) { var s = text.indexOf('{'), e = text.lastIndexOf('}') + 1; if (s === -1 || e === 0) return; try { var d = JSON.parse(text.substring(s, e)); var badge = document.querySelector('.mesaj-sayisi-badge'); if (badge && d.unreadMessageCount > 0) badge.style.display = ''; } catch (err) {} }) .catch(function () {}); }, 5000); })();