{"id":3203,"date":"2026-08-01T00:03:10","date_gmt":"2026-07-31T21:03:10","guid":{"rendered":"https:\/\/terraesthiarahvakogu.net\/recording-number-lookup\/"},"modified":"2026-08-01T00:03:10","modified_gmt":"2026-07-31T21:03:10","slug":"recording-number-lookup","status":"publish","type":"page","link":"https:\/\/terraesthiarahvakogu.net\/et\/recording-number-lookup\/","title":{"rendered":"Salvestusnumbri otsing"},"content":{"rendered":"\t<div class=\"pmpro_recording_number_lookup\" style=\"--rnl-accent: #426441;\">\n\t\t<form id=\"pmpro_rnl_form_2143\" class=\"pmpro_rnl_form\" method=\"post\" action=\"https:\/\/terraesthiarahvakogu.net\/wp-admin\/admin-ajax.php\">\n\t\t\t<input type=\"hidden\" name=\"action\" value=\"pmpro_recording_number_lookup\">\n\t\t\t<input type=\"hidden\" name=\"nonce\" value=\"8844d6a401\">\n\t\t\t<label class=\"pmpro_rnl_label\" for=\"pmpro_rnl_form_2143_input\">\n\t\t\t\tRecording number\t\t\t<\/label>\n\t\t\t<div class=\"pmpro_rnl_row\">\n\t\t\t\t<input type=\"text\" id=\"pmpro_rnl_form_2143_input\" name=\"recording_number\" class=\"pmpro_rnl_input\" autocomplete=\"off\" required>\n\t\t\t\t<button type=\"submit\" class=\"pmpro_rnl_button\">Search<\/button>\n\t\t\t<\/div>\n\t\t<\/form>\n\t\t<div class=\"pmpro_rnl_result\" aria-live=\"polite\"><\/div>\n\t<\/div>\n\n\t<style>\n\t\t.pmpro_recording_number_lookup {\n\t\t\t--rnl-accent: #426441;\n\t\t\tmax-width: 520px;\n\t\t\tmargin-bottom: 80px;\n\t\t\tpadding-bottom: 20px;\n\t\t\tfont-family: Roboto, \"Helvetica Neue\", Arial, sans-serif;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_label {\n\t\t\tdisplay: block;\n\t\t\tmargin-bottom: 6px;\n\t\t\tcolor: #000;\n\t\t\tfont-weight: 700;\n\t\t\tfont-size: 16px;\n\t\t\tline-height: 25px;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_row {\n\t\t\tdisplay: flex;\n\t\t\tgap: 8px;\n\t\t\tflex-wrap: wrap;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_input {\n\t\t\tflex: 1 1 220px;\n\t\t\tpadding: 8px 12px;\n\t\t\tcolor: #000;\n\t\t\tbackground: #fff;\n\t\t\tborder: 3px solid var(--rnl-accent);\n\t\t\tborder-radius: 0;\n\t\t\tfont-family: inherit;\n\t\t\tfont-size: 16px;\n\t\t\tline-height: 25px;\n\t\t\toutline: none;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_button {\n\t\t\tdisplay: inline-block;\n\t\t\tpadding: 8px 16px;\n\t\t\tcolor: #000;\n\t\t\tbackground: transparent;\n\t\t\tborder: 3px solid var(--rnl-accent);\n\t\t\tborder-radius: 0;\n\t\t\tfont-family: inherit;\n\t\t\tfont-weight: 700;\n\t\t\tfont-size: 16px;\n\t\t\tline-height: 25px;\n\t\t\tvertical-align: middle;\n\t\t\ttext-decoration: none;\n\t\t\tcursor: pointer;\n\t\t\ttransition: .3s;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_button:hover {\n\t\t\tbackground-color: var(--rnl-accent);\n\t\t\tcolor: #fff;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_button[disabled] {\n\t\t\topacity: .6;\n\t\t\tcursor: default;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_result { margin-top: 20px; }\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_card {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tgap: 16px;\n\t\t\tpadding: 16px;\n\t\t\tbackground: #fff;\n\t\t\tborder: 3px solid var(--rnl-accent);\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_card img {\n\t\t\tflex: 0 0 auto;\n\t\t\twidth: 120px;\n\t\t\theight: 120px;\n\t\t\tobject-fit: cover;\n\t\t\tborder: 1px solid #e0e0e0;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_info {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\tgap: 4px;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_member_of {\n\t\t\tcolor: var(--rnl-accent);\n\t\t\tfont-weight: 700;\n\t\t\tfont-size: 14px;\n\t\t\tline-height: 18px;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_name {\n\t\t\tcolor: #000;\n\t\t\tfont-weight: 700;\n\t\t\tfont-size: 20px;\n\t\t\tline-height: 28px;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_valid {\n\t\t\tmargin: 0 0 12px;\n\t\t\tcolor: var(--rnl-accent);\n\t\t\tfont-weight: 700;\n\t\t\tfont-size: 16px;\n\t\t\tline-height: 25px;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_error {\n\t\t\tmargin: 0;\n\t\t\tcolor: #b00;\n\t\t\tfont-size: 16px;\n\t\t\tline-height: 25px;\n\t\t}\n\t\t.pmpro_recording_number_lookup .pmpro_rnl_result a { color: var(--rnl-accent); }\n\t\t@media (max-width: 480px) {\n\t\t\t.pmpro_recording_number_lookup .pmpro_rnl_card {\n\t\t\t\tflex-direction: column;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\t<\/style>\n\n\t<script>\n\t\t(function() {\n\t\t\tvar form = document.getElementById(\"pmpro_rnl_form_2143\");\n\t\t\tif ( ! form ) { return; }\n\t\t\tvar result = form.parentNode.querySelector('.pmpro_rnl_result');\n\t\t\tvar button = form.querySelector('.pmpro_rnl_button');\n\t\t\tvar fallbackAvatar = \"data:image\\\/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTIwIDEyMCI+PHJlY3Qgd2lkdGg9IjEyMCIgaGVpZ2h0PSIxMjAiIGZpbGw9IiNlOWVmZTkiLz48Y2lyY2xlIGN4PSI2MCIgY3k9IjQ2IiByPSIyNCIgZmlsbD0iIzQyNjQ0MSIvPjxyZWN0IHg9IjI0IiB5PSI4MCIgd2lkdGg9IjcyIiBoZWlnaHQ9IjQ2IiByeD0iMjMiIGZpbGw9IiM0MjY0NDEiLz48L3N2Zz4=\";\n\t\t\tvar validMessage = \"\\u2713 Recording number is valid.\";\n\t\t\tvar memberOfMessage = \"Terra Esthia Assembly National\";\n\n\t\t\tfunction setError( message ) {\n\t\t\t\tresult.textContent = '';\n\t\t\t\tvar p = document.createElement('p');\n\t\t\t\tp.className = 'pmpro_rnl_error';\n\t\t\t\tp.textContent = message;\n\t\t\t\tresult.appendChild(p);\n\t\t\t}\n\n\t\t\tform.addEventListener('submit', function( e ) {\n\t\t\t\te.preventDefault();\n\t\t\t\tresult.textContent = '';\n\t\t\t\tbutton.disabled = true;\n\n\t\t\t\tvar data = new FormData( form );\n\n\t\t\t\tjQuery.ajax({\n\t\t\t\t\turl: form.getAttribute('action'),\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tdata: {\n\t\t\t\t\t\taction: data.get('action'),\n\t\t\t\t\t\tnonce: data.get('nonce'),\n\t\t\t\t\t\trecording_number: data.get('recording_number')\n\t\t\t\t\t}\n\t\t\t\t}).done(function( response ) {\n\t\t\t\t\tif ( ! response || ! response.success ) {\n\t\t\t\t\t\tsetError( response && response.data && response.data.message ? response.data.message : \"You may have entered it incorrectly, or there is no user with this Recording number.\" );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar card = document.createElement('div');\n\t\t\t\t\tcard.className = 'pmpro_rnl_card';\n\n\t\t\t\t\tvar img = document.createElement('img');\n\t\t\t\t\timg.alt = response.data.name || '';\n\t\t\t\t\timg.onerror = function() { this.onerror = null; this.src = fallbackAvatar; };\n\t\t\t\t\timg.src = response.data.photo_url ? response.data.photo_url : fallbackAvatar;\n\t\t\t\t\tcard.appendChild(img);\n\n\t\t\t\t\tvar info = document.createElement('div');\n\t\t\t\t\tinfo.className = 'pmpro_rnl_info';\n\n\t\t\t\t\tvar memberOf = document.createElement('div');\n\t\t\t\t\tmemberOf.className = 'pmpro_rnl_member_of';\n\t\t\t\t\tmemberOf.textContent = memberOfMessage;\n\t\t\t\t\tinfo.appendChild(memberOf);\n\n\t\t\t\t\tvar name = document.createElement('div');\n\t\t\t\t\tname.className = 'pmpro_rnl_name';\n\t\t\t\t\tname.textContent = response.data.name || '';\n\t\t\t\t\tinfo.appendChild(name);\n\n\t\t\t\t\tcard.appendChild(info);\n\n\t\t\t\t\tvar valid = document.createElement('p');\n\t\t\t\t\tvalid.className = 'pmpro_rnl_valid';\n\t\t\t\t\tvalid.textContent = validMessage;\n\n\t\t\t\t\tresult.textContent = '';\n\t\t\t\t\tresult.appendChild(valid);\n\t\t\t\t\tresult.appendChild(card);\n\t\t\t\t}).fail(function( xhr ) {\n\t\t\t\t\tvar message = \"You may have entered it incorrectly, or there is no user with this Recording number.\";\n\t\t\t\t\tif ( xhr && xhr.responseJSON && xhr.responseJSON.data && xhr.responseJSON.data.message ) {\n\t\t\t\t\t\tmessage = xhr.responseJSON.data.message;\n\t\t\t\t\t}\n\t\t\t\t\tsetError( message );\n\t\t\t\t}).always(function() {\n\t\t\t\t\tbutton.disabled = false;\n\t\t\t\t});\n\t\t\t});\n\t\t})();\n\t<\/script>\n\t\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":{"_acf_changed":false,"pmpro_default_level":"","footnotes":""},"class_list":["post-3203","page","type-page","status-publish","hentry","pmpro-has-access"],"acf":[],"_links":{"self":[{"href":"https:\/\/terraesthiarahvakogu.net\/et\/wp-json\/wp\/v2\/pages\/3203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/terraesthiarahvakogu.net\/et\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/terraesthiarahvakogu.net\/et\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/terraesthiarahvakogu.net\/et\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/terraesthiarahvakogu.net\/et\/wp-json\/wp\/v2\/comments?post=3203"}],"version-history":[{"count":0,"href":"https:\/\/terraesthiarahvakogu.net\/et\/wp-json\/wp\/v2\/pages\/3203\/revisions"}],"wp:attachment":[{"href":"https:\/\/terraesthiarahvakogu.net\/et\/wp-json\/wp\/v2\/media?parent=3203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}