{"id":3743,"date":"2026-05-04T11:50:10","date_gmt":"2026-05-04T04:50:10","guid":{"rendered":"https:\/\/www.panpraow.ac.th\/main\/?p=3743"},"modified":"2026-05-05T17:33:36","modified_gmt":"2026-05-05T10:33:36","slug":"%e0%b8%a3%e0%b9%88%e0%b8%a7%e0%b8%a1%e0%b8%a5%e0%b8%87%e0%b8%99%e0%b8%b2%e0%b8%a1%e0%b8%96%e0%b8%a7%e0%b8%b2%e0%b8%a2%e0%b8%9e%e0%b8%a3%e0%b8%b0%e0%b8%9e%e0%b8%a3-%e0%b8%a7%e0%b8%b1%e0%b8%99%e0%b8%89","status":"publish","type":"post","link":"https:\/\/www.panpraow.ac.th\/main\/2026\/05\/04\/%e0%b8%a3%e0%b9%88%e0%b8%a7%e0%b8%a1%e0%b8%a5%e0%b8%87%e0%b8%99%e0%b8%b2%e0%b8%a1%e0%b8%96%e0%b8%a7%e0%b8%b2%e0%b8%a2%e0%b8%9e%e0%b8%a3%e0%b8%b0%e0%b8%9e%e0%b8%a3-%e0%b8%a7%e0%b8%b1%e0%b8%99%e0%b8%89\/","title":{"rendered":"\u0e23\u0e48\u0e27\u0e21\u0e25\u0e07\u0e19\u0e32\u0e21\u0e16\u0e27\u0e32\u0e22\u0e1e\u0e23\u0e30\u0e1e\u0e23 \u0e27\u0e31\u0e19\u0e09\u0e31\u0e15\u0e23\u0e21\u0e07\u0e04\u0e25 4 \u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"th\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>\u0e25\u0e07\u0e19\u0e32\u0e21\u0e16\u0e27\u0e32\u0e22\u0e1e\u0e23\u0e30\u0e1e\u0e23<\/title>\n\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Sarabun:wght@300;400;700&#038;display=swap\" rel=\"stylesheet\">\n\n<style>\nbody {\n    font-family: 'Sarabun', sans-serif;\n    margin: 0;\n    padding: 0;\n    background-color: #f4f4f4;\n    color: #333;\n}\n\n\/* HEADER *\/\n.header-section {\n    width: 100%;\n    background: #c97e05;\n    text-align: center;\n}\n\n\/* IMAGE FULL *\/\n.royal-image {\n    width: 100%;\n    height: auto;\n    display: block;\n    max-height: 450px;\n    object-fit: contain;\n    background: #f39c12;\n}\n\n\/* TITLE *\/\n.header-overlay {\n    padding: 12px;\n    background: rgba(0,0,0,0.5);\n    color: white;\n    text-align: center;\n}\n\n.title-text {\n    margin: 0;\n    font-size: 1.5rem;\n    font-weight: bold;\n}\n\n\/* FORM *\/\n.form-container {\n    max-width: 700px;\n    width: 92%;\n    margin: 25px auto 50px auto;\n    background: white;\n    padding: 25px;\n    border-radius: 10px;\n    box-shadow: 0 4px 15px rgba(0,0,0,0.1);\n}\n\n.form-group {\n    display: flex;\n    align-items: center;\n    margin-bottom: 18px;\n}\n\n.form-group label {\n    flex: 0 0 180px;\n    text-align: right;\n    margin-right: 15px;\n    font-weight: bold;\n}\n\n.form-group input,\n.form-group textarea {\n    flex: 1;\n    padding: 10px;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n    font-size: 1rem;\n    font-family: 'Sarabun', sans-serif;\n}\n\n.required {\n    color: red;\n}\n\n\/* BUTTON *\/\n.submit-btn {\n    background-color: #f39c12;\n    color: white;\n    border: none;\n    padding: 12px;\n    width: 100%;\n    font-size: 1.1rem;\n    border-radius: 6px;\n    cursor: pointer;\n    transition: 0.3s;\n    margin-top: 10px;\n}\n\n.submit-btn:hover {\n    background-color: #d68910;\n}\n\n.submit-btn:disabled {\n    background-color: #ccc;\n    cursor: not-allowed;\n}\n\n\/* MOBILE *\/\n@media (max-width: 600px) {\n    .form-group {\n        flex-direction: column;\n        align-items: flex-start;\n    }\n\n    .form-group label {\n        text-align: left;\n        margin-bottom: 5px;\n    }\n\n    .form-container {\n        padding: 18px;\n        margin: 10px;\n    }\n\n    .royal-image {\n        max-height: 250px;\n    }\n}\n<\/style>\n<\/head>\n\n<body>\n\n<!-- HEADER -->\n<div class=\"header-section\">\n    <img decoding=\"async\" src=\"https:\/\/www.panpraow.ac.th\/main\/wp-content\/uploads\/2026\/05\/\u0e25\u0e07\u0e19\u0e32\u0e21\u0e16\u0e27\u0e32\u0e22\u0e1e\u0e23\u0e30\u0e1e\u0e23\u0e27\u0e31\u0e19\u0e09\u0e31\u0e15\u0e23\u0e21\u0e07\u0e04\u0e252569-1-scaled.png\"\n         class=\"royal-image\">\n\n    <div class=\"header-overlay\">\n        <h1 class=\"title-text\">\u0e23\u0e48\u0e27\u0e21\u0e25\u0e07\u0e19\u0e32\u0e21\u0e16\u0e27\u0e32\u0e22\u0e1e\u0e23\u0e30\u0e1e\u0e23<\/h1>\n    <\/div>\n<\/div>\n\n<!-- FORM -->\n<div class=\"form-container\">\n    <form id=\"sign-form\">\n\n        <div class=\"form-group\">\n            <label>\u0e02\u0e49\u0e32\u0e1e\u0e23\u0e30\u0e1e\u0e38\u0e17\u0e18\u0e40\u0e08\u0e49\u0e32 <span class=\"required\">*<\/span><\/label>\n            <input type=\"text\" name=\"name\" id=\"name\" placeholder=\"\u0e0a\u0e37\u0e48\u0e2d-\u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25 \/ Name\" required>\n        <\/div>\n\n        <div class=\"form-group\">\n            <label>\u0e2b\u0e19\u0e48\u0e27\u0e22\u0e07\u0e32\u0e19\/\u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48<\/label>\n            <textarea name=\"address\" rows=\"3\"><\/textarea>\n        <\/div>\n\n        <div class=\"form-group\">\n            <label>\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c<\/label>\n            <input type=\"tel\" name=\"phone\">\n        <\/div>\n\n        <button type=\"submit\" id=\"submitBtn\" class=\"submit-btn\">\n            \u0e25\u0e07\u0e19\u0e32\u0e21\u0e16\u0e27\u0e32\u0e22\u0e1e\u0e23\u0e30\u0e1e\u0e23\n        <\/button>\n\n    <\/form>\n<\/div>\n\n<script>\nconst scriptURL = 'https:\/\/script.google.com\/macros\/s\/AKfycbwtalGS9LoUUr0iklqKK55M7vn5PixjiWs6iQm5tEyDwGh1kT92lJAcliVCrIcIp1gp\/exec';\n\nconst form = document.getElementById('sign-form');\nconst btn = document.getElementById('submitBtn');\nconst nameInput = document.getElementById('name');\n\nform.addEventListener('submit', e => {\n    e.preventDefault();\n\n    \/\/ \u2705 \u0e1a\u0e31\u0e07\u0e04\u0e31\u0e1a\u0e01\u0e23\u0e2d\u0e01\u0e0a\u0e37\u0e48\u0e2d\n    if (nameInput.value.trim() === \"\") {\n        alert(\"\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e0a\u0e37\u0e48\u0e2d-\u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25\u0e01\u0e48\u0e2d\u0e19\u0e25\u0e07\u0e19\u0e32\u0e21\");\n        nameInput.focus();\n        return;\n    }\n\n    btn.disabled = true;\n    btn.innerText = '\u0e01\u0e33\u0e25\u0e31\u0e07\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25...';\n\n    const formData = new FormData(form);\n\n    fetch(scriptURL, {\n        method: 'POST',\n        body: formData\n    })\n    .then(() => {\n        alert('\u0e25\u0e07\u0e19\u0e32\u0e21\u0e16\u0e27\u0e32\u0e22\u0e1e\u0e23\u0e30\u0e1e\u0e23\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08');\n        form.reset();\n    })\n    .catch(() => {\n        alert('\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14 \u0e01\u0e23\u0e38\u0e13\u0e32\u0e25\u0e2d\u0e07\u0e43\u0e2b\u0e21\u0e48\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07');\n    })\n    .finally(() => {\n        btn.disabled = false;\n        btn.innerText = '\u0e25\u0e07\u0e19\u0e32\u0e21\u0e16\u0e27\u0e32\u0e22\u0e1e\u0e23\u0e30\u0e1e\u0e23';\n    });\n});\n<\/script>\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>\u0e25\u0e07\u0e19\u0e32\u0e21\u0e16\u0e27\u0e32\u0e22\u0e1e\u0e23\u0e30\u0e1e\u0e23 \u0e23\u0e48\u0e27\u0e21\u0e25\u0e07\u0e19\u0e32\u0e21\u0e16\u0e27\u0e32\u0e22\u0e1e\u0e23\u0e30\u0e1e\u0e23 \u0e02\u0e49\u0e32\u0e1e\u0e23\u0e30\u0e1e\u0e38\u0e17\u0e18\u0e40\u0e08\u0e49\u0e32 * \u0e2b\u0e19\u0e48\u0e27 &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.panpraow.ac.th\/main\/2026\/05\/04\/%e0%b8%a3%e0%b9%88%e0%b8%a7%e0%b8%a1%e0%b8%a5%e0%b8%87%e0%b8%99%e0%b8%b2%e0%b8%a1%e0%b8%96%e0%b8%a7%e0%b8%b2%e0%b8%a2%e0%b8%9e%e0%b8%a3%e0%b8%b0%e0%b8%9e%e0%b8%a3-%e0%b8%a7%e0%b8%b1%e0%b8%99%e0%b8%89\/\">Continue reading<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3743","post","type-post","status-publish","format-standard","hentry","category-uncategorized","item-wrap"],"_links":{"self":[{"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/posts\/3743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/comments?post=3743"}],"version-history":[{"count":2,"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/posts\/3743\/revisions"}],"predecessor-version":[{"id":3745,"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/posts\/3743\/revisions\/3745"}],"wp:attachment":[{"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/media?parent=3743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/categories?post=3743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.panpraow.ac.th\/main\/wp-json\/wp\/v2\/tags?post=3743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}