{"id":74,"date":"2026-07-31T19:20:35","date_gmt":"2026-07-31T19:20:35","guid":{"rendered":"https:\/\/yourphonecases.com\/plovdiv\/login\/"},"modified":"2026-08-18T22:45:59","modified_gmt":"2026-08-18T22:45:59","slug":"login","status":"publish","type":"page","link":"https:\/\/yourphonecases.com\/plovdiv\/login\/","title":{"rendered":"\u0412\u0445\u043e\u0434"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"74\" class=\"elementor elementor-74\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-30e9bb10 e-flex e-con-boxed e-con e-parent\" data-id=\"30e9bb10\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5e45a55b elementor-widget elementor-widget-shortcode\" data-id=\"5e45a55b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">        <div style=\"max-width: 450px; margin: 50px auto; padding: 40px; background: #fff; border-radius: 16px; box-shadow: 0 4px 30px rgba(0,0,0,0.1);\">\n            <div style=\"text-align: center; margin-bottom: 30px;\">\n                <div style=\"font-size: 48px; margin-bottom: 10px;\">\ud83d\udcda<\/div>\n                <h2 style=\"color: #333; margin: 0;\">\u041f\u0438\u0441\u0430\u0442\u0435\u043b\u0441\u043a\u0438 \u043a\u043b\u0443\u0431<\/h2>\n                <p style=\"color: #666; margin: 5px 0 0;\">\u0412\u043b\u0435\u0437\u0442\u0435 \u0432 \u0441\u0432\u043e\u044f \u043f\u0440\u043e\u0444\u0438\u043b<\/p>\n            <\/div>\n            \n            <form id=\"wclub-login-form\">\n                <div style=\"margin-bottom: 20px;\">\n                    <label style=\"display: block; font-weight: bold; color: #555; margin-bottom: 5px;\">\u041f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0441\u043a\u043e \u0438\u043c\u0435 \u0438\u043b\u0438 \u0438\u043c\u0435\u0439\u043b *<\/label>\n                    <input type=\"text\" id=\"wclub-login-username\" required \n                           style=\"width: 100%; padding: 12px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 16px; box-sizing: border-box;\" \/>\n                <\/div>\n                \n                <div style=\"margin-bottom: 20px;\">\n                    <label style=\"display: block; font-weight: bold; color: #555; margin-bottom: 5px;\">\u041f\u0430\u0440\u043e\u043b\u0430 *<\/label>\n                    <input type=\"password\" id=\"wclub-login-password\" required \n                           style=\"width: 100%; padding: 12px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 16px; box-sizing: border-box;\" \/>\n                <\/div>\n                \n                <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;\">\n                    <label style=\"color: #555; font-size: 14px; cursor: pointer;\">\n                        <input type=\"checkbox\" id=\"wclub-login-remember\" \/> \u0417\u0430\u043f\u043e\u043c\u043d\u0438 \u043c\u0435\n                    <\/label>\n                    <a href=\"https:\/\/yourphonecases.com\/plovdiv\/profile\/?a=pwdreset\" style=\"color: #444444; font-size: 14px; text-decoration: none;\">\u0417\u0430\u0431\u0440\u0430\u0432\u0435\u043d\u0430 \u043f\u0430\u0440\u043e\u043b\u0430?<\/a>\n                <\/div>\n                \n                <button type=\"submit\" id=\"wclub-login-submit\" \n                        style=\"width: 100%; padding: 14px; background: #ffd000; color: white; border: none; border-radius: 999px; font-size: 18px; font-weight: bold; cursor: pointer;\">\n                    \u0412\u0445\u043e\u0434\n                <\/button>\n                \n                <div id=\"wclub-login-message\" style=\"margin-top: 15px;\"><\/div>\n            <\/form>\n            \n            <div style=\"text-align: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee;\">\n                <p style=\"color: #666; margin: 0;\">\n                    \u041d\u044f\u043c\u0430\u0442\u0435 \u043f\u0440\u043e\u0444\u0438\u043b? \n                    <a href=\"\/register\/\" style=\"color: #000000; font-weight: bold; text-decoration: none;\">\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u0439\u0442\u0435 \u0441\u0435<\/a>\n                <\/p>\n            <\/div>\n        <\/div>\n\n        <script>\n        document.getElementById('wclub-login-form').addEventListener('submit', function(e) {\n            e.preventDefault();\n            \n            var username = document.getElementById('wclub-login-username').value;\n            var password = document.getElementById('wclub-login-password').value;\n            var remember = document.getElementById('wclub-login-remember').checked ? 1 : 0;\n            \n            if (!username || !password) {\n                document.getElementById('wclub-login-message').innerHTML = \n                    '<div style=\"background: #ffebee; color: #c62828; padding: 12px; border-radius: 8px;\">\u274c \u041c\u043e\u043b\u044f, \u043f\u043e\u043f\u044a\u043b\u043d\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043a\u0438 \u043f\u043e\u043b\u0435\u0442\u0430.<\/div>';\n                return;\n            }\n            \n            var submitBtn = document.getElementById('wclub-login-submit');\n            submitBtn.disabled = true;\n            submitBtn.textContent = '\u0412\u043b\u0438\u0437\u0430\u043d\u0435...';\n            \n            var data = new URLSearchParams();\n            data.append('action', 'wclub_ajax_login');\n            data.append('username', username);\n            data.append('password', password);\n            data.append('remember', remember);\n            data.append('nonce', wclub_ajax.nonce);\n            \n            fetch(wclub_ajax.ajax_url, {\n                method: 'POST',\n                headers: {'Content-Type': 'application\/x-www-form-urlencoded'},\n                body: data\n            })\n            .then(function(response) {\n                return response.json();\n            })\n            .then(function(response) {\n                submitBtn.disabled = false;\n                submitBtn.textContent = '\u0412\u0445\u043e\u0434';\n                \n                if (response.success) {\n                    document.getElementById('wclub-login-message').innerHTML = \n                        '<div style=\"background: #e8f5e9; color: #2e7d32; padding: 12px; border-radius: 8px;\">\u2705 ' + response.data.message + '<\/div>';\n                    \n                    setTimeout(function() {\n                        window.location.href = response.data.redirect;\n                    }, 1000);\n                } else {\n                    document.getElementById('wclub-login-message').innerHTML = \n                        '<div style=\"background: #ffebee; color: #c62828; padding: 12px; border-radius: 8px;\">\u274c ' + response.data + '<\/div>';\n                }\n            })\n            .catch(function(error) {\n                submitBtn.disabled = false;\n                submitBtn.textContent = '\u0412\u0445\u043e\u0434';\n                document.getElementById('wclub-login-message').innerHTML = \n                    '<div style=\"background: #ffebee; color: #c62828; padding: 12px; border-radius: 8px;\">\u274c \u0413\u0440\u0435\u0448\u043a\u0430: ' + error.message + '<\/div>';\n                console.error('Fetch error:', error);\n            });\n        });\n        <\/script>\n        <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","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-74","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/yourphonecases.com\/plovdiv\/wp-json\/wp\/v2\/pages\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourphonecases.com\/plovdiv\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/yourphonecases.com\/plovdiv\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/yourphonecases.com\/plovdiv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yourphonecases.com\/plovdiv\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":4,"href":"https:\/\/yourphonecases.com\/plovdiv\/wp-json\/wp\/v2\/pages\/74\/revisions"}],"predecessor-version":[{"id":556,"href":"https:\/\/yourphonecases.com\/plovdiv\/wp-json\/wp\/v2\/pages\/74\/revisions\/556"}],"wp:attachment":[{"href":"https:\/\/yourphonecases.com\/plovdiv\/wp-json\/wp\/v2\/media?parent=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}