{"id":26,"date":"2024-10-18T16:38:40","date_gmt":"2024-10-18T16:38:40","guid":{"rendered":"https:\/\/feeling.lv\/search-your-room\/"},"modified":"2024-10-18T16:38:52","modified_gmt":"2024-10-18T16:38:52","slug":"search-your-room","status":"publish","type":"page","link":"https:\/\/feeling.lv\/lv\/search-your-room\/","title":{"rendered":"SEARCH YOUR ROOM"},"content":{"rendered":"<div class=\"wrap plugin-container\">\n\n\t\n\t\n\t\t<div class=\"notice is-dismissible notice-warning\">\n\t\t\t\t\t<p>Your Pro version of Vik Booking was downgraded to the Free version after the update. Please visit the <a href=\"\/lv\/admin.php\/?page=vikbooking&view=getpro\">Go to Pro<\/a> page to restore your Pro settings and complete the update process.<\/p>\n\t\t\t\t<\/div>\n\t\t<div class=\"vbo-js-helpers\" style=\"display: none;\">\n\t\t<div class=\"vbo-add-element-html\">\n\t\t\t<div class=\"vbo-search-num-aduchild-entry\">\n\t\t\t\t<span class=\"vbo-search-roomnum\">Numurs %d<\/span>\n\t\t\t\t<div class=\"vbo-search-num-adults-entry\">\n\t\t\t\t\t<label class=\"vbo-search-num-adults-entry-label\">Pieaugu\u0161ie<\/label>\n\t\t\t\t\t<span class=\"vbo-search-num-adults-entry-inp\"><select name=\"adults[]\"><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><\/select><\/span>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"vbo-search-num-children-entry\">\n\t\t\t\t\t<label class=\"vbo-search-num-children-entry-label\">B\u0113rni<\/label>\n\t\t\t\t\t<span class=\"vbo-search-num-adults-entry-inp\"><select name=\"children[]\"><option value=\"0\">0<\/option><option value=\"1\">1<\/option><option value=\"2\">2<\/option><\/select><\/span>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\n\t<script type=\"text\/javascript\">\n\tfunction vbAddElement() {\n\t\tvar ni = document.getElementById('vbo-search-num-aduchild-block');\n\t\tvar numi = document.getElementById('vbroomhelper');\n\t\tvar num = (document.getElementById('vbroomhelper').value -1)+ 2;\n\t\tnumi.value = num;\n\t\tvar newdiv = document.createElement('div');\n\t\tvar divIdName = 'vb'+num+'racont';\n\t\tnewdiv.setAttribute('id', divIdName);\n\t\tvar new_element_html = document.getElementsByClassName('vbo-add-element-html')[0].innerHTML;\n\t\tvar rp_rgx = new RegExp('%d', 'g');\n\t\tnewdiv.innerHTML = new_element_html.replace(rp_rgx, num);\n\t\tni.appendChild(newdiv);\n\t}\n\tfunction vbSetRoomsAdults(totrooms) {\n\t\tvar actrooms = parseInt(document.getElementById('vbroomhelper').value);\n\t\tvar torooms = parseInt(totrooms);\n\t\tvar difrooms;\n\t\tif(torooms > actrooms) {\n\t\t\tdifrooms = torooms - actrooms;\n\t\t\tfor(var ir = 1; ir <= difrooms; ir++) {\n\t\t\t\tvbAddElement();\n\t\t\t}\n\t\t}\n\t\tif(torooms < actrooms) {\n\t\t\tfor(var ir = actrooms; ir > torooms; ir--) {\n\t\t\t\tif(ir > 1) {\n\t\t\t\t\tvar rmra = document.getElementById('vb' + ir + 'racont');\n\t\t\t\t\trmra.parentNode.removeChild(rmra);\n\t\t\t\t}\n\t\t\t}\n\t\t\tdocument.getElementById('vbroomhelper').value = torooms;\n\t\t}\n\t}\n\tfunction vbCalcNights() {\n\t\tvar vbcheckin = document.getElementById('checkindate').value;\n\t\tvar vbcheckout = document.getElementById('checkoutdate').value;\n\t\tif (vbcheckin.length > 0 && vbcheckout.length > 0) {\n\t\t\tvar vbcheckinp = vbcheckin.split(\"\/\");\n\t\t\tvar vbcheckoutp = vbcheckout.split(\"\/\");\n\t\t\t\t\tvar vbinmonth = parseInt(vbcheckinp[1]);\n\t\t\tvbinmonth = vbinmonth - 1;\n\t\t\tvar vbinday = parseInt(vbcheckinp[0], 10);\n\t\t\tvar vbcheckind = new Date(vbcheckinp[2], vbinmonth, vbinday);\n\t\t\tvar vboutmonth = parseInt(vbcheckoutp[1]);\n\t\t\tvboutmonth = vboutmonth - 1;\n\t\t\tvar vboutday = parseInt(vbcheckoutp[0], 10);\n\t\t\tvar vbcheckoutd = new Date(vbcheckoutp[2], vboutmonth, vboutday);\n\t\t\t\t\t\tvar vbdivider = 1000 * 60 * 60 * 24;\n\t\t\tvar vbints = vbcheckind.getTime();\n\t\t\tvar vboutts = vbcheckoutd.getTime();\n\t\t\tif(vboutts > vbints) {\n\t\t\t\t\/\/var vbnights = Math.ceil((vboutts - vbints) \/ (vbdivider));\n\t\t\t\tvar utc1 = Date.UTC(vbcheckind.getFullYear(), vbcheckind.getMonth(), vbcheckind.getDate());\n\t\t\t\tvar utc2 = Date.UTC(vbcheckoutd.getFullYear(), vbcheckoutd.getMonth(), vbcheckoutd.getDate());\n\t\t\t\tvar vbnights = Math.ceil((utc2 - utc1) \/ vbdivider);\n\t\t\t\tif(vbnights > 0) {\n\t\t\t\t\tdocument.getElementById('vbjstotnights').innerHTML = 'Nights: '+vbnights;\n\t\t\t\t} else {\n\t\t\t\t\tdocument.getElementById('vbjstotnights').innerHTML = '';\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdocument.getElementById('vbjstotnights').innerHTML = '';\n\t\t\t}\n\t\t} else {\n\t\t\tdocument.getElementById('vbjstotnights').innerHTML = '';\n\t\t}\n\t}\n\t<\/script>\n\t<input type=\"hidden\" id=\"vbroomhelper\" value=\"1\"\/>\n\t\t<div class=\"vbo-intro-main\"><\/div>\n\t<div class=\"vbdivsearch vbo-search-mainview\"><form action=\"https:\/\/feeling.lv\/lv\/search-your-room\/?option=com_vikbooking\" method=\"post\" data-trp-original-action=\"https:\/\/feeling.lv\/lv\/search-your-room\/?option=com_vikbooking\"><div class=\"vb-search-inner\">\n<input type=\"hidden\" name=\"option\" value=\"com_vikbooking\"\/>\n<input type=\"hidden\" name=\"task\" value=\"search\"\/>\n<div class=\"vbo-search-inpblock vbo-search-inpblock-checkin\"><label for=\"checkindate\">Check-in date<\/label><div class=\"input-group\"><input type=\"text\" name=\"checkindate\" id=\"checkindate\" size=\"10\" autocomplete=\"off\" onfocus=\"this.blur();\" readonly><i class=\"far fa-calendar-alt vbo-caltrigger\"><\/i><\/div><input type=\"hidden\" name=\"checkinh\" value=\"12\"\/><input type=\"hidden\" name=\"checkinm\" value=\"0\"\/><\/div>\n<div class=\"vbo-search-inpblock vbo-search-inpblock-checkout\"><label for=\"checkoutdate\">Check-out date<\/label><div class=\"input-group\"><input type=\"text\" name=\"checkoutdate\" id=\"checkoutdate\" size=\"10\" autocomplete=\"off\" onfocus=\"this.blur();\" readonly><i class=\"far fa-calendar-alt vbo-caltrigger\"><\/i><\/div><input type=\"hidden\" name=\"checkouth\" value=\"10\"\/><input type=\"hidden\" name=\"checkoutm\" value=\"0\"\/><\/div>\n<div class=\"vbo-search-num-racblock\">\n\t<div class=\"vbo-search-num-rooms\"><label for=\"vbo-roomsnum\">Numuri<\/label><select id=\"vbo-roomsnum\" name=\"roomsnum\" onchange=\"vbSetRoomsAdults(this.value);\">\n<option value=\"1\">1<\/option>\n<option value=\"2\">2<\/option>\n<option value=\"3\">3<\/option>\n<option value=\"4\">4<\/option>\n<option value=\"5\">5<\/option>\n<\/select>\n<\/div>\n\t<div class=\"vbo-search-num-aduchild-block\" id=\"vbo-search-num-aduchild-block\">\n\t\t<div class=\"vbo-search-num-aduchild-entry\"><span class=\"vbo-search-roomnum\">1. istaba<\/span>\n\t\t\t<div class=\"vbo-search-num-adults-entry\"><label class=\"vbo-search-num-adults-entry-label\">Pieaugu\u0161ie<\/label><span class=\"vbo-search-num-adults-entry-inp\"><select name=\"adults[]\"><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><\/select><\/span><\/div>\n\t\t<div class=\"vbo-search-num-children-entry\"><label class=\"vbo-search-num-children-entry-label\">B\u0113rni<\/label><span class=\"vbo-search-num-children-entry-inp\"><select name=\"children[]\"><option value=\"0\">0<\/option><option value=\"1\">1<\/option><option value=\"2\">2<\/option><\/select><\/span><\/div>\n\t\t<\/div>\n\t<\/div>\n\t<div id=\"vbjstotnights\"><\/div>\n<\/div>\n<div class=\"vbo-search-submit\"><button type=\"submit\" class=\"btn vbo-pref-color-btn\">Mekl\u0113t<\/button><\/div>\n<\/div>\n<input type=\"hidden\" name=\"trp-form-language\" value=\"lv\"\/><\/form><\/div>\t<div class=\"vbo-closing-main\"><\/div>\n\n\t<script type=\"text\/javascript\">\n\tjQuery(function() {\n\t\tjQuery('.vbo-search-submit').find('button[type=\"submit\"]').on('click', function(e) {\n\t\t\te.preventDefault();\n\t\t\tjQuery(this).prop('disabled', true);\n\t\t\tjQuery(this).html('<i class=\"fas fa-circle-notch fa-spin fa-fw\"><\/i> ' + jQuery(this).text());\n\t\t\tjQuery(this).closest('form').submit();\n\t\t});\n\t});\n\t<\/script>\n\n\t\n<\/div>","protected":false},"excerpt":{"rendered":"Your Pro version of Vik Booking was downgraded to the Free version after the update. Please visit the Go to Pro page to restore your Pro settings and complete the update process. Room %d Adults 1234 Children 012 Check-in date Check-out date Rooms 1 2 3 4 5 Room 1 Adults1234 Children012 Search","protected":false},"author":1,"featured_media":27,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/page-uppersidebar.php","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-26","page","type-page","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SEARCH YOUR ROOM - Feeling<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/feeling.lv\/lv\/search-your-room\/\" \/>\n<meta property=\"og:locale\" content=\"lv_LV\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SEARCH YOUR ROOM - Feeling\" \/>\n<meta property=\"og:url\" content=\"https:\/\/feeling.lv\/lv\/search-your-room\/\" \/>\n<meta property=\"og:site_name\" content=\"Feeling\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-18T16:38:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/feeling.lv\/wp-content\/uploads\/2024\/10\/plaza_aboutus.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/feeling.lv\/search-your-room\/\",\"url\":\"https:\/\/feeling.lv\/search-your-room\/\",\"name\":\"SEARCH YOUR ROOM - Feeling\",\"isPartOf\":{\"@id\":\"https:\/\/feeling.lv\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/feeling.lv\/search-your-room\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/feeling.lv\/search-your-room\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/feeling.lv\/wp-content\/uploads\/2024\/10\/plaza_aboutus.jpg\",\"datePublished\":\"2024-10-18T16:38:40+00:00\",\"dateModified\":\"2024-10-18T16:38:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/feeling.lv\/search-your-room\/#breadcrumb\"},\"inLanguage\":\"lv-LV\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/feeling.lv\/search-your-room\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"lv-LV\",\"@id\":\"https:\/\/feeling.lv\/search-your-room\/#primaryimage\",\"url\":\"https:\/\/feeling.lv\/wp-content\/uploads\/2024\/10\/plaza_aboutus.jpg\",\"contentUrl\":\"https:\/\/feeling.lv\/wp-content\/uploads\/2024\/10\/plaza_aboutus.jpg\",\"width\":1920,\"height\":1280},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/feeling.lv\/search-your-room\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/feeling.lv\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SEARCH YOUR ROOM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/feeling.lv\/#website\",\"url\":\"https:\/\/feeling.lv\/\",\"name\":\"Feeling\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/feeling.lv\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"lv-LV\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SEARCH YOUR ROOM - Feeling","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/feeling.lv\/lv\/search-your-room\/","og_locale":"lv_LV","og_type":"article","og_title":"SEARCH YOUR ROOM - Feeling","og_url":"https:\/\/feeling.lv\/lv\/search-your-room\/","og_site_name":"Feeling","article_modified_time":"2024-10-18T16:38:52+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/feeling.lv\/wp-content\/uploads\/2024\/10\/plaza_aboutus.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/feeling.lv\/search-your-room\/","url":"https:\/\/feeling.lv\/search-your-room\/","name":"SEARCH YOUR ROOM - Feeling","isPartOf":{"@id":"https:\/\/feeling.lv\/#website"},"primaryImageOfPage":{"@id":"https:\/\/feeling.lv\/search-your-room\/#primaryimage"},"image":{"@id":"https:\/\/feeling.lv\/search-your-room\/#primaryimage"},"thumbnailUrl":"https:\/\/feeling.lv\/wp-content\/uploads\/2024\/10\/plaza_aboutus.jpg","datePublished":"2024-10-18T16:38:40+00:00","dateModified":"2024-10-18T16:38:52+00:00","breadcrumb":{"@id":"https:\/\/feeling.lv\/search-your-room\/#breadcrumb"},"inLanguage":"lv-LV","potentialAction":[{"@type":"ReadAction","target":["https:\/\/feeling.lv\/search-your-room\/"]}]},{"@type":"ImageObject","inLanguage":"lv-LV","@id":"https:\/\/feeling.lv\/search-your-room\/#primaryimage","url":"https:\/\/feeling.lv\/wp-content\/uploads\/2024\/10\/plaza_aboutus.jpg","contentUrl":"https:\/\/feeling.lv\/wp-content\/uploads\/2024\/10\/plaza_aboutus.jpg","width":1920,"height":1280},{"@type":"BreadcrumbList","@id":"https:\/\/feeling.lv\/search-your-room\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/feeling.lv\/"},{"@type":"ListItem","position":2,"name":"SEARCH YOUR ROOM"}]},{"@type":"WebSite","@id":"https:\/\/feeling.lv\/#website","url":"https:\/\/feeling.lv\/","name":"Feeling","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/feeling.lv\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"lv-LV"}]}},"_links":{"self":[{"href":"https:\/\/feeling.lv\/lv\/wp-json\/wp\/v2\/pages\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/feeling.lv\/lv\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/feeling.lv\/lv\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/feeling.lv\/lv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feeling.lv\/lv\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":1,"href":"https:\/\/feeling.lv\/lv\/wp-json\/wp\/v2\/pages\/26\/revisions"}],"predecessor-version":[{"id":78,"href":"https:\/\/feeling.lv\/lv\/wp-json\/wp\/v2\/pages\/26\/revisions\/78"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/feeling.lv\/lv\/wp-json\/wp\/v2\/media\/27"}],"wp:attachment":[{"href":"https:\/\/feeling.lv\/lv\/wp-json\/wp\/v2\/media?parent=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}