{"id":18,"date":"2026-08-10T19:03:17","date_gmt":"2026-08-10T16:03:17","guid":{"rendered":"https:\/\/demowp.nibra.cloud\/?page_id=18"},"modified":"2026-08-10T19:03:17","modified_gmt":"2026-08-10T16:03:17","slug":"%d8%ad%d8%b3%d8%a7%d8%a8%d9%8a","status":"publish","type":"page","link":"https:\/\/demowp.nibra.cloud\/?page_id=18","title":{"rendered":"\u062d\u0633\u0627\u0628\u064a"},"content":{"rendered":"<div id=\"dz-acc\" dir=\"rtl\">\n\n<div class=\"da-card\" style=\"max-width:440px;margin:0 auto\">\n<div style=\"text-align:center;margin-bottom:28px\"><div style=\"width:80px;height:80px;margin:0 auto 12px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:36px;box-shadow:0 8px 24px rgba(102,126,234,.3)\">\ud83d\udc64<\/div>\n<h2 style=\"font-size:22px;font-weight:900;margin:8px 0 0\">\u062f\u064a\u0645\u0648 \u0627\u0636\u0627\u0641\u0627\u062a \u0648\u0631\u062f\u0628\u0631\u0633<\/h2><p style=\"color:#94a3b8;font-size:13px;margin-top:4px\">\u0633\u062c\u0651\u0644 \u0627\u0644\u062f\u062e\u0648\u0644 \u0644\u0645\u062a\u0627\u0628\u0639\u0629 \u0637\u0644\u0628\u0627\u062a\u0643<\/p><\/div>\n<div style=\"display:flex;background:#f1f5f9;border-radius:12px;padding:4px;margin-bottom:24px\"><div class=\"da-auth-t active\" onclick=\"daAT('login',this)\" style=\"flex:1;padding:12px;text-align:center;border-radius:8px;font-size:13px;font-weight:700;color:#667eea;cursor:pointer;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:.3s\">\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644<\/div><div class=\"da-auth-t\" onclick=\"daAT('register',this)\" style=\"flex:1;padding:12px;text-align:center;border-radius:8px;font-size:13px;font-weight:700;color:#64748b;cursor:pointer;transition:.3s\">\u062d\u0633\u0627\u0628 \u062c\u062f\u064a\u062f<\/div><\/div>\n<div id=\"da-login\"><div style=\"margin-bottom:14px\"><label class=\"da-label\">\ud83d\udcf1 \u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641<\/label><input type=\"tel\" class=\"da-input\" id=\"da-l-phone\" placeholder=\"0555 12 34 56\" dir=\"ltr\"><\/div><div style=\"margin-bottom:14px\"><label class=\"da-label\">\ud83d\udd12 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631<\/label><input type=\"password\" class=\"da-input\" id=\"da-l-pass\" placeholder=\"\u0623\u062f\u062e\u0644 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631\"><\/div><button class=\"da-btn da-btn-p\" style=\"width:100%\" onclick=\"daLogin()\">\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644<\/button><div id=\"da-l-msg\" class=\"da-msg\"><\/div><\/div>\n<div id=\"da-register\" style=\"display:none\"><div style=\"display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px\"><div><label class=\"da-label\">\ud83d\udc64 \u0627\u0644\u0627\u0633\u0645<\/label><input type=\"text\" class=\"da-input\" id=\"da-r-name\" placeholder=\"\u0645\u062d\u0645\u062f \u0623\u062d\u0645\u062f\"><\/div><div><label class=\"da-label\">\ud83d\udcf1 \u0627\u0644\u0647\u0627\u062a\u0641<\/label><input type=\"tel\" class=\"da-input\" id=\"da-r-phone\" placeholder=\"0555123456\" dir=\"ltr\"><\/div><\/div><div style=\"margin-bottom:14px\"><label class=\"da-label\">\ud83d\udce7 \u0627\u0644\u0628\u0631\u064a\u062f (\u0627\u062e\u062a\u064a\u0627\u0631\u064a)<\/label><input type=\"email\" class=\"da-input\" id=\"da-r-email\" placeholder=\"email@example.com\" dir=\"ltr\"><\/div><div style=\"display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px\"><div><label class=\"da-label\">\ud83d\udccd \u0627\u0644\u0648\u0644\u0627\u064a\u0629<\/label><input type=\"text\" class=\"da-input\" id=\"da-r-wilaya\" placeholder=\"\u0627\u0644\u062c\u0632\u0627\u0626\u0631 \u0627\u0644\u0639\u0627\u0635\u0645\u0629\"><\/div><div><label class=\"da-label\">\ud83c\udfd8\ufe0f \u0627\u0644\u0628\u0644\u062f\u064a\u0629<\/label><input type=\"text\" class=\"da-input\" id=\"da-r-commune\" placeholder=\"\u0628\u0627\u0628 \u0627\u0644\u0632\u0648\u0627\u0631\"><\/div><\/div><div style=\"margin-bottom:14px\"><label class=\"da-label\">\ud83d\udd12 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 (6+)<\/label><input type=\"password\" class=\"da-input\" id=\"da-r-pass\" placeholder=\"\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u0642\u0648\u064a\u0629\"><\/div><button class=\"da-btn da-btn-s\" style=\"width:100%\" onclick=\"daReg()\">\u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628<\/button><div id=\"da-r-msg\" class=\"da-msg\"><\/div><\/div>\n<\/div>\n<\/div>\n<script>\nvar daA='https:\/\/demowp.nibra.cloud\/wp-admin\/admin-ajax.php',daN='392f98d5d8';\nfunction daFD(d){var fd=new FormData();for(var k in d)fd.append(k,d[k]);fd.append('nonce',daN);return fd}\nfunction daMsg(id,t,m){var e=document.getElementById(id);if(!e)return;e.className='da-msg '+t;e.textContent=m}\nfunction daAT(t,el){document.querySelectorAll('.da-auth-t').forEach(function(e){e.style.background='none';e.style.color='#64748b';e.style.boxShadow='none'});el.style.background='#fff';el.style.color='#667eea';el.style.boxShadow='0 2px 8px rgba(0,0,0,.08)';document.getElementById('da-login').style.display=t==='login'?'block':'none';document.getElementById('da-register').style.display=t==='register'?'block':'none'}\nfunction daTab(t,el){document.querySelectorAll('.da-tab').forEach(function(e){e.classList.remove('active')});el.classList.add('active');document.querySelectorAll('.da-sec').forEach(function(e){e.classList.remove('active')});document.getElementById('da-s-'+t).classList.add('active')}\nfunction daLogin(){var p=document.getElementById('da-l-phone').value,pw=document.getElementById('da-l-pass').value;if(!p||!pw){daMsg('da-l-msg','err','\u0623\u062f\u062e\u0644 \u0627\u0644\u0647\u0627\u062a\u0641 \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631');return}daMsg('da-l-msg','load','\u062c\u0627\u0631\u064a \u0627\u0644\u062a\u062d\u0642\u0642...');fetch(daA,{method:'POST',body:daFD({action:'dzqcod_customer_login',phone:p,pass:pw})}).then(function(r){return r.json()}).then(function(d){if(d.success){daMsg('da-l-msg','ok','\u062a\u0645 \u0627\u0644\u062f\u062e\u0648\u0644!');setTimeout(function(){location.reload()},600)}else daMsg('da-l-msg','err',d.data&&d.data.message?d.data.message:'\u062e\u0637\u0623')}).catch(function(){daMsg('da-l-msg','err','\u062e\u0637\u0623 \u0627\u062a\u0635\u0627\u0644')})}\nfunction daReg(){var n=document.getElementById('da-r-name').value,p=document.getElementById('da-r-phone').value,e=document.getElementById('da-r-email').value,pw=document.getElementById('da-r-pass').value,w=document.getElementById('da-r-wilaya').value,c=document.getElementById('da-r-commune').value;if(!n||!p||!pw||pw.length<6){daMsg('da-r-msg','err','\u0627\u0644\u0627\u0633\u0645 \u0648\u0627\u0644\u0647\u0627\u062a\u0641 \u0648\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 6+ \u0645\u0637\u0644\u0648\u0628\u0629');return}daMsg('da-r-msg','load','\u062c\u0627\u0631\u064a \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062d\u0633\u0627\u0628...');fetch(daA,{method:'POST',body:daFD({action:'dzqcod_customer_register',name:n,phone:p,email:e,pass:pw,wilaya:w,commune:c})}).then(function(r){return r.json()}).then(function(d){if(d.success){daMsg('da-r-msg','ok','\u062a\u0645 \u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628\u0643!');setTimeout(function(){location.reload()},600)}else daMsg('da-r-msg','err',d.data&&d.data.message?d.data.message:'\u062e\u0637\u0623')}).catch(function(){daMsg('da-r-msg','err','\u062e\u0637\u0623')})}\nfunction daSP(){var fd=daFD({action:'dzqcod_customer_profile_save'});document.querySelectorAll('.da-pf').forEach(function(el){fd.append(el.dataset.key,el.value)});daMsg('da-pf-msg','load','\u062c\u0627\u0631\u064a \u0627\u0644\u062d\u0641\u0638...');fetch(daA,{method:'POST',body:fd}).then(function(r){return r.json()}).then(function(d){daMsg('da-pf-msg',d.success?'ok':'err',d.success?'\u062a\u0645 \u0627\u0644\u062d\u0641\u0638!':'\u062e\u0637\u0623')}).catch(function(){daMsg('da-pf-msg','err','\u062e\u0637\u0623')})}\nfunction daTrk(num,btn){var out=btn.closest('.da-order')?btn.closest('.da-order').querySelector('.da-trk-r'):document.getElementById('da-trk-main');if(!out)out=document.getElementById('da-trk-main');out.innerHTML='<div class=\"da-msg load\">\u062c\u0627\u0631\u064a \u0627\u0644\u062a\u062a\u0628\u0639...<\/div>';fetch(daA,{method:'POST',body:daFD({action:'dzqcod_customer_track',tracking:num})}).then(function(r){return r.json()}).then(function(d){if(d.success&&d.data&&d.data.events&&d.data.events.length){var h='<div class=\"da-timeline\">';d.data.events.forEach(function(e,i){h+='<div class=\"da-tl-item'+(i===0?' latest':'')+'\"><div style=\"font-weight:700;font-size:12px\">'+e.status+'<\/div><div style=\"font-size:11px;color:#94a3b8\">'+e.date+'<\/div><\/div>'});out.innerHTML=h+'<\/div>'}else if(d.success&&d.data&&d.data.status){out.innerHTML='<div class=\"da-msg ok\">'+d.data.status+'<\/div>'}else out.innerHTML='<div style=\"padding:16px;background:#f8fafc;border-radius:12px;text-align:center;color:#94a3b8;font-size:13px\">\u0644\u0627 \u062a\u0648\u062c\u062f \u0628\u064a\u0627\u0646\u0627\u062a \u062a\u062a\u0628\u0639<\/div>'}).catch(function(){out.innerHTML='<div class=\"da-msg err\">\u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u0627\u062a\u0635\u0627\u0644<\/div>'})}\nfunction daTrkM(){var n=document.getElementById('da-trk-num').value;if(!n)return;var fake={closest:function(){return null}};daTrk(n,fake)}\nfunction daRO(oid,btn){btn.textContent='\u23f3';btn.disabled=true;fetch(daA,{method:'POST',body:daFD({action:'dzqcod_customer_reorder',order_id:oid})}).then(function(r){return r.json()}).then(function(d){if(d.success&&d.data.cart_url){btn.textContent='\u2705';location.href=d.data.cart_url}else{btn.textContent='\u274c';btn.disabled=false}}).catch(function(){btn.textContent='\u274c';btn.disabled=false})}\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-18","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demowp.nibra.cloud\/index.php?rest_route=\/wp\/v2\/pages\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demowp.nibra.cloud\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demowp.nibra.cloud\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demowp.nibra.cloud\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demowp.nibra.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18"}],"version-history":[{"count":0,"href":"https:\/\/demowp.nibra.cloud\/index.php?rest_route=\/wp\/v2\/pages\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/demowp.nibra.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}