{"id":13323,"date":"2024-08-07T11:20:12","date_gmt":"2024-08-07T11:20:12","guid":{"rendered":"https:\/\/storesat.org\/windows\/"},"modified":"2025-02-15T01:06:55","modified_gmt":"2025-02-15T01:06:55","slug":"windows","status":"publish","type":"page","link":"https:\/\/storesat.org\/en\/windows\/","title":{"rendered":"Windows"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"13323\" class=\"elementor elementor-13323 elementor-3242\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"wd-negative-gap elementor-element elementor-element-445424d e-flex e-con-boxed e-con e-parent\" data-id=\"445424d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a2955c6 elementor-widget elementor-widget-html\" data-id=\"a2955c6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t \t<link rel=\"stylesheet\" href=\"https:\/\/storesat.org\/wp-content\/app-style\/app-style.css\">\n\n <div class=\"search-bar\">\n        <input id=\"search-input\" type=\"text\" placeholder=\"Find an app...\" oninput=\"searchApps()\">\n    <\/div>\n\n    <div id=\"app-store\" class=\"app-store-container\">\n        <div class=\"app-grid\" id=\"app-grid\">\n            <!-- \u0633\u064a\u062a\u0645 \u0625\u0636\u0627\u0641\u0629 \u0628\u0637\u0627\u0642\u0627\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0647\u0646\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 JavaScript -->\n        <\/div>\n    <\/div>\n\n<script>\n    document.addEventListener('DOMContentLoaded', function() {\n        fetch('https:\/\/storesat.org\/app\/windows\/get_apps.php')\n            .then(response => response.json())\n            .then(data => {\n                const appGrid = document.getElementById('app-grid');\n                if (data.length > 0) {\n                    data.forEach(app => {\n                        const appCard = document.createElement('div');\n                        appCard.className = 'app-card';\n\n                        const appIcon = document.createElement('div');\n                        appIcon.className = 'app-icon';\n                        appIcon.innerHTML = `<img decoding=\"async\" src=\"${app.icon_url}\" alt=\"Icon of ${app.name}\">`;\n\n                        const appDetails = document.createElement('div');\n                        appDetails.className = 'app-details';\n                        appDetails.innerHTML = ` \n                            <h2>${app.name}<\/h2>\n                            <p><i class=\"fas fa-bolt\"><\/i> ${app.version}<\/p>\n                            <p><i class=\"fab fa-android\"><\/i> ${app.type}<\/p>\n<div class=\"app-buttons\">\n    ${app.direct_download_link ? `\n        <a href=\"${app.direct_download_link}\" class=\"btn\">\n            <img decoding=\"async\" src=\"https:\/\/cdn-icons-png.freepik.com\/512\/8242\/8242994.png\" alt=\"exe Icon\">\nDirect Link\n<\/a>` : ''}\n    ${app.windows_store_link ? `\n        <a href=\"${app.windows_store_link}\" class=\"btn btn-google-play\">\n            <img decoding=\"async\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/0\/05\/Microsoft_Store_Fluent_Design_icon_%282%29.png\" alt=\"Microsoft Store\">\n            Microsoft Store\n        <\/a>` : ''}\n<\/div>\n${(!app.windows_store_link || app.windows_store_link === \"\") ? `\n    <div class=\"unavailable-text\">\n        <img decoding=\"async\" src=\"https:\/\/cdn-icons-png.flaticon.com\/512\/16629\/16629114.png\" alt=\"Unavailable Icon\">\nNot Available on the Store<\/div>\n` : ''}\n                        `;\n                        \n                        \n                        \n\n                        appCard.appendChild(appIcon);\n                        appCard.appendChild(appDetails);\n                        appGrid.appendChild(appCard);\n                    });\n                } else {\n                    appGrid.innerHTML = 'No Apps to Display';\n                }\n            })\n            .catch(error => console.error('Error fetching data:', error));\n    });\n\n    function searchApps() {\n        const searchQuery = document.getElementById('search-input').value.toLowerCase();\n        const appCards = document.querySelectorAll('.app-card');\n\n        appCards.forEach(card => {\n            const appName = card.querySelector('.app-details h2').innerText.toLowerCase();\n            card.style.display = appName.includes(searchQuery) ? 'block' : 'none';\n        });\n    }\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-13323","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/storesat.org\/en\/wp-json\/wp\/v2\/pages\/13323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/storesat.org\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/storesat.org\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/storesat.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/storesat.org\/en\/wp-json\/wp\/v2\/comments?post=13323"}],"version-history":[{"count":0,"href":"https:\/\/storesat.org\/en\/wp-json\/wp\/v2\/pages\/13323\/revisions"}],"wp:attachment":[{"href":"https:\/\/storesat.org\/en\/wp-json\/wp\/v2\/media?parent=13323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}