{"id":536,"date":"2025-11-21T08:23:45","date_gmt":"2025-11-21T08:23:45","guid":{"rendered":"https:\/\/vavuniyanps2025.cendri.org\/?page_id=536"},"modified":"2025-11-25T09:57:59","modified_gmt":"2025-11-25T09:57:59","slug":"%e0%ae%9a%e0%ae%aa%e0%af%88%e0%ae%95%e0%af%8d%e0%ae%95%e0%af%82%e0%ae%9f%e0%af%8d%e0%ae%9f-%e0%ae%86%e0%ae%b5%e0%ae%a3%e0%ae%99%e0%af%8d%e0%ae%95%e0%ae%b3%e0%af%8d","status":"publish","type":"page","link":"https:\/\/vavuniyanps2025.cendri.org\/?page_id=536","title":{"rendered":"\u0b9a\u0baa\u0bc8\u0b95\u0bcd\u0b95\u0bc2\u0b9f\u0bcd\u0b9f \u0b86\u0bb5\u0ba3\u0b99\u0bcd\u0b95\u0bb3\u0bcd"},"content":{"rendered":"\n\n\n<h2>\u0b9a\u0baa\u0bc8\u0b95\u0bcd\u0b95\u0bc2\u0b9f\u0bcd\u0b9f \u0b86\u0bb5\u0ba3\u0b99\u0bcd\u0b95\u0bb3\u0bcd<\/h2>\n\n\n\n\n{&#8220;title&#8221;:&#8221;&#8221;,&#8221;content&#8221;:&#8221;<style>\\r\\n.year-box {\\r\\n    width: 300px;\\r\\n    margin: 20px auto;\\r\\n    padding: 15px;\\r\\n    border: 2px solid #2575fc;\\r\\n    border-radius: 10px;\\r\\n    text-align: center;\\r\\n    font-family: Arial, sans-serif;\\r\\n}\\r\\n\\r\\n.year-box select {\\r\\n    padding: 6px;\\r\\n    width: 120px;\\r\\n    font-size: 15px;\\r\\n    border-radius: 6px;\\r\\n    border: 1px solid #2575fc;\\r\\n}\\r\\n\\r\\n.month-grid {\\r\\n    display: grid;\\r\\n    grid-template-columns: repeat(3, 1fr);\\r\\n    gap: 8px;\\r\\n    margin-top: 15px;\\r\\n}\\r\\n\\r\\n.month-btn {\\r\\n    padding: 10px;\\r\\n    color: #fff;\\r\\n    border-radius: 6px;\\r\\n    text-align: center;\\r\\n    transition: 0.2s;\\r\\n    font-size: 14px;\\r\\n}\\r\\n\\r\\n\/* Active clickable month *\/\\r\\n.month-active {\\r\\n    background: #2575fc;\\r\\n    cursor: pointer;\\r\\n}\\r\\n.month-active:hover {\\r\\n    background: #1a5edb;\\r\\n}\\r\\n\\r\\n\/* Inactive month (no document) *\/\\r\\n.month-inactive {\\r\\n    background: #b5b5b5;\\r\\n    cursor: not-allowed;\\r\\n}\\r\\n<\/style>\\r\\n\\r\\n<div class=\\\"year-box\\\">\\r\\n    <h3>Select Year &#038; Month<\/h3>\\r\\n    <select id=\\\"yearSelect\\\" onchange=\\\"updateMonths()\\\">\\r\\n        <option>2022<\/option>\\r\\n        <option>2023<\/option>\\r\\n        <option>2024<\/option>\\r\\n        <option>2025<\/option>\\r\\n        <option>2026<\/option>\\r\\n    <\/select>\\r\\n\\r\\n    <div class=\\\"month-grid\\\">\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m01\\\" onclick=\\\"openPDF('01')\\\">January<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m02\\\" onclick=\\\"openPDF('02')\\\">February<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m03\\\" onclick=\\\"openPDF('03')\\\">March<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m04\\\" onclick=\\\"openPDF('04')\\\">April<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m05\\\" onclick=\\\"openPDF('05')\\\">May<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m06\\\" onclick=\\\"openPDF('06')\\\">June<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m07\\\" onclick=\\\"openPDF('07')\\\">July<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m08\\\" onclick=\\\"openPDF('08')\\\">August<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m09\\\" onclick=\\\"openPDF('09')\\\">September<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m10\\\" onclick=\\\"openPDF('10')\\\">October<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m11\\\" onclick=\\\"openPDF('11')\\\">November<\/div>\\r\\n        <div class=\\\"month-btn\\\" id=\\\"m12\\\" onclick=\\\"openPDF('12')\\\">December<\/div>\\r\\n    <\/div>\\r\\n<\/div>\\r\\n\\r\\n<script>\\r\\nlet pdfFiles = {\\r\\n    \\\"2022\\\": {\\r\\n        \\\"09\\\": \\\"https:\/\/drive.google.com\/file\/d\/1RVe-FvUrVzhiYM0tjYhxeGm8Pdl2Z-Qn\/preview\\\",\\r\\n        \\\"10\\\": \\\"https:\/\/drive.google.com\/file\/d\/1Dpd40pBtzhG2H9awCJ02duG55eL5WqDL\/preview\\\",\\r\\n        \\\"11\\\": \\\"https:\/\/drive.google.com\/file\/d\/1q3oNlG_Ck5TGreUu4xdz8f2MeVt3JyY2\/preview\\\",\\r\\n        \\\"12\\\": \\\"https:\/\/drive.google.com\/file\/d\/1QG-567oInxXef1lRJEwdMyt1gRpZhRHC\/preview\\\"\\r\\n    },\\r\\n    \\\"2023\\\": {\\r\\n        \\\"01\\\": \\\"https:\/\/drive.google.com\/file\/d\/1Rx1JEMaI0DFkrJDXHylsnqwRj6T8VLsq\/preview\\\"\\r\\n    },\\r\\n    \\\"2024\\\": {},\\r\\n    \\\"2025\\\": {\\r\\n        \\\"07\\\": \\\"https:\/\/drive.google.com\/file\/d\/1k_TZLnvjEvBV4VlB-9yK5Z8ZEpc73imx\/preview\\\",\\r\\n        \\\"08\\\": \\\"https:\/\/drive.google.com\/file\/d\/18od8N_GYdqXEmwRzxV4zaWByrtDTnaVN\/preview\\\"\\r\\n    },\\r\\n    \\\"2026\\\": {}\\r\\n};\\r\\n\\r\\n\/\/ Update button colors based on document availability\\r\\nfunction updateMonths() {\\r\\n    let year = document.getElementById(\\\"yearSelect\\\").value;\\r\\n\\r\\n    for (let m = 1; m <= 12; m++) {\\r\\n        let mm = String(m).padStart(2, \\\"0\\\");\\r\\n        let btn = document.getElementById(\\\"m\\\" + mm);\\r\\n\\r\\n        if (pdfFiles[year][mm]) {\\r\\n            btn.className = \\\"month-btn month-active\\\";\\r\\n        } else {\\r\\n            btn.className = \\\"month-btn month-inactive\\\";\\r\\n        }\\r\\n    }\\r\\n}\\r\\n\\r\\n\/\/ Open PDF only if exists\\r\\nfunction openPDF(month) {\\r\\n    let year = document.getElementById(\\\"yearSelect\\\").value;\\r\\n    let fileURL = pdfFiles[year][month];\\r\\n\\r\\n    if (fileURL) {\\r\\n        window.open(fileURL, \\\"_blank\\\");\\r\\n    }\\r\\n}\\r\\n\\r\\n\/\/ Run on first load\\r\\nupdateMonths();\\r\\n<\/script>\\r\\n\"}\n\n\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":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"webadmin","author_link":"https:\/\/vavuniyanps2025.cendri.org\/?author=1"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":null,"_links":{"self":[{"href":"https:\/\/vavuniyanps2025.cendri.org\/index.php?rest_route=\/wp\/v2\/pages\/536"}],"collection":[{"href":"https:\/\/vavuniyanps2025.cendri.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vavuniyanps2025.cendri.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vavuniyanps2025.cendri.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vavuniyanps2025.cendri.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=536"}],"version-history":[{"count":18,"href":"https:\/\/vavuniyanps2025.cendri.org\/index.php?rest_route=\/wp\/v2\/pages\/536\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/vavuniyanps2025.cendri.org\/index.php?rest_route=\/wp\/v2\/pages\/536\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/vavuniyanps2025.cendri.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}