{"id":2663,"date":"2026-06-05T13:37:33","date_gmt":"2026-06-05T06:37:33","guid":{"rendered":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/?page_id=2663"},"modified":"2026-06-13T17:38:24","modified_gmt":"2026-06-13T10:38:24","slug":"%e0%b8%9c%e0%b8%a5%e0%b8%87%e0%b8%b2%e0%b8%99%e0%b8%9e%e0%b8%a3%e0%b8%b0","status":"publish","type":"page","link":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/?page_id=2663","title":{"rendered":""},"content":{"rendered":"\n<div style=\"position:relative;background:#FAEEDA;border:1.5px solid #EF9F27;border-radius:16px;padding:0 32px;margin-bottom:24px;overflow:hidden;height:110px;display:flex;align-items:center;justify-content:center;\">\n  <div style=\"position:absolute;left:0;top:0;bottom:0;width:14px;background:#BA7517;border-radius:16px 0 0 16px;\"><\/div>\n  <div style=\"font-size:36px;font-weight:700;color:#633806;letter-spacing:3px;text-align:center;\">\u0e1c\u0e25\u0e07\u0e32\u0e19\u0e1e\u0e23\u0e30\u0e2a\u0e07\u0e06\u0e4c<\/div>\n  <svg style=\"position:absolute;right:24px;top:50%;transform:translateY(-50%);pointer-events:none;\" width=\"80\" height=\"90\" viewBox=\"0 0 80 90\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" aria-hidden=\"true\">\n    <circle cx=\"30\" cy=\"22\" r=\"22\" fill=\"#EF9F27\" fill-opacity=\"0.2\"><\/circle>\n    <circle cx=\"30\" cy=\"22\" r=\"14\" fill=\"#EF9F27\" fill-opacity=\"0.25\"><\/circle>\n    <circle cx=\"30\" cy=\"22\" r=\"6\" fill=\"#BA7517\" fill-opacity=\"0.5\"><\/circle>\n    <circle cx=\"62\" cy=\"58\" r=\"12\" fill=\"#EF9F27\" fill-opacity=\"0.18\"><\/circle>\n    <circle cx=\"62\" cy=\"58\" r=\"5\" fill=\"#BA7517\" fill-opacity=\"0.3\"><\/circle>\n    <circle cx=\"18\" cy=\"76\" r=\"6\" fill=\"#EF9F27\" fill-opacity=\"0.2\"><\/circle>\n  <\/svg>\n<\/div>\n\n\n\n<link href=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.3.0\/dist\/css\/bootstrap.min.css\" rel=\"stylesheet\">\n<link href=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap-icons@1.11.0\/font\/bootstrap-icons.css\" rel=\"stylesheet\">\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Sarabun:wght@300;400;500;600;700&#038;display=swap\" rel=\"stylesheet\">\n\n<style>\n#mw-wrap * { font-family: 'Sarabun', sans-serif; box-sizing: border-box; }\n#mw-wrap { background: #F9F6EE; padding: 16px; border-radius: 12px; }\n.mw-btn-gold { background: linear-gradient(135deg,#C9A84C,#D46A1A); color: #fff; border: none; font-weight: 600; padding: 8px 16px; border-radius: 8px; cursor: pointer; }\n.mw-btn-gold:hover { background: linear-gradient(135deg,#D46A1A,#C9A84C); }\n.mw-card { border: 1px solid rgba(201,168,76,0.2); border-radius: 12px; box-shadow: 0 4px 15px rgba(59,42,20,0.08); background: #fff; cursor: pointer; transition: all 0.3s; height: 100%; display: flex; flex-direction: column; }\n.mw-card:hover { transform: translateY(-5px); border-color: #C9A84C; box-shadow: 0 10px 28px rgba(201,168,76,0.18); }\n.mw-card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 11px 11px 0 0; }\n.mw-card-placeholder { height: 120px; background: linear-gradient(135deg,rgba(201,168,76,0.08),rgba(201,168,76,0.15)); border-radius: 11px 11px 0 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(201,168,76,0.35); }\n.mw-card-body { padding: 12px 14px; flex: 1; }\n.mw-card-footer { padding: 8px 14px; background: rgba(201,168,76,0.06); border-top: 1px solid rgba(201,168,76,0.15); border-radius: 0 0 12px 12px; display: flex; align-items: center; gap: 8px; }\n.mw-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1.5px solid #C9A84C; flex-shrink: 0; }\n.mw-filter-card { background: #fff; border: 1px solid rgba(201,168,76,0.2); border-radius: 12px; padding: 16px; margin-bottom: 20px; }\n.mw-input { border: 1px solid rgba(201,168,76,0.3); border-radius: 8px; padding: 8px 12px; font-family: 'Sarabun', sans-serif; font-size: 15px; width: 100%; }\n.mw-input:focus { outline: none; border-color: #C9A84C; }\n.mw-select { border: 1px solid rgba(201,168,76,0.3); border-radius: 8px; padding: 8px 12px; font-family: 'Sarabun', sans-serif; font-size: 15px; width: 100%; background: #fff; }\n.mw-page-btn { border: 1px solid rgba(201,168,76,0.3); background: #fff; border-radius: 6px; padding: 4px 10px; cursor: pointer; font-family: 'Sarabun', sans-serif; }\n.mw-page-btn.active { background: #C9A84C; border-color: #C9A84C; color: #3B2A14; font-weight: 700; }\n.mw-page-btn:disabled { opacity: 0.4; cursor: default; }\n\n\/* Modal *\/\n.mw-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 99999; align-items: center; justify-content: center; padding: 16px; }\n.mw-overlay.show { display: flex; }\n.mw-modal { background: #fff; border-radius: 16px; max-width: 680px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }\n.mw-modal-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 16px 16px 0 0; }\n.mw-modal-body { padding: 20px 24px 24px; }\n.mw-close { position: absolute; top: 12px; right: 14px; background: rgba(0,0,0,0.45); color: #fff; border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }\n<\/style>\n\n<div id=\"mw-wrap\">\n  <!-- COUNT -->\n  <div id=\"mw-count\" style=\"color:#6B5A2A;font-size:0.9rem;margin-bottom:12px;\"><\/div>\n\n  <!-- FILTER -->\n  <div class=\"mw-filter-card\">\n    <div style=\"display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;\">\n      <div style=\"flex:2;min-width:200px;\">\n        <div style=\"font-size:13px;font-weight:600;color:#6B4C2A;margin-bottom:4px;\">\u0e04\u0e49\u0e19\u0e2b\u0e32<\/div>\n        <div style=\"display:flex;align-items:center;border:1px solid rgba(201,168,76,0.3);border-radius:8px;overflow:hidden;\">\n          <span style=\"padding:0 10px;color:#C9A84C;\"><i class=\"bi bi-search\"><\/i><\/span>\n          <input type=\"text\" id=\"mw-search\" class=\"mw-input\" style=\"border:none;border-radius:0;\" placeholder=\"\u0e0a\u0e37\u0e48\u0e2d\u0e1c\u0e25\u0e07\u0e32\u0e19, \u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14, \u0e1e\u0e23\u0e30\u0e2a\u0e07\u0e06\u0e4c...\">\n        <\/div>\n      <\/div>\n      <div style=\"flex:1;min-width:160px;\">\n        <div style=\"font-size:13px;font-weight:600;color:#6B4C2A;margin-bottom:4px;\">\u0e1e\u0e23\u0e30\u0e2a\u0e07\u0e06\u0e4c<\/div>\n        <select id=\"mw-monk\" class=\"mw-select\"><option value=\"0\">&#8212; \u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14 &#8212;<\/option><\/select>\n      <\/div>\n      <div>\n        <button class=\"mw-btn-gold\" onclick=\"doSearch()\"><i class=\"bi bi-search\"><\/i> \u0e04\u0e49\u0e19\u0e2b\u0e32<\/button>\n      <\/div>\n    <\/div>\n    <div id=\"mw-clear-bar\" style=\"display:none;margin-top:10px;\">\n      <button onclick=\"clearFilter()\" style=\"border:1px solid #ccc;background:#fff;border-radius:6px;padding:4px 10px;cursor:pointer;font-family:'Sarabun',sans-serif;font-size:13px;\">\n        <i class=\"bi bi-x-circle\"><\/i> \u0e25\u0e49\u0e32\u0e07\u0e15\u0e31\u0e27\u0e01\u0e23\u0e2d\u0e07\n      <\/button>\n      <span id=\"mw-found\" style=\"font-size:13px;color:#888;margin-left:8px;\"><\/span>\n    <\/div>\n  <\/div>\n\n  <!-- GRID -->\n  <div id=\"mw-grid\" style=\"display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;\"><\/div>\n\n  <!-- EMPTY -->\n  <div id=\"mw-empty\" style=\"display:none;text-align:center;padding:48px 0;\">\n    <i class=\"bi bi-inbox\" style=\"font-size:3.5rem;color:rgba(201,168,76,0.3);display:block;margin-bottom:12px;\"><\/i>\n    <p style=\"color:#999;\">\u0e44\u0e21\u0e48\u0e1e\u0e1a\u0e1c\u0e25\u0e07\u0e32\u0e19\u0e1e\u0e23\u0e30\u0e2a\u0e07\u0e06\u0e4c<\/p>\n  <\/div>\n\n  <!-- PAGINATION -->\n  <div id=\"mw-pager\" style=\"display:flex;justify-content:center;gap:6px;margin-top:24px;flex-wrap:wrap;\"><\/div>\n<\/div>\n\n<!-- MODAL -->\n<div class=\"mw-overlay\" id=\"mw-overlay\" onclick=\"if(event.target===this)closeModal()\">\n  <div class=\"mw-modal\">\n    <button class=\"mw-close\" onclick=\"closeModal()\"><i class=\"bi bi-x\"><\/i><\/button>\n    <img decoding=\"async\" id=\"mw-modal-img\" src=\"\" class=\"mw-modal-img\" style=\"display:none;\">\n    <div class=\"mw-modal-body\">\n      <h5 id=\"mw-modal-name\" style=\"color:#3B2A14;font-weight:700;margin-bottom:12px;\"><\/h5>\n      <div style=\"display:flex;align-items:center;gap:10px;margin-bottom:12px;\">\n        <img decoding=\"async\" id=\"mw-modal-avatar\" src=\"\" class=\"mw-avatar\" style=\"width:40px;height:40px;\">\n        <div>\n          <div id=\"mw-modal-monk\" style=\"font-size:0.88rem;font-weight:600;color:#6B4C2A;\"><\/div>\n          <div id=\"mw-modal-date\" style=\"font-size:0.75rem;color:#aaa;\"><\/div>\n        <\/div>\n      <\/div>\n      <hr style=\"border-color:rgba(201,168,76,0.2);\">\n      <p id=\"mw-modal-detail\" style=\"color:#444;line-height:1.9;white-space:pre-wrap;margin:0;\"><\/p>\n    <\/div>\n  <\/div>\n<\/div>\n\n<script>\nconst API = 'https:\/\/xn--l3ck1arq4b5aw7p.com\/vs\/monk_work_api.php';\nlet curPage = 1, curSearch = '', curMonk = 0;\n\nasync function load(page, search, monk) {\n  const params = new URLSearchParams({ page, search, monk });\n  const res = await fetch(API + '?' + params);\n  const data = await res.json();\n\n  \/\/ monks dropdown (first load)\n  if (document.getElementById('mw-monk').options.length === 1 && data.monks.length) {\n    data.monks.forEach(m => {\n      const o = document.createElement('option');\n      o.value = m.M_ID; o.textContent = m.M_Name;\n      document.getElementById('mw-monk').appendChild(o);\n    });\n  }\n\n  \/\/ count\n  document.getElementById('mw-count').innerHTML =\n    `<i class=\"bi bi-award\" style=\"color:#C9A84C;\"><\/i> \u0e1c\u0e25\u0e07\u0e32\u0e19\u0e1e\u0e23\u0e30\u0e2a\u0e07\u0e06\u0e4c\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14 <strong style=\"color:#B8860B;\">${data.total}<\/strong> \u0e1c\u0e25\u0e07\u0e32\u0e19`;\n\n  \/\/ clear bar\n  if (search || monk > 0) {\n    document.getElementById('mw-clear-bar').style.display = 'block';\n    document.getElementById('mw-found').textContent = `\u0e1e\u0e1a ${data.total} \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23`;\n  } else {\n    document.getElementById('mw-clear-bar').style.display = 'none';\n  }\n\n  \/\/ grid\n  const grid = document.getElementById('mw-grid');\n  const empty = document.getElementById('mw-empty');\n  grid.innerHTML = '';\n  if (!data.works.length) { empty.style.display = 'block'; return; }\n  empty.style.display = 'none';\n\n  data.works.forEach(w => {\n    const col = document.createElement('div');\n    col.innerHTML = `\n      <div class=\"mw-card\" onclick='openModal(${JSON.stringify(w)})'>\n        ${w.img\n          ? `<img decoding=\"async\" src=\"${w.img}\" class=\"mw-card-img\" onerror=\"this.style.display='none';this.nextElementSibling.style.display='flex';\">\n             <div class=\"mw-card-placeholder\" style=\"display:none;\"><i class=\"bi bi-award\"><\/i><\/div>`\n          : `<div class=\"mw-card-placeholder\"><i class=\"bi bi-award\"><\/i><\/div>`}\n        <div class=\"mw-card-body\">\n          <div style=\"font-size:15px;font-weight:700;color:#3B2A14;line-height:1.45;margin-bottom:6px;\">${w.name}<\/div>\n          ${w.detail ? `<div style=\"font-size:13px;color:#777;line-height:1.6;\">${w.detail.substring(0,90)}${w.detail.length>90?'...':''}<\/div>` : ''}\n        <\/div>\n        <div class=\"mw-card-footer\">\n          <img decoding=\"async\" src=\"${w.monk.avatar}\" class=\"mw-avatar\"\n               onerror=\"this.src='https:\/\/ui-avatars.com\/api\/?name=${encodeURIComponent(w.monk.name)}&#038;background=C9A84C&#038;color=3B2A14&#038;size=32'\">\n          <div style=\"flex:1;min-width:0;\">\n            <div style=\"font-size:12px;font-weight:600;color:#6B4C2A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;\">${w.monk.name}<\/div>\n            <div style=\"font-size:11px;color:#aaa;\"><i class=\"bi bi-calendar3\"><\/i> ${w.date || '-'}<\/div>\n          <\/div>\n          <i class=\"bi bi-chevron-right\" style=\"color:rgba(201,168,76,0.5);\"><\/i>\n        <\/div>\n      <\/div>`;\n    grid.appendChild(col);\n  });\n\n  \/\/ pager\n  const pager = document.getElementById('mw-pager');\n  pager.innerHTML = '';\n  if (data.totalPages > 1) {\n    const prev = document.createElement('button');\n    prev.className = 'mw-page-btn'; prev.textContent = '\u2039';\n    prev.disabled = page <= 1;\n    prev.onclick = () => go(page - 1);\n    pager.appendChild(prev);\n    for (let p = 1; p <= data.totalPages; p++) {\n      const btn = document.createElement('button');\n      btn.className = 'mw-page-btn' + (p === page ? ' active' : '');\n      btn.textContent = p;\n      btn.onclick = (pp => () => go(pp))(p);\n      pager.appendChild(btn);\n    }\n    const next = document.createElement('button');\n    next.className = 'mw-page-btn'; next.textContent = '\u203a';\n    next.disabled = page >= data.totalPages;\n    next.onclick = () => go(page + 1);\n    pager.appendChild(next);\n  }\n}\n\nfunction go(p) { curPage = p; load(curPage, curSearch, curMonk); }\nfunction doSearch() {\n  curSearch = document.getElementById('mw-search').value.trim();\n  curMonk   = parseInt(document.getElementById('mw-monk').value) || 0;\n  curPage   = 1;\n  load(curPage, curSearch, curMonk);\n}\nfunction clearFilter() {\n  document.getElementById('mw-search').value = '';\n  document.getElementById('mw-monk').value = '0';\n  curSearch = ''; curMonk = 0; curPage = 1;\n  load(1, '', 0);\n}\nfunction openModal(w) {\n  document.getElementById('mw-modal-name').textContent   = w.name;\n  document.getElementById('mw-modal-monk').textContent   = w.monk.name;\n  document.getElementById('mw-modal-date').textContent   = w.date || '-';\n  document.getElementById('mw-modal-detail').textContent = w.detail || '';\n  document.getElementById('mw-modal-avatar').src         = w.monk.avatar;\n  const img = document.getElementById('mw-modal-img');\n  if (w.img) { img.src = w.img; img.style.display = 'block'; }\n  else { img.style.display = 'none'; }\n  document.getElementById('mw-overlay').classList.add('show');\n}\nfunction closeModal() { document.getElementById('mw-overlay').classList.remove('show'); }\n\nload(1, '', 0);\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u0e1c\u0e25\u0e07\u0e32\u0e19\u0e1e\u0e23\u0e30\u0e2a\u0e07\u0e06\u0e4c \u0e04\u0e49\u0e19\u0e2b\u0e32 \u0e1e\u0e23\u0e30\u0e2a\u0e07\u0e06\u0e4c &#8212; \u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14 &#8212; \u0e04\u0e49\u0e19\u0e2b\u0e32 \u0e25\u0e49\u0e32\u0e07\u0e15\u0e31\u0e27\u0e01\u0e23\u0e2d\u0e07 \u0e44\u0e21\u0e48\u0e1e\u0e1a\u0e1c\u0e25\u0e07\u0e32\u0e19\u0e1e\u0e23\u0e30\u0e2a\u0e07\u0e06\u0e4c<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-2663","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/index.php?rest_route=\/wp\/v2\/pages\/2663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2663"}],"version-history":[{"count":8,"href":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/index.php?rest_route=\/wp\/v2\/pages\/2663\/revisions"}],"predecessor-version":[{"id":2732,"href":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/index.php?rest_route=\/wp\/v2\/pages\/2663\/revisions\/2732"}],"wp:attachment":[{"href":"https:\/\/\u0e27\u0e31\u0e14\u0e2a\u0e38\u0e19\u0e35\u0e22\u0e4c.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}