{"id":23,"date":"2023-09-09T22:16:20","date_gmt":"2023-09-09T21:16:20","guid":{"rendered":"https:\/\/ecoingrow.net\/?page_id=23"},"modified":"2023-09-21T15:49:34","modified_gmt":"2023-09-21T14:49:34","slug":"home","status":"publish","type":"page","link":"https:\/\/ecoingrow.net\/","title":{"rendered":"Home"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"23\" class=\"elementor elementor-23\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e253535 elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"e253535\" 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-98b0090\" data-id=\"98b0090\" 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-ce4d3f1 elementor-widget elementor-widget-heading\" data-id=\"ce4d3f1\" 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 - 20-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><h2 class=\"elementor-heading-title elementor-size-default\">eCoinGrow Dashboard<\/h2>\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-b1088eb elementor-section-full_width elementor-section-stretched elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"b1088eb\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;}\">\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-16 elementor-top-column elementor-element elementor-element-0efed29\" data-id=\"0efed29\" 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-d301364 e-transform elementor-widget elementor-widget-shortcode\" data-id=\"d301364\" data-element_type=\"widget\" data-settings=\"{&quot;_transform_scale_effect&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_scale_effect_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;_transform_scale_effect_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-shortcode\">Please log in to view your eCoins balance.<\/div>\n\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<div class=\"elementor-column elementor-col-66 elementor-top-column elementor-element elementor-element-2e217f5\" data-id=\"2e217f5\" 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-8f47c43 elementor-widget elementor-widget-shortcode\" data-id=\"8f47c43\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-shortcode\"><div class=\"crop-grid\"><div class=\"crop-item\"><h2>Ban#282<\/h2><p>ID: 282<\/p><p>Date Planted: 01\/11\/2023<\/p><div class=\"progress-container\" data-planted-date=\"01\/11\/2023\"><div class=\"progress-bar\" style=\"width:0%\"><\/div><\/div><\/div><div class=\"crop-item\"><h2>Ban#257<\/h2><p>ID: 257<\/p><p>Date Planted: 30\/10\/2023<\/p><div class=\"progress-container\" data-planted-date=\"30\/10\/2023\"><div class=\"progress-bar\" style=\"width:0%\"><\/div><\/div><\/div><div class=\"crop-item\"><h2>Yuc#253<\/h2><p>ID: 253<\/p><p>Date Planted: 30\/10\/2023<\/p><div class=\"progress-container\" data-planted-date=\"30\/10\/2023\"><div class=\"progress-bar\" style=\"width:0%\"><\/div><\/div><\/div><div class=\"crop-item\"><h2>Ban#245<\/h2><p>ID: 245<\/p><p>Date Planted: 29\/10\/2023<\/p><div class=\"progress-container\" data-planted-date=\"29\/10\/2023\"><div class=\"progress-bar\" style=\"width:0%\"><\/div><\/div><\/div><div class=\"crop-item\"><h2>Cac#241<\/h2><p>ID: 241<\/p><p>Date Planted: 16\/10\/2023<\/p><div class=\"progress-container\" data-planted-date=\"16\/10\/2023\"><div class=\"progress-bar\" style=\"width:0%\"><\/div><\/div><\/div><\/div><script>\n    function updateProgressBar() {\n        const now = new Date();\n        document.querySelectorAll(\".progress-container\").forEach(container => {\n            const plantedDateStr = container.getAttribute(\"data-planted-date\"); \/\/ Modified this line\n            \n            \/\/ Convert \"21\/09\/2023\" to \"2023-09-21\"\n            const reformattedDateStr = plantedDateStr.split(\"\/\").reverse().join(\"-\");\n            const plantedDate = new Date(reformattedDateStr);\n            \n            const elapsedTime = now - plantedDate;\n            const totalDuration = 7 * 24 * 60 * 60 * 1000; \/\/ 24 hours in milliseconds (7 days)\n            \n            let growthPercent = (elapsedTime \/ totalDuration) * 100;\n            if (growthPercent > 100) growthPercent = 100;\n            \n            const progressBar = container.querySelector(\".progress-bar\");\n            progressBar.style.width = `${growthPercent}%`;\n        });\n    }\n    updateProgressBar();\n    setInterval(updateProgressBar, 100000); \/\/ Update every second\n<\/script><\/div>\n\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<div class=\"elementor-column elementor-col-16 elementor-top-column elementor-element elementor-element-2cbc8fd\" data-id=\"2cbc8fd\" 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<div class='real-crop-data'><p><strong>Current Points:<\/strong> 7123<\/p><p><strong>Date Planted:<\/strong> 16\/10\/2023<\/p><p><strong>GPS Coordinates:<\/strong><\/p><\/div><div class='real-crop-data'><p><strong>Sunlight Resistance<\/strong><\/p><div class='progress'><div class='progress-bar' style='width:40%'>4<\/div><\/div><p><strong>Drought Resistance<\/strong><\/p><div class='progress'><div class='progress-bar' style='width:60%'>6<\/div><\/div><p><strong>Flood Resistance<\/strong><\/p><div class='progress'><div class='progress-bar' style='width:90%'>9<\/div><\/div><p><strong>Wind Resistance<\/strong><\/p><div class='progress'><div class='progress-bar' style='width:30%'>3<\/div><\/div><\/div><div class='real-crop-data'><p><strong>Health Index:<\/strong> <\/p><\/div><div class='real-crop-data'><p><strong>Height:<\/strong> <\/p><p><strong>Height Change:<\/strong><\/p><\/div><div class='real-crop-data'><p><strong>3D Scan:<\/strong> <\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>eCoinGrow Dashboard Current Points: 7123 Date Planted: 16\/10\/2023 GPS Coordinates: Sunlight Resistance 4 Drought Resistance 6 Flood Resistance 9 Wind Resistance 3 Health Index: Height: Height Change: 3D Scan:<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ecoingrow.net\/index.php\/wp-json\/wp\/v2\/pages\/23"}],"collection":[{"href":"https:\/\/ecoingrow.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ecoingrow.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ecoingrow.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ecoingrow.net\/index.php\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":46,"href":"https:\/\/ecoingrow.net\/index.php\/wp-json\/wp\/v2\/pages\/23\/revisions"}],"predecessor-version":[{"id":177,"href":"https:\/\/ecoingrow.net\/index.php\/wp-json\/wp\/v2\/pages\/23\/revisions\/177"}],"wp:attachment":[{"href":"https:\/\/ecoingrow.net\/index.php\/wp-json\/wp\/v2\/media?parent=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}