Войти на сайт

Войти
Регистрация
или войти через

Заявка на песню

🎵 Бесплатная
⚡ Приоритетная

Рассмотрим заявку и добавим песню в очередь. Сроки не гарантированы.

'; wrapper.parentNode.insertBefore(el,wrapper); applyTheme(); // re-sync buttons } /* ---- SUB-NAV ---- */ function insertSubnav(){ if(document.getElementById('dz-subnav')) return; const hw=document.getElementById('Header_wrapper'); if(!hw) return; const p=window.location.pathname; const links=[ {h:'/',l:'Главная'}, {h:'/akkordy/',l:'Аккорды'}, {h:'/applikatury/',l:'Аппликатуры'}, {h:'/blog/',l:'Блог'}, {h:'#',l:'+ Заказать песню',o:"dzOpenModal('dz-modal-order');return false"}, ]; const html=links.map(lk=>{ const active=lk.h!=='#'&&(p===lk.h||(p.startsWith(lk.h)&&lk.h!=='/')); return ''+lk.l+''; }).join(''); const el=document.createElement('div'); el.id='dz-subnav'; el.innerHTML='
'+html+'
'; hw.insertAdjacentElement('afterend',el); } /* ---- HERO (homepage only) ---- */ function insertHero(){ if(!document.body.classList.contains('home')) return; if(document.getElementById('dz-hero')) return; const ref=document.getElementById('alfavit')||document.getElementById('Content'); if(!ref) return; const el=document.createElement('div'); el.id='dz-hero'; el.innerHTML='
♪
' +'
♫
' +'

Аккорды и тексты песня

' +'

Точные аккорды с аппликатурами для гитары, фортепиано, укулеле, балалайки и мандолины

'; ref.parentNode.insertBefore(el,ref); } /* ---- LOGO REPLACE ---- */ function replaceLogo(){ const logoLink=document.querySelector('#logo'); if(!logoLink||logoLink.querySelector('.dz-logo-text')) return; const div=document.createElement('div'); div.className='dz-logo-text'; div.innerHTML='
♯
DIEZA.NET'; logoLink.appendChild(div); } /* ---- FOOTER ENRICH ---- */ function enrichFooter(){ if(document.getElementById('dz-footer-grid')) return; const ww=document.querySelector('#Footer .widgets_wrapper'); if(!ww) return; const el=document.createElement('div'); el.id='dz-footer-grid'; el.innerHTML='
' +'' +'' +'
' +'

Навигация

' +'ГлавнаяВсе аккорды А–ЯАппликатурыБлог' +'
' +'

Сервисы

' +'Тюнер онлайнГенератор аккордовТранспонирование' +'Заказать песню' +'
' +'

Прочее

' +'О сайтеКонтакты' +'Регистрация' +'ПравилаПартнёрам' +'
'; ww.insertAdjacentElement('beforebegin',el); } /* ---- MODALS ---- */ window.dzOpenModal=function(id){ const el=document.getElementById(id); if(el) el.classList.add('open'); }; window.dzCloseModal=function(id){ const el=document.getElementById(id); if(el) el.classList.remove('open'); }; window.dzSwitchTab=function(btn){ const tabs=btn.closest('.dz-modal-tabs'); tabs.querySelectorAll('.dz-mtab').forEach(t=>t.classList.remove('active')); btn.classList.add('active'); const showEl=document.getElementById(btn.dataset.show); const hideEl=document.getElementById(btn.dataset.hide); if(showEl) showEl.style.display=''; if(hideEl) hideEl.style.display='none'; }; document.querySelectorAll('.dz-modal-overlay').forEach(o=>{ o.addEventListener('click',e=>{ if(e.target===o) o.classList.remove('open'); }); }); /* ---- INIT ---- */ function init(){ insertTopbar(); insertSubnav(); insertHero(); replaceLogo(); enrichFooter(); } if(document.readyState==='loading'){ document.addEventListener('DOMContentLoaded',init); } else { init(); } })();
🎸 dieza.NET Все аккорды А–Я