{"id":6,"date":"2020-11-23T14:26:02","date_gmt":"2020-11-23T14:26:02","guid":{"rendered":"http:\/\/mesvaram.lv\/?page_id=6"},"modified":"2025-02-07T17:02:20","modified_gmt":"2025-02-07T17:02:20","slug":"the-new-umoma-opens-its-doors-2","status":"publish","type":"page","link":"https:\/\/mesvaram.lv\/","title":{"rendered":""},"content":{"rendered":"\n<!DOCTYPE HTML>\n<html >\n<head  >\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<style>\np {\n  text-align: center;\n  font-size: 55px;\n  margin-top: 0px;\ncolor: white;\nwidth: 100%;\n}\n<\/style>\n<\/head>\n<body style=\"background-color:black;text-align: left;\">\n<div style=\"text-align: center;\">\n<svg width=\"400\" height=\"200\" viewBox=\"0 0 400 200\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"mb-8\"><path d=\"M50 50 L50 150 L100 150\" stroke=\"white\" stroke-width=\"4\" fill=\"none\"><\/path><path d=\"M100 50 L100 180\" stroke=\"white\" stroke-width=\"4\" fill=\"none\"><\/path><path d=\"M250 50 L250 150 L300 150\" stroke=\"white\" stroke-width=\"4\" fill=\"none\"><\/path><path d=\"M300 50 L300 180\" stroke=\"white\" stroke-width=\"4\" fill=\"none\"><\/path><path d=\"M40 150 L110 150\" stroke=\"white\" stroke-width=\"4\" fill=\"none\"><\/path><path d=\"M240 150 L310 150\" stroke=\"white\" stroke-width=\"4\" fill=\"none\"><\/path><\/svg>\n<div>\n<p id=\"demo\"><\/p>\n\n<script>\n\/\/ Set the date we're counting down to\nvar countDownDate = new Date(\"Apr 25, 2025 12:00:00\").getTime();\n\n\/\/ Update the count down every 1 second\nvar x = setInterval(function() {\n\n  \/\/ Get today's date and time\n  var now = new Date().getTime();\n    \n  \/\/ Find the distance between now and the count down date\n  var distance = countDownDate - now;\n  \n  var totalMilliseconds = Math.floor(distance);\n  var milliseconds = totalMilliseconds % 1000;\n  var seconds = Math.floor(totalMilliseconds \/ 1000) % 60;\n  var minutes = Math.floor(totalMilliseconds \/ (1000 * 60)) % 60;\n  var hours = Math.floor(totalMilliseconds \/ (1000 * 60 * 60));\n   \/\/var totalMiliseconds = \n  \n  \/\/ Time calculations for days, hours, minutes and seconds\n \/\/ var days = Math.floor(distance \/ (1000 * 60 * 60 * 24));\n\/\/  var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) \/ (1000 * 60 * 60));\n\/\/\/  var minutes = Math.floor((distance % (1000 * 60 * 60)) \/ (1000 * 60));\n \/\/ var seconds = Math.floor((distance % (1000 * 60)) \/ 1000);\n \/\/ var miliseconds = distance % 1000\n    \n  \/\/ Output the result in an element with id=\"demo\"\n  document.getElementById(\"demo\").innerHTML = hours.toString().padStart(2, '0') + \":\"\n  + minutes.toString().padStart(2, '0') + \":\" + seconds.toString().padStart(2, '0') + \".\" + milliseconds.toString().padStart(3, '0') + \"          \";\n    \n  \/\/ If the count down is over, write some text \n  if (distance < 0) {\n    clearInterval(x);\n    document.getElementById(\"demo\").innerHTML = \"EXPIRED\";\n  }\n}, 10);\n<\/script>\n\n<\/body>\n<\/html>\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":{"footnotes":""},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mesvaram.lv\/index.php\/wp-json\/wp\/v2\/pages\/6"}],"collection":[{"href":"https:\/\/mesvaram.lv\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mesvaram.lv\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mesvaram.lv\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mesvaram.lv\/index.php\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":31,"href":"https:\/\/mesvaram.lv\/index.php\/wp-json\/wp\/v2\/pages\/6\/revisions"}],"predecessor-version":[{"id":501,"href":"https:\/\/mesvaram.lv\/index.php\/wp-json\/wp\/v2\/pages\/6\/revisions\/501"}],"wp:attachment":[{"href":"https:\/\/mesvaram.lv\/index.php\/wp-json\/wp\/v2\/media?parent=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}