{"id":496,"date":"2025-07-29T03:08:59","date_gmt":"2025-07-28T23:38:59","guid":{"rendered":"https:\/\/emif.ir\/?page_id=496"},"modified":"2026-06-10T19:24:38","modified_gmt":"2026-06-10T15:54:38","slug":"log-in","status":"publish","type":"page","link":"https:\/\/emif.ir\/?page_id=496","title":{"rendered":"\u0648\u0631\u0648\u062f Login"},"content":{"rendered":"\n<style>\n@font-face {\n    font-family: 'BTitr';\n    src: url('https:\/\/emif.ir\/wp-content\/uploads\/2025\/09\/BTitrBold.woff2') format('woff2');\n}\n.erl-wrap {\n    min-height: 80vh;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    padding: 30px 15px;\n    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n}\n.erl-box {\n    width: 100%;\n    max-width: 440px;\n    background: #fff;\n    border-radius: 20px;\n    box-shadow: 0 30px 70px rgba(0,0,0,.35);\n    overflow: hidden;\n    animation: erlFade .5s ease;\n}\n@keyframes erlFade {\n    from { opacity:0; transform:translateY(-30px); }\n    to   { opacity:1; transform:translateY(0); }\n}\n.erl-head {\n    background: linear-gradient(135deg,#1e3c72,#2a5298);\n    padding: 35px 30px;\n    text-align: center;\n}\n.erl-head img { height: 200px; margin-bottom: 15px; }\n.erl-head h2 {\n    margin: 0; color: #fff;\n    font-family: 'BTitr', Tahoma, sans-serif;\n    font-size: 28px; line-height: 1.7;\n}\n.erl-body { padding: 35px 30px; }\n.erl-field { margin-bottom: 22px; }\n.erl-field label {\n    display: block; margin-bottom: 7px;\n    font-family: 'BTitr', Tahoma, sans-serif;\n    font-size: 15px; color: #333; font-weight: bold;\n}\n.erl-field input {\n    width: 100%; padding: 14px 16px;\n    border: 2px solid #e0e0e0; border-radius: 12px;\n    font-size: 15px; font-family: Tahoma, sans-serif;\n    background: #fafafa; transition: all .3s; box-sizing: border-box;\n    direction: ltr; text-align: right;\n}\n.erl-field input:focus {\n    outline: none; border-color: #667eea; background: #fff;\n    box-shadow: 0 0 0 4px rgba(102,126,234,.12);\n}\n.erl-field input::placeholder { color: #bbb; }\n.erl-btn {\n    width: 100%; padding: 15px;\n    background: linear-gradient(135deg,#667eea,#764ba2);\n    color: #fff; border: none; border-radius: 12px;\n    font-family: 'BTitr', Tahoma, sans-serif;\n    font-size: 20px; cursor: pointer; transition: all .3s;\n    box-shadow: 0 5px 20px rgba(102,126,234,.35);\n}\n.erl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102,126,234,.5); }\n.erl-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }\n.erl-register {\n    display: block; text-align: center; margin-top: 18px;\n    color: #667eea; font-family: 'BTitr', Tahoma, sans-serif;\n    font-size: 22px; text-decoration: none; cursor: pointer;\n}\n.erl-register:hover { color: #764ba2; text-decoration: underline; }\n.erl-forgot {\n    display: block; text-align: center; margin-top: 12px;\n    color: #999; font-family: 'BTitr', Tahoma, sans-serif;\n    font-size: 14px; cursor: pointer;\n}\n.erl-forgot:hover { color: #667eea; }\n.erl-divider {\n    text-align: center; margin: 18px 0;\n    color: black; font-size: 30px; position: relative;\n}\n.erl-divider::before, .erl-divider::after {\n    content: ''; position: absolute; top: 50%;\n    width: 40%; height: 1px; background: #eee;\n}\n.erl-divider::before { right: 0; }\n.erl-divider::after  { left: 0; }\n#erl-msg, #erl-forgot-msg, #erl-reset-msg {\n    margin-top: 15px; text-align: center;\n    font-size: 14px; font-family: 'BTitr', Tahoma, sans-serif;\n    min-height: 20px; border-radius: 8px; padding: 0; transition: all .3s;\n}\n#erl-msg.error, #erl-forgot-msg.error, #erl-reset-msg.error {\n    background: #fff0f0; color: #d32f2f; padding: 10px; border: 1px solid #ffcdd2;\n}\n#erl-msg.success, #erl-forgot-msg.success, #erl-reset-msg.success {\n    background: #f0fff4; color: #2e7d32; padding: 10px; border: 1px solid #c8e6c9;\n}\n.erl-hidden { display: none !important; }\n.erl-back {\n    display: block; text-align: center; margin-top: 12px;\n    color: #999; font-family: 'BTitr', Tahoma, sans-serif;\n    font-size: 14px; cursor: pointer;\n}\n.erl-back:hover { color: #667eea; }\n<\/style>\n\n<div class=\"erl-wrap\">\n    <div class=\"erl-box\">\n        <div class=\"erl-head\">\n            <img decoding=\"async\" src=\"https:\/\/emif.ir\/wp-content\/uploads\/2026\/01\/cropped-Untitled-removebg-preview-2.png\n\" alt=\"logo\">\n            <h2 id=\"erl-title\">Emif Pasargad Consultants<br>\u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645<\/h2>\n        <\/div>\n        <div class=\"erl-body\">\n\n            <!-- \u0641\u0631\u0645 \u0648\u0631\u0648\u062f -->\n            <form id=\"erl-login-form\">\n                <div class=\"erl-field\">\n                    <label>\ud83d\udce7 \u0622\u062f\u0631\u0633 \u0627\u06cc\u0645\u06cc\u0644<\/label>\n                    <input type=\"email\" name=\"email\" placeholder=\"example@email.com\" required autocomplete=\"email\">\n                <\/div>\n                <div class=\"erl-field\">\n                    <label>\ud83d\udd11 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631<\/label>\n                    <input type=\"password\" name=\"password\" placeholder=\"\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f\" required>\n                <\/div>\n                <button class=\"erl-btn\" type=\"submit\">\u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645<\/button>\n                <span class=\"erl-forgot\" onclick=\"erlShowForgot()\">\ud83d\udd13 \u0641\u0631\u0627\u0645\u0648\u0634\u06cc \u0631\u0645\u0632 \u0639\u0628\u0648\u0631<\/span>\n                <div id=\"erl-msg\"><\/div>\n                <div class=\"erl-divider\">OR \u06cc\u0627<\/div>\n                <a class=\"erl-register\" href=\"https:\/\/emif.ir\/?page_id=1751\">\n                    \u2728 \u062b\u0628\u062a \u0646\u0627\u0645 \u062c\u062f\u06cc\u062f\n                <\/a>\n            <\/form>\n\n            <!-- \u0641\u0631\u0645 \u0641\u0631\u0627\u0645\u0648\u0634\u06cc \u0631\u0645\u0632 -->\n            <form id=\"erl-forgot-form\" class=\"erl-hidden\">\n                <div class=\"erl-field\">\n                    <label>\ud83c\udd94 \u06a9\u062f \u0645\u0644\u06cc \u06cc\u0627 \u0634\u0645\u0627\u0631\u0647 \u062a\u0644\u0641\u0646<\/label>\n                    <input type=\"text\" name=\"forgot_identity\" placeholder=\"\u06a9\u062f \u0645\u0644\u06cc \u06cc\u0627 \u0634\u0645\u0627\u0631\u0647 \u062a\u0644\u0641\u0646\" required>\n                <\/div>\n                <button class=\"erl-btn\" type=\"submit\">\u0627\u0631\u0633\u0627\u0644 \u06a9\u062f \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc<\/button>\n                <span class=\"erl-back\" onclick=\"erlShowLogin()\">\u21a9 \u0628\u0627\u0632\u06af\u0634\u062a \u0628\u0647 \u0648\u0631\u0648\u062f<\/span>\n                <div id=\"erl-forgot-msg\"><\/div>\n            <\/form>\n\n            <!-- \u0641\u0631\u0645 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632 -->\n            <form id=\"erl-reset-form\" class=\"erl-hidden\">\n                <div class=\"erl-field\">\n                    <label>\ud83d\udce9 \u06a9\u062f \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc (\u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647 \u0628\u0647 \u0627\u06cc\u0645\u06cc\u0644)<\/label>\n                    <input type=\"text\" name=\"reset_code\" placeholder=\"\u06a9\u062f 6 \u0631\u0642\u0645\u06cc\" maxlength=\"6\" required>\n                <\/div>\n                <div class=\"erl-field\">\n                    <label>\ud83d\udd11 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062c\u062f\u06cc\u062f<\/label>\n                    <input type=\"password\" name=\"new_password\" placeholder=\"\u062d\u062f\u0627\u0642\u0644 6 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\" required>\n                <\/div>\n                <div class=\"erl-field\">\n                    <label>\ud83d\udd11 \u062a\u06a9\u0631\u0627\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062c\u062f\u06cc\u062f<\/label>\n                    <input type=\"password\" name=\"confirm_password\" placeholder=\"\u062a\u06a9\u0631\u0627\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631\" required>\n                <\/div>\n                <button class=\"erl-btn\" type=\"submit\">\u062a\u0623\u06cc\u06cc\u062f \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632<\/button>\n                <span class=\"erl-back\" onclick=\"erlShowLogin()\">\u21a9 \u0628\u0627\u0632\u06af\u0634\u062a \u0628\u0647 \u0648\u0631\u0648\u062f<\/span>\n                <div id=\"erl-reset-msg\"><\/div>\n            <\/form>\n\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\nfunction erlShowLogin() {\n    document.getElementById('erl-login-form').classList.remove('erl-hidden');\n    document.getElementById('erl-forgot-form').classList.add('erl-hidden');\n    document.getElementById('erl-reset-form').classList.add('erl-hidden');\n    document.getElementById('erl-title').innerHTML = 'Emif Pasargad Consultants<br>\u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645';\n}\nfunction erlShowForgot() {\n    document.getElementById('erl-login-form').classList.add('erl-hidden');\n    document.getElementById('erl-forgot-form').classList.remove('erl-hidden');\n    document.getElementById('erl-reset-form').classList.add('erl-hidden');\n    document.getElementById('erl-title').innerHTML = '\u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0631\u0645\u0632 \u0639\u0628\u0648\u0631';\n}\nfunction erlShowReset() {\n    document.getElementById('erl-login-form').classList.add('erl-hidden');\n    document.getElementById('erl-forgot-form').classList.add('erl-hidden');\n    document.getElementById('erl-reset-form').classList.remove('erl-hidden');\n    document.getElementById('erl-title').innerHTML = '\u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631';\n}\n\ndocument.getElementById('erl-login-form').addEventListener('submit', function(e) {\n    e.preventDefault();\n    var btn = this.querySelector('.erl-btn');\n    var msg = document.getElementById('erl-msg');\n    btn.disabled = true; btn.textContent = '\u23f3 \u062f\u0631 \u062d\u0627\u0644 \u0628\u0631\u0631\u0633\u06cc...';\n    msg.className = ''; msg.textContent = '';\n    var data = new FormData(this);\n    data.append('action', 'emifro_login');\n    fetch('https:\/\/emif.ir\/wp-admin\/admin-ajax.php', { method: 'POST', body: data })\n        .then(function(r) { return r.json(); })\n        .then(function(r) {\n            if (r.success) {\n                msg.className = 'success'; msg.textContent = r.data.message;\n                setTimeout(function() { window.location.href = r.data.redirect; }, 800);\n            } else {\n                msg.className = 'error'; msg.textContent = r.data.message;\n                btn.disabled = false; btn.textContent = '\u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645';\n            }\n        })\n        .catch(function() {\n            msg.className = 'error'; msg.textContent = '\u062e\u0637\u0627 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u0633\u0631\u0648\u0631';\n            btn.disabled = false; btn.textContent = '\u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645';\n        });\n});\n\ndocument.getElementById('erl-forgot-form').addEventListener('submit', function(e) {\n    e.preventDefault();\n    var btn = this.querySelector('.erl-btn');\n    var msg = document.getElementById('erl-forgot-msg');\n    btn.disabled = true; btn.textContent = '\u23f3 \u062f\u0631 \u062d\u0627\u0644 \u0627\u0631\u0633\u0627\u0644...';\n    msg.className = ''; msg.textContent = '';\n    var data = new FormData(this);\n    data.append('action', 'emifro_forgot_password');\n    fetch('https:\/\/emif.ir\/wp-admin\/admin-ajax.php', { method: 'POST', body: data })\n        .then(function(r) { return r.json(); })\n        .then(function(r) {\n            if (r.success) {\n                msg.className = 'success'; msg.textContent = r.data.message;\n                setTimeout(function() { erlShowReset(); }, 4000);\n            } else {\n                msg.className = 'error'; msg.textContent = r.data.message;\n                btn.disabled = false; btn.textContent = '\u0627\u0631\u0633\u0627\u0644 \u06a9\u062f \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc';\n            }\n        })\n        .catch(function() {\n            msg.className = 'error'; msg.textContent = '\u062e\u0637\u0627 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u0633\u0631\u0648\u0631';\n            btn.disabled = false; btn.textContent = '\u0627\u0631\u0633\u0627\u0644 \u06a9\u062f \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc';\n        });\n});\n\ndocument.getElementById('erl-reset-form').addEventListener('submit', function(e) {\n    e.preventDefault();\n    var btn = this.querySelector('.erl-btn');\n    var msg = document.getElementById('erl-reset-msg');\n    btn.disabled = true; btn.textContent = '\u23f3 \u062f\u0631 \u062d\u0627\u0644 \u067e\u0631\u062f\u0627\u0632\u0634...';\n    msg.className = ''; msg.textContent = '';\n    var data = new FormData(this);\n    data.append('action', 'emifro_reset_password');\n    fetch('https:\/\/emif.ir\/wp-admin\/admin-ajax.php', { method: 'POST', body: data })\n        .then(function(r) { return r.json(); })\n        .then(function(r) {\n            if (r.success) {\n                msg.className = 'success'; msg.textContent = r.data.message;\n                setTimeout(function() { erlShowLogin(); }, 4000);\n            } else {\n                msg.className = 'error'; msg.textContent = r.data.message;\n                btn.disabled = false; btn.textContent = '\u062a\u0623\u06cc\u06cc\u062f \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632';\n            }\n        })\n        .catch(function() {\n            msg.className = 'error'; msg.textContent = '\u062e\u0637\u0627 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u0633\u0631\u0648\u0631';\n            btn.disabled = false; btn.textContent = '\u062a\u0623\u06cc\u06cc\u062f \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632';\n        });\n});\n<\/script>\n\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-496","page","type-page","status-publish"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0648\u0631\u0648\u062f Login -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/emif.ir\/?page_id=496\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0648\u0631\u0648\u062f Login -\" \/>\n<meta property=\"og:url\" content=\"https:\/\/emif.ir\/?page_id=496\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-10T15:54:38+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/emif.ir\/?page_id=496\",\"url\":\"https:\/\/emif.ir\/?page_id=496\",\"name\":\"\u0648\u0631\u0648\u062f Login -\",\"isPartOf\":{\"@id\":\"https:\/\/emif.ir\/#website\"},\"datePublished\":\"2025-07-28T23:38:59+00:00\",\"dateModified\":\"2026-06-10T15:54:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/emif.ir\/?page_id=496#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/emif.ir\/?page_id=496\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/emif.ir\/?page_id=496#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\/\/emif.ir\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0648\u0631\u0648\u062f Login\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/emif.ir\/#website\",\"url\":\"https:\/\/emif.ir\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/emif.ir\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0648\u0631\u0648\u062f Login -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/emif.ir\/?page_id=496","og_locale":"fa_IR","og_type":"article","og_title":"\u0648\u0631\u0648\u062f Login -","og_url":"https:\/\/emif.ir\/?page_id=496","article_modified_time":"2026-06-10T15:54:38+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"1 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/emif.ir\/?page_id=496","url":"https:\/\/emif.ir\/?page_id=496","name":"\u0648\u0631\u0648\u062f Login -","isPartOf":{"@id":"https:\/\/emif.ir\/#website"},"datePublished":"2025-07-28T23:38:59+00:00","dateModified":"2026-06-10T15:54:38+00:00","breadcrumb":{"@id":"https:\/\/emif.ir\/?page_id=496#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/emif.ir\/?page_id=496"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/emif.ir\/?page_id=496#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/emif.ir\/"},{"@type":"ListItem","position":2,"name":"\u0648\u0631\u0648\u062f Login"}]},{"@type":"WebSite","@id":"https:\/\/emif.ir\/#website","url":"https:\/\/emif.ir\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/emif.ir\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"}]}},"_links":{"self":[{"href":"https:\/\/emif.ir\/index.php?rest_route=\/wp\/v2\/pages\/496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emif.ir\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/emif.ir\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/emif.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emif.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=496"}],"version-history":[{"count":4,"href":"https:\/\/emif.ir\/index.php?rest_route=\/wp\/v2\/pages\/496\/revisions"}],"predecessor-version":[{"id":2039,"href":"https:\/\/emif.ir\/index.php?rest_route=\/wp\/v2\/pages\/496\/revisions\/2039"}],"wp:attachment":[{"href":"https:\/\/emif.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}