{"id":178,"date":"2022-04-30T14:16:19","date_gmt":"2022-04-30T14:16:19","guid":{"rendered":"https:\/\/dietviasms.com\/members\/?page_id=178"},"modified":"2022-04-30T14:16:51","modified_gmt":"2022-04-30T14:16:51","slug":"notifications","status":"publish","type":"page","link":"https:\/\/dietviasms.com\/members\/notifications\/","title":{"rendered":"Notifications"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"178\" class=\"elementor elementor-178\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ed3f4cd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ed3f4cd\" 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-6b8497f\" data-id=\"6b8497f\" 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-9adff03 elementor-widget elementor-widget-html\" data-id=\"9adff03\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<script>\r\nfunction includeHTML() {\r\n  var z, i, elmnt, file, xhttp;\r\n  \/*loop through a collection of all HTML elements:*\/\r\n  z = document.getElementsByTagName(\"*\");\r\n  for (i = 0; i < z.length; i++) {\r\n    elmnt = z[i];\r\n    \/*search for elements with a certain atrribute:*\/\r\n    file = elmnt.getAttribute(\"w3-include-html\");\r\n    if (file) {\r\n      \/*make an HTTP request using the attribute value as the file name:*\/\r\n      xhttp = new XMLHttpRequest();\r\n      xhttp.onreadystatechange = function() {\r\n        if (this.readyState == 4) {\r\n          if (this.status == 200) {elmnt.innerHTML = this.responseText;}\r\n          if (this.status == 404) {elmnt.innerHTML = \"Page not found.\";}\r\n          \/*remove the attribute, and call this function once more:*\/\r\n          elmnt.removeAttribute(\"w3-include-html\");\r\n          includeHTML();\r\n        }\r\n      }      \r\n      xhttp.open(\"GET\", file, true);\r\n      xhttp.send();\r\n      \/*exit the function:*\/\r\n      return;\r\n    }\r\n  }\r\n};\r\n<\/script>\r\n\r\n<body>\r\n\r\n<div w3-include-html=\"https:\/\/dietviasms.com\/members\/script\/notifications.php\"><\/div> \r\n\r\n<script>\r\nincludeHTML();\r\n<\/script>\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\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-178","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/dietviasms.com\/members\/wp-json\/wp\/v2\/pages\/178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dietviasms.com\/members\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dietviasms.com\/members\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dietviasms.com\/members\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dietviasms.com\/members\/wp-json\/wp\/v2\/comments?post=178"}],"version-history":[{"count":4,"href":"https:\/\/dietviasms.com\/members\/wp-json\/wp\/v2\/pages\/178\/revisions"}],"predecessor-version":[{"id":182,"href":"https:\/\/dietviasms.com\/members\/wp-json\/wp\/v2\/pages\/178\/revisions\/182"}],"wp:attachment":[{"href":"https:\/\/dietviasms.com\/members\/wp-json\/wp\/v2\/media?parent=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}