{"id":6,"date":"2025-11-03T07:58:32","date_gmt":"2025-11-03T07:58:32","guid":{"rendered":"https:\/\/proistpliro.sites.sch.gr\/?p=6"},"modified":"2025-11-03T07:58:32","modified_gmt":"2025-11-03T07:58:32","slug":"%ce%ad%ce%bb%ce%b5%ce%b3%cf%87%ce%bf%cf%82-%ce%b5%ce%b3%ce%ba%cf%85%cf%81%cf%8c%cf%84%ce%b7%cf%84%ce%b1%cf%82-%ce%b3%ce%b9%ce%b1-%ce%b5%ce%b3%ce%b3%cf%81%ce%b1%cf%86%ce%b1-%cf%80%ce%bf%cf%85-%ce%b5","status":"publish","type":"post","link":"https:\/\/proistpliro.sites.sch.gr\/?p=6","title":{"rendered":"\u03ad\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u03b5\u03b3\u03ba\u03c5\u03c1\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u03b3\u03b9\u03b1 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03b1 \u03c0\u03bf\u03c5 \u03b5\u03ba\u03b4\u03cc\u03b8\u03b7\u03ba\u03b1\u03bd \u03b1\u03c0\u03bf \u03c4\u03b7 \u0394\u0394\u0395 \u0394"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"el\">\n<head>\n<meta charset=\"UTF-8\">\n<title>\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u0395\u03b3\u03ba\u03c5\u03c1\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u0392\u03b5\u03b2\u03b1\u03af\u03c9\u03c3\u03b7\u03c2<\/title>\n<\/head>\n<body>\n<h2>\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u0395\u03b3\u03ba\u03c5\u03c1\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u0392\u03b5\u03b2\u03b1\u03af\u03c9\u03c3\u03b7\u03c2<\/h2>\n\n<label for=\"idInput\">\u0391\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2 \u0392\u03b5\u03b2\u03b1\u03af\u03c9\u03c3\u03b7\u03c2:<\/label>\n<input type=\"text\" id=\"idInput\" placeholder=\"\u03c0.\u03c7. \u0392\u0395\u0392123\">\n<button onclick=\"checkCertificate()\">\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2<\/button>\n\n<p id=\"result\" style=\"font-weight:bold; margin-top:10px;\"><\/p>\n\n<script>\n\/\/ \u03a6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7 JSON \u03bc\u03b5 \u03ad\u03b3\u03ba\u03c5\u03c1\u03b5\u03c2 \u03b2\u03b5\u03b2\u03b1\u03b9\u03ce\u03c3\u03b5\u03b9\u03c2\nlet validCertificates = [];\n\nfetch('certificates.json')\n    .then(response => response.json())\n    .then(data => {\n        validCertificates = data.validCertificates;\n    })\n    .catch(error => {\n        console.error('\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c3\u03c4\u03b7 \u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7 JSON:', error);\n    });\n\nfunction checkCertificate() {\n    const input = document.getElementById(\"idInput\").value.trim().toUpperCase();\n    const result = document.getElementById(\"result\");\n\n    if (input === \"\") {\n        result.textContent = \"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03ad\u03bd\u03b1\u03bd \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc.\";\n        result.style.color = \"orange\";\n        return;\n    }\n\n    if (validCertificates.includes(input)) {\n        result.textContent = \"\u2705 \u0397 \u03b2\u03b5\u03b2\u03b1\u03af\u03c9\u03c3\u03b7 \u03b5\u03af\u03bd\u03b1\u03b9 \u0395\u0393\u039a\u03a5\u03a1\u0397!\";\n        result.style.color = \"green\";\n    } else {\n        result.textContent = \"\u274c \u0397 \u03b2\u03b5\u03b2\u03b1\u03af\u03c9\u03c3\u03b7 \u0394\u0395\u039d \u0395\u0399\u039d\u0391\u0399 \u0395\u0393\u039a\u03a5\u03a1\u0397!\";\n        result.style.color = \"red\";\n    }\n}\n<\/script>\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>\u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u0395\u03b3\u03ba\u03c5\u03c1\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u0392\u03b5\u03b2\u03b1\u03af\u03c9\u03c3\u03b7\u03c2 \u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2 \u0395\u03b3\u03ba\u03c5\u03c1\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u0392\u03b5\u03b2\u03b1\u03af\u03c9\u03c3\u03b7\u03c2 \u0391\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2 \u0392\u03b5\u03b2\u03b1\u03af\u03c9\u03c3\u03b7\u03c2: \u0388\u03bb\u03b5\u03b3\u03c7\u03bf\u03c2<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6"}],"version-history":[{"count":1,"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":8,"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=\/wp\/v2\/posts\/6\/revisions\/8"}],"wp:attachment":[{"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/proistpliro.sites.sch.gr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}