{"id":2126,"date":"2023-03-27T17:13:52","date_gmt":"2023-03-27T10:13:52","guid":{"rendered":"http:\/\/www.bansapam.ac.th\/sapam\/?page_id=2126"},"modified":"2026-04-03T15:46:04","modified_gmt":"2026-04-03T08:46:04","slug":"checkgradeschool","status":"publish","type":"page","link":"https:\/\/www.bansapam.ac.th\/sapam\/checkgradeschool\/","title":{"rendered":"\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e1c\u0e25\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e19\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2126\" class=\"elementor elementor-2126\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-49df86c elementor-section-height-min-height elementor-section-boxed elementor-section-height-default elementor-section-items-middle\" data-id=\"49df86c\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;,&quot;shape_divider_bottom&quot;:&quot;waves&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t<div class=\"elementor-shape elementor-shape-bottom\" data-negative=\"false\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 1000 100\" preserveAspectRatio=\"none\">\n\t<path class=\"elementor-shape-fill\" d=\"M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7\n\tc23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V0H0v30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4\n\tc21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z\"\/>\n<\/svg>\t\t<\/div>\n\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-6f5b6c02\" data-id=\"6f5b6c02\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1d8e9cc6 elementor-widget elementor-widget-heading\" data-id=\"1d8e9cc6\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.15.0 - 02-08-2023 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h3 class=\"elementor-heading-title elementor-size-default\">\u0e42\u0e23\u0e07\u0e40\u0e23\u0e35\u0e22\u0e19\u0e1a\u0e49\u0e32\u0e19\u0e2a\u0e30\u0e1b\u0e33 \"\u0e21\u0e07\u0e04\u0e25\u0e27\u0e34\u0e17\u0e22\u0e32\"<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b59a94b elementor-widget elementor-widget-heading\" data-id=\"4b59a94b\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">\u0e23\u0e30\u0e1a\u0e1a\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e1c\u0e25\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e19\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c<\/h1>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-3ea11f1d\" data-id=\"3ea11f1d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-726bafa1 elementor-widget elementor-widget-image\" data-id=\"726bafa1\" data-element_type=\"widget\" data-settings=\"{&quot;motion_fx_motion_fx_scrolling&quot;:&quot;yes&quot;,&quot;motion_fx_translateY_effect&quot;:&quot;yes&quot;,&quot;motion_fx_translateY_speed&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;1&quot;,&quot;sizes&quot;:[]},&quot;_animation&quot;:&quot;none&quot;,&quot;motion_fx_translateY_affectedRange&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:{&quot;start&quot;:0,&quot;end&quot;:100}},&quot;motion_fx_devices&quot;:[&quot;desktop&quot;,&quot;tablet&quot;,&quot;mobile&quot;]}\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.15.0 - 02-08-2023 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1476\" height=\"1930\" src=\"https:\/\/www.bansapam.ac.th\/sapam\/wp-content\/uploads\/2025\/07\/1.png\" class=\"attachment-full size-full wp-image-4296\" alt=\"\" srcset=\"https:\/\/www.bansapam.ac.th\/sapam\/wp-content\/uploads\/2025\/07\/1.png 1476w, https:\/\/www.bansapam.ac.th\/sapam\/wp-content\/uploads\/2025\/07\/1-229x300.png 229w, https:\/\/www.bansapam.ac.th\/sapam\/wp-content\/uploads\/2025\/07\/1-783x1024.png 783w, https:\/\/www.bansapam.ac.th\/sapam\/wp-content\/uploads\/2025\/07\/1-768x1004.png 768w, https:\/\/www.bansapam.ac.th\/sapam\/wp-content\/uploads\/2025\/07\/1-1175x1536.png 1175w\" sizes=\"(max-width: 1476px) 100vw, 1476px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8546032 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8546032\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c0fcbae\" data-id=\"c0fcbae\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6a2898a elementor-widget elementor-widget-html\" data-id=\"6a2898a\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"grade-lookup\" class=\"sapam-lookup\" data-basedir=\"https:\/\/www.bansapam.ac.th\/sapam\/wp-content\/uploads\/2026\/04\/\">\n  <h2 style=\"margin:0 0 12px\">\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e1c\u0e25\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e19<\/h2>\n  <p style=\"margin:0 0 16px\">\u0e01\u0e23\u0e2d\u0e01\u0e40\u0e25\u0e02\u0e1b\u0e23\u0e30\u0e08\u0e33\u0e15\u0e31\u0e27\u0e19\u0e31\u0e01\u0e40\u0e23\u0e35\u0e22\u0e19 4 \u0e2b\u0e25\u0e31\u0e01 \u0e41\u0e25\u0e49\u0e27\u0e01\u0e14\u0e04\u0e49\u0e19\u0e2b\u0e32 \u0e23\u0e30\u0e1a\u0e1a\u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e1c\u0e25\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e19 (JPG\/PNG)<\/p>\n\n  <div style=\"display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px\">\n    <input id=\"studentId\" type=\"text\" placeholder=\"\u0e40\u0e0a\u0e48\u0e19 9999\" \n           style=\"padding:10px 12px;border:1px solid #ddd;border-radius:8px;min-width:180px\">\n    <button id=\"btnSearch\" type=\"button\" \n            style=\"padding:10px 14px;border:0;border-radius:8px;background:#1e40af;color:#fff;cursor:pointer\">\n      \u0e04\u0e49\u0e19\u0e2b\u0e32\n    <\/button>\n  <\/div>\n\n  <div id=\"msg\" style=\"margin:8px 0;color:#444;\"><\/div>\n  <div id=\"imgWrap\" style=\"margin-top:12px;display:none\">\n    <img decoding=\"async\" id=\"resultImg\" src=\"\" alt=\"\u0e1c\u0e25\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e19\" style=\"max-width:100%;height:auto;border:1px solid #eee;border-radius:8px\">\n    <div style=\"margin-top:8px\"><a id=\"downloadLink\" href=\"#\" target=\"_blank\" rel=\"noopener\">\u0e40\u0e1b\u0e34\u0e14\u0e20\u0e32\u0e1e\/\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14<\/a><\/div>\n  <\/div>\n<\/div>\n\n<script>\n(function(){\n  const root = document.getElementById('grade-lookup');\n  const baseDir = root.getAttribute('data-basedir').replace(\/\\\/+$\/,'') + '\/';\n  const input = document.getElementById('studentId');\n  const btn = document.getElementById('btnSearch');\n  const msg = document.getElementById('msg');\n  const imgWrap = document.getElementById('imgWrap');\n  const img = document.getElementById('resultImg');\n  const dl = document.getElementById('downloadLink');\n\n  \/\/ \u0e2d\u0e48\u0e32\u0e19\u0e08\u0e32\u0e01\u0e1e\u0e32\u0e23\u0e32\u0e21\u0e34\u0e40\u0e15\u0e2d\u0e23\u0e4c ?id=7356 \u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22\n  const urlParams = new URLSearchParams(window.location.search);\n  const prefill = (urlParams.get('id') || '').trim();\n  if (prefill) {\n    input.value = prefill;\n    lookup();\n  }\n\n  btn.addEventListener('click', lookup);\n  input.addEventListener('keydown', e => { if (e.key === 'Enter') lookup(); });\n\n  function lookup(){\n    const raw = (input.value || '').trim();\n    const id = raw.replace(\/\\s+\/g,''); \/\/ \u0e25\u0e1a\u0e0a\u0e48\u0e2d\u0e07\u0e27\u0e48\u0e32\u0e07\u0e40\u0e1c\u0e37\u0e48\u0e2d\u0e40\u0e14\u0e47\u0e01\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e1c\u0e34\u0e14\n    if(!id){ showMsg('\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e40\u0e25\u0e02\u0e1b\u0e23\u0e30\u0e08\u0e33\u0e15\u0e31\u0e27\u0e01\u0e48\u0e2d\u0e19', 'warn'); return; }\n\n    msg.textContent = '\u0e01\u0e33\u0e25\u0e31\u0e07\u0e04\u0e49\u0e19\u0e2b\u0e32\u2026';\n    imgWrap.style.display = 'none';\n    tryExtensionsSequentially(id, ['png','jpg','jpeg']).then(url=>{\n      img.src = url;\n      dl.href = url;\n      msg.textContent = '\u0e1e\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e25\u0e02\u0e1b\u0e23\u0e30\u0e08\u0e33\u0e15\u0e31\u0e27: ' + id;\n      imgWrap.style.display = 'block';\n    }).catch(()=>{\n      showMsg('\u0e44\u0e21\u0e48\u0e1e\u0e1a\u0e44\u0e1f\u0e25\u0e4c\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e25\u0e02\u0e1b\u0e23\u0e30\u0e08\u0e33\u0e15\u0e31\u0e27: ' + id + ' (\u0e25\u0e2d\u0e07\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07\u0e2b\u0e23\u0e37\u0e2d\u0e15\u0e34\u0e14\u0e15\u0e48\u0e2d\u0e04\u0e23\u0e39\u0e1c\u0e39\u0e49\u0e14\u0e39\u0e41\u0e25)', 'error');\n    });\n  }\n\n  function tryExtensionsSequentially(id, exts){\n    return new Promise((resolve, reject)=>{\n      let i = 0;\n      const tryNext = ()=>{\n        if(i >= exts.length) return reject();\n        const url = baseDir + id + '.' + exts[i++];\n        \/\/ \u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e21\u0e35\u0e44\u0e1f\u0e25\u0e4c\u0e08\u0e23\u0e34\u0e07\u0e42\u0e14\u0e22\u0e25\u0e2d\u0e07\u0e42\u0e2b\u0e25\u0e14\u0e20\u0e32\u0e1e (onload = \u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08, onerror = \u0e25\u0e2d\u0e07\u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25\u0e16\u0e31\u0e14\u0e44\u0e1b)\n        const testImg = new Image();\n        testImg.onload = ()=> resolve(url);\n        testImg.onerror = tryNext;\n        testImg.src = url + '?t=' + Date.now(); \/\/ \u0e01\u0e31\u0e19\u0e41\u0e04\u0e0a\n      };\n      tryNext();\n    });\n  }\n\n  function showMsg(text, type){\n    msg.textContent = text;\n    msg.style.color = (type==='error') ? '#b91c1c' : (type==='warn' ? '#92400e' : '#444');\n  }\n})();\n<\/script>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-465fd031 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"465fd031\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7ec5a776\" data-id=\"7ec5a776\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0e42\u0e23\u0e07\u0e40\u0e23\u0e35\u0e22\u0e19\u0e1a\u0e49\u0e32\u0e19\u0e2a\u0e30\u0e1b\u0e33 &#8220;\u0e21\u0e07\u0e04\u0e25\u0e27\u0e34\u0e17\u0e22\u0e32&#8221; \u0e23\u0e30\u0e1a\u0e1a\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e1c\u0e25\u0e01 [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_2126\" class=\"pvc_stats all  \" data-element-id=\"2126\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/www.bansapam.ac.th\/sapam\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.bansapam.ac.th\/sapam\/wp-json\/wp\/v2\/pages\/2126"}],"collection":[{"href":"https:\/\/www.bansapam.ac.th\/sapam\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bansapam.ac.th\/sapam\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bansapam.ac.th\/sapam\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bansapam.ac.th\/sapam\/wp-json\/wp\/v2\/comments?post=2126"}],"version-history":[{"count":28,"href":"https:\/\/www.bansapam.ac.th\/sapam\/wp-json\/wp\/v2\/pages\/2126\/revisions"}],"predecessor-version":[{"id":5359,"href":"https:\/\/www.bansapam.ac.th\/sapam\/wp-json\/wp\/v2\/pages\/2126\/revisions\/5359"}],"wp:attachment":[{"href":"https:\/\/www.bansapam.ac.th\/sapam\/wp-json\/wp\/v2\/media?parent=2126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}