{"id":442,"date":"2025-10-26T23:56:17","date_gmt":"2025-10-26T20:26:17","guid":{"rendered":"https:\/\/ctpri.ir\/?page_id=442"},"modified":"2025-10-26T23:59:46","modified_gmt":"2025-10-26T20:29:46","slug":"%d8%a7%d9%85%d9%88%d8%b1-%d9%82%d8%b1%d8%a7%d8%b1%d8%af%d8%a7%d8%af%d9%87%d8%a7","status":"publish","type":"page","link":"https:\/\/ctpri.ir\/?page_id=442","title":{"rendered":"\u0627\u0645\u0648\u0631 \u0642\u0631\u0627\u0631\u062f\u0627\u062f\u0647\u0627"},"content":{"rendered":"\n<style>\n.emif-wrapper{\n    min-height:1000px;\n    max-width:700px;\n    margin:40px auto;\n    display:flex;\n    align-items:center;\n    justify-content:center;\n    background:yellow;\n    padding:20px\n}\n.emif-box{\n    width:100%;\n    max-width:420px;\n    background:#fff;\n    border-radius:18px;\n    box-shadow:0 25px 60px rgba(0,0,0,.35);\n    overflow:hidden;\n    animation:emifFade .5s ease\n}\n@keyframes emifFade{\n    from{opacity:0;transform:translateY(-30px)}\n    to{opacity:1;transform:translateY(0)}\n}\n.emif-head{\n    background:linear-gradient(135deg,#667eea,#764ba2);\n    color:#fff;\n    padding:35px;\n    text-align:center\n}\n.emif-head h2{margin:0;font-size:26px}\n.emif-body{padding:35px}\n.emif-field{margin-bottom:20px}\n.emif-field label{\n    font-family: 'BTitr', sans-serif;\n    display:block;\n    margin-bottom:6px;\n    font-size:17px\n}\n.emif-field input{\n    width:100%;\n    padding:14px;\n    border-radius:12px;\n    border:2px solid #eee;\n    transition:.3s;\n    box-sizing:border-box;\n}\n.emif-field input:focus{\n    outline:none;\n    border-color:#667eea;\n    box-shadow:0 0 0 4px rgba(102,126,234,.15)\n}\n.emif-btn{\n    font-family: 'BTitr', sans-serif;\n    width:100%;\n    padding:15px;\n    border:none;\n    border-radius:14px;\n    background:linear-gradient(135deg,#667eea,#764ba2);\n    color:#fff;\n    font-size:25px;\n    cursor:pointer;\n    transition:.3s\n}\n.emif-btn:hover{\n    transform:translateY(-2px);\n    box-shadow:0 12px 30px rgba(102,126,234,.4)\n}\n.emif-forgot-link{\n    display:block;\n    text-align:center;\n    margin-top:15px;\n    color:#667eea;\n    cursor:pointer;\n    font-size:14px;\n    text-decoration:underline;\n    font-family: 'BTitr', sans-serif;\n}\n.emif-forgot-link:hover{\n    color:#764ba2;\n}\n#emif-msg, #emif-forgot-msg, #emif-reset-msg{\n    margin-top:15px;\n    text-align:center;\n    font-size:14px;\n    font-family: 'BTitr', sans-serif;\n}\n.emif-hidden{display:none!important}\n.emif-back-btn{\n    background:#6c757d!important;\n    margin-top:10px;\n}\n.emif-helper-text{\n    font-size:12px;\n    color:#666;\n    text-align:center;\n    font-family:'BTitr',sans-serif;\n    margin:10px 0;\n}\n.emif-field small{\n    display:block;\n    margin-top:5px;\n    font-size:12px;\n    color:#999;\n    font-family:'BTitr',sans-serif;\n}\n@font-face {\n    font-family: 'BTitr';\n    src: url('https:\/\/ctpri.ir\/wp-content\/uploads\/2025\/10\/BTitrBold.woff2') format('woff2');\n    font-weight: normal;\n    font-style: normal;\n}\n.emif-head h2{\n    font-family: 'BTitr', sans-serif;\n}\n<\/style>\n\n<div class=\"emif-wrapper\">\n    <div class=\"emif-box\">\n        <div class=\"emif-head\">\n            <img decoding=\"async\" src=\"https:\/\/ctpri.ir\/wp-content\/uploads\/2026\/02\/cropped-Pasargad_1-removebg-preview.png\" class=\"emif-logo\">\n            <h2 style=\"color:white\">\u0634\u0631\u06a9\u062a \u062a\u0639\u0627\u0648\u0646\u06cc \u067e\u0627\u0633\u0627\u0631\u06af\u0627\u062f \u0631\u0627\u06cc\u0627\u0646\u0647 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646<\/h2>       \n            <h2 style=\"color:white\" id=\"emif-title\">\u0642\u0631\u0627\u0631\u062f\u0627\u062f \u0627\u0644\u06a9\u062a\u0631\u0648\u0646\u06cc\u06a9\u06cc<\/h2>\n        <\/div>\n        <div class=\"emif-body\">\n            \n            <!-- \u0641\u0631\u0645 \u0648\u0631\u0648\u062f -->\n            <form id=\"emif-login-form\">\n                <div class=\"emif-field\">\n                    <label>\u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc ( \u0627\u06cc\u0645\u06cc\u0644 \u06cc\u0627 \u06a9\u062f \u0645\u0644\u06cc )<\/label>\n                    <input type=\"text\" name=\"username\" required>\n                <\/div>\n                <div class=\"emif-field\">\n                    <label>\u0631\u0645\u0632 \u0639\u0628\u0648\u0631<\/label>\n                    <input type=\"password\" name=\"password\" required>\n                <\/div>\n                <button class=\"emif-btn\" type=\"submit\">\u0648\u0631\u0648\u062f<\/button>\n                <a class=\"emif-forgot-link\" onclick=\"showForgotForm()\">\u0641\u0631\u0627\u0645\u0648\u0634\u06cc \u0631\u0645\u0632 \u0639\u0628\u0648\u0631<\/a>\n                <div id=\"emif-msg\"><\/div>\n            <\/form>\n\n            <!-- \u0641\u0631\u0645 \u0641\u0631\u0627\u0645\u0648\u0634\u06cc \u0631\u0645\u0632 -->\n            <form id=\"emif-forgot-form\" class=\"emif-hidden\">\n                <div class=\"emif-field\">\n                    <label>\u0627\u06cc\u0645\u06cc\u0644<\/label>\n                    <input type=\"email\" name=\"email\" id=\"forgot-email\" placeholder=\"example@email.com\">\n                <\/div>\n                <div class=\"emif-field\">\n                    <label>\u06cc\u0627 \u0634\u0645\u0627\u0631\u0647 \u062a\u0644\u0641\u0646<\/label>\n                    <input type=\"text\" name=\"phone\" id=\"forgot-phone\" placeholder=\"09123456789\">\n                <\/div>\n                <div class=\"emif-field\">\n                    <label>\u06cc\u0627 \u06a9\u062f \u0645\u0644\u06cc<\/label>\n                    <input type=\"text\" name=\"national_id\" id=\"forgot-national\" maxlength=\"10\" placeholder=\"1234567890\">\n                    <small>10 \u0631\u0642\u0645\u06cc<\/small>\n                <\/div>\n                <p class=\"emif-helper-text\">\n                    \u062d\u062f\u0627\u0642\u0644 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0648\u0627\u0631\u062f \u0628\u0627\u0644\u0627 \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f\n                <\/p>\n                <button class=\"emif-btn\" type=\"submit\">\u0627\u0631\u0633\u0627\u0644 \u0631\u0645\u0632 \u0645\u0648\u0642\u062a<\/button>\n                <button class=\"emif-btn emif-back-btn\" type=\"button\" onclick=\"showLoginForm()\">\u0628\u0627\u0632\u06af\u0634\u062a<\/button>\n                <div id=\"emif-forgot-msg\"><\/div>\n            <\/form>\n\n            <!-- \u0641\u0631\u0645 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632 -->\n            <form id=\"emif-reset-form\" class=\"emif-hidden\">\n                <div class=\"emif-field\">\n                    <label>\u0631\u0645\u0632 \u0645\u0648\u0642\u062a (\u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647)<\/label>\n                    <input type=\"text\" name=\"temp_code\" required placeholder=\"123456\">\n                    <small>\u06a9\u062f 6 \u0631\u0642\u0645\u06cc \u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647 \u0628\u0647 \u0627\u06cc\u0645\u06cc\u0644 \u06cc\u0627 \u062a\u0644\u0641\u0646<\/small>\n                <\/div>\n                <div class=\"emif-field\">\n                    <label>\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062c\u062f\u06cc\u062f<\/label>\n                    <input type=\"password\" name=\"new_password\" required placeholder=\"\u062d\u062f\u0627\u0642\u0644 6 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\">\n                <\/div>\n                <div class=\"emif-field\">\n                    <label>\u062a\u06a9\u0631\u0627\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062c\u062f\u06cc\u062f<\/label>\n                    <input type=\"password\" name=\"confirm_password\" required>\n                <\/div>\n                <button class=\"emif-btn\" type=\"submit\">\u062a\u0627\u06cc\u06cc\u062f \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632<\/button>\n                <button class=\"emif-btn emif-back-btn\" type=\"button\" onclick=\"showLoginForm()\">\u0628\u0627\u0632\u06af\u0634\u062a<\/button>\n                <div id=\"emif-reset-msg\"><\/div>\n            <\/form>\n\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\nfunction showLoginForm() {\n    document.getElementById('emif-login-form').classList.remove('emif-hidden');\n    document.getElementById('emif-forgot-form').classList.add('emif-hidden');\n    document.getElementById('emif-reset-form').classList.add('emif-hidden');\n    document.getElementById('emif-title').innerText = '\u0642\u0631\u0627\u0631\u062f\u0627\u062f \u0627\u0644\u06a9\u062a\u0631\u0648\u0646\u06cc\u06a9\u06cc';\n    document.getElementById('emif-msg').innerText = '';\n    document.getElementById('emif-forgot-msg').innerText = '';\n    document.getElementById('emif-reset-msg').innerText = '';\n}\nfunction showForgotForm() {\n    document.getElementById('emif-login-form').classList.add('emif-hidden');\n    document.getElementById('emif-forgot-form').classList.remove('emif-hidden');\n    document.getElementById('emif-reset-form').classList.add('emif-hidden');\n    document.getElementById('emif-title').innerText = '\u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0631\u0645\u0632 \u0639\u0628\u0648\u0631';\n    document.getElementById('emif-msg').innerText = '';\n    document.getElementById('emif-forgot-msg').innerText = '';\n    document.getElementById('emif-reset-msg').innerText = '';\n}\nfunction showResetForm() {\n    document.getElementById('emif-login-form').classList.add('emif-hidden');\n    document.getElementById('emif-forgot-form').classList.add('emif-hidden');\n    document.getElementById('emif-reset-form').classList.remove('emif-hidden');\n    document.getElementById('emif-title').innerText = '\u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631';\n    document.getElementById('emif-msg').innerText = '';\n    document.getElementById('emif-forgot-msg').innerText = '';\n    document.getElementById('emif-reset-msg').innerText = '';\n}\n\n\/\/ \u0641\u0631\u0645 \u0648\u0631\u0648\u062f\ndocument.getElementById('emif-login-form').addEventListener('submit', function(e) {\n    e.preventDefault();\n    const msg = document.getElementById('emif-msg');\n    msg.innerText = '\u062f\u0631 \u062d\u0627\u0644 \u0628\u0631\u0631\u0633\u06cc...';\n    msg.style.color = '#667eea';\n    const data = new FormData(this);\n    data.append('action', 'emif_login');\n    fetch('https:\/\/ctpri.ir\/wp-admin\/admin-ajax.php', { method: 'POST', body: data })\n        .then(r => r.json())\n        .then(r => {\n            if (r.success) { msg.style.color = 'green'; msg.innerText = r.data.message; setTimeout(() => location.href = r.data.redirect, 800); }\n            else { msg.style.color = 'red'; msg.innerText = r.data.message; }\n        })\n        .catch(err => { msg.style.color = 'red'; msg.innerText = '\u062e\u0637\u0627 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u0633\u0631\u0648\u0631'; console.error(err); });\n});\n\n\/\/ \u0641\u0631\u0645 \u0641\u0631\u0627\u0645\u0648\u0634\u06cc \u0631\u0645\u0632\ndocument.getElementById('emif-forgot-form').addEventListener('submit', function(e) {\n    e.preventDefault();\n    const msg = document.getElementById('emif-forgot-msg');\n    msg.innerText = '\u062f\u0631 \u062d\u0627\u0644 \u0628\u0631\u0631\u0633\u06cc...';\n    msg.style.color = '#667eea';\n    const data = new FormData(this);\n    data.append('action', 'emif_forgot_check');\n    fetch('https:\/\/ctpri.ir\/wp-admin\/admin-ajax.php', { method: 'POST', body: data })\n        .then(r => r.json())\n        .then(r => {\n            if (r.success) { msg.style.color = 'green'; msg.innerText = r.data.message; setTimeout(() => showResetForm(), 1500); }\n            else { msg.style.color = 'red'; msg.innerText = r.data.message; }\n        })\n        .catch(err => { msg.style.color = 'red'; msg.innerText = '\u062e\u0637\u0627 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u0633\u0631\u0648\u0631'; console.error(err); });\n});\n\n\/\/ \u0641\u0631\u0645 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632\ndocument.getElementById('emif-reset-form').addEventListener('submit', function(e) {\n    e.preventDefault();\n    const msg = document.getElementById('emif-reset-msg');\n    msg.innerText = '\u062f\u0631 \u062d\u0627\u0644 \u067e\u0631\u062f\u0627\u0632\u0634...';\n    msg.style.color = '#667eea';\n    const data = new FormData(this);\n    data.append('action', 'emif_reset_password');\n    fetch('https:\/\/ctpri.ir\/wp-admin\/admin-ajax.php', { method: 'POST', body: data })\n        .then(r => r.json())\n        .then(r => {\n            if (r.success) { msg.style.color = 'green'; msg.innerText = r.data.message; setTimeout(() => showLoginForm(), 1500); }\n            else { msg.style.color = 'red'; msg.innerText = r.data.message; }\n        })\n        .catch(err => { msg.style.color = 'red'; msg.innerText = '\u062e\u0637\u0627 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u0633\u0631\u0648\u0631'; console.error(err); });\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":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-442","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ctpri.ir\/index.php?rest_route=\/wp\/v2\/pages\/442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ctpri.ir\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ctpri.ir\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ctpri.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ctpri.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=442"}],"version-history":[{"count":2,"href":"https:\/\/ctpri.ir\/index.php?rest_route=\/wp\/v2\/pages\/442\/revisions"}],"predecessor-version":[{"id":444,"href":"https:\/\/ctpri.ir\/index.php?rest_route=\/wp\/v2\/pages\/442\/revisions\/444"}],"wp:attachment":[{"href":"https:\/\/ctpri.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}