{"id":19,"date":"2023-09-07T16:16:52","date_gmt":"2023-09-07T14:16:52","guid":{"rendered":"https:\/\/leandrianelle.it\/search-your-room\/"},"modified":"2023-09-07T16:17:00","modified_gmt":"2023-09-07T14:17:00","slug":"search-your-room","status":"publish","type":"page","link":"https:\/\/leandrianelle.it\/en\/search-your-room\/","title":{"rendered":"SEARCH YOUR ROOM"},"content":{"rendered":"\n<div class=\"wrap plugin-container\">\n\n\t\n\t\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\">Room %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\">Adults<\/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><option value=\"5\">5<\/option><option value=\"6\">6<\/option><option value=\"7\">7<\/option><option value=\"8\">8<\/option><option value=\"9\">9<\/option><option value=\"10\">10<\/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\">Children<\/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><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>\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:\/\/leandrianelle.it\/en\/search-your-room\/?option=com_vikbooking\" method=\"post\"><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-days vbo-caltrigger\"><\/i><\/div><input type=\"hidden\" name=\"checkinh\" value=\"17\"\/><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-days vbo-caltrigger\"><\/i><\/div><input type=\"hidden\" name=\"checkouth\" value=\"10\"\/><input type=\"hidden\" name=\"checkoutm\" value=\"30\"\/><\/div>\n<div class=\"vbo-search-num-racblock\">\n\t<div class=\"vbo-search-num-rooms\"><label for=\"vbo-roomsnum\">Rooms<\/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<option value=\"6\">6<\/option>\n<option value=\"7\">7<\/option>\n<option value=\"8\">8<\/option>\n<option value=\"9\">9<\/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\">Room 1<\/span>\n\t\t\t<div class=\"vbo-search-num-adults-entry\"><label class=\"vbo-search-num-adults-entry-label\">Adults<\/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><option value=\"5\">5<\/option><option value=\"6\">6<\/option><option value=\"7\">7<\/option><option value=\"8\">8<\/option><option value=\"9\">9<\/option><option value=\"10\">10<\/option><\/select><\/span><\/div>\n\t\t<div class=\"vbo-search-num-children-entry\"><label class=\"vbo-search-num-children-entry-label\">Children<\/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><option value=\"3\">3<\/option><option value=\"4\">4<\/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\">Search<\/button><\/div>\n<\/div>\n<\/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>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":20,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/page-uppersidebar.php","meta":{"_acf_changed":false,"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"page_category":[],"class_list":["post-19","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SEARCH YOUR ROOM - Le Andrianelle Ristorante e Hotel<\/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:\/\/leandrianelle.it\/en\/search-your-room\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SEARCH YOUR ROOM - Le Andrianelle Ristorante e Hotel\" \/>\n<meta property=\"og:url\" content=\"https:\/\/leandrianelle.it\/en\/search-your-room\/\" \/>\n<meta property=\"og:site_name\" content=\"Le Andrianelle Ristorante e Hotel\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-07T14:17:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/leandrianelle.it\/wp-content\/uploads\/2023\/09\/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:\\\/\\\/leandrianelle.it\\\/en\\\/search-your-room\\\/\",\"url\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/search-your-room\\\/\",\"name\":\"SEARCH YOUR ROOM - Le Andrianelle Ristorante e Hotel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/search-your-room\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/search-your-room\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/leandrianelle.it\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/plaza_aboutus.jpg\",\"datePublished\":\"2023-09-07T14:16:52+00:00\",\"dateModified\":\"2023-09-07T14:17:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/search-your-room\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/leandrianelle.it\\\/en\\\/search-your-room\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/search-your-room\\\/#primaryimage\",\"url\":\"https:\\\/\\\/leandrianelle.it\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/plaza_aboutus.jpg\",\"contentUrl\":\"https:\\\/\\\/leandrianelle.it\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/plaza_aboutus.jpg\",\"width\":1920,\"height\":1280},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/search-your-room\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SEARCH YOUR ROOM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/\",\"name\":\"Le Andrianelle Ristorante e Hotel\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/leandrianelle.it\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SEARCH YOUR ROOM - Le Andrianelle Ristorante e Hotel","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:\/\/leandrianelle.it\/en\/search-your-room\/","og_locale":"en_US","og_type":"article","og_title":"SEARCH YOUR ROOM - Le Andrianelle Ristorante e Hotel","og_url":"https:\/\/leandrianelle.it\/en\/search-your-room\/","og_site_name":"Le Andrianelle Ristorante e Hotel","article_modified_time":"2023-09-07T14:17:00+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/leandrianelle.it\/wp-content\/uploads\/2023\/09\/plaza_aboutus.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/leandrianelle.it\/en\/search-your-room\/","url":"https:\/\/leandrianelle.it\/en\/search-your-room\/","name":"SEARCH YOUR ROOM - Le Andrianelle Ristorante e Hotel","isPartOf":{"@id":"https:\/\/leandrianelle.it\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/leandrianelle.it\/en\/search-your-room\/#primaryimage"},"image":{"@id":"https:\/\/leandrianelle.it\/en\/search-your-room\/#primaryimage"},"thumbnailUrl":"https:\/\/leandrianelle.it\/wp-content\/uploads\/2023\/09\/plaza_aboutus.jpg","datePublished":"2023-09-07T14:16:52+00:00","dateModified":"2023-09-07T14:17:00+00:00","breadcrumb":{"@id":"https:\/\/leandrianelle.it\/en\/search-your-room\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/leandrianelle.it\/en\/search-your-room\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/leandrianelle.it\/en\/search-your-room\/#primaryimage","url":"https:\/\/leandrianelle.it\/wp-content\/uploads\/2023\/09\/plaza_aboutus.jpg","contentUrl":"https:\/\/leandrianelle.it\/wp-content\/uploads\/2023\/09\/plaza_aboutus.jpg","width":1920,"height":1280},{"@type":"BreadcrumbList","@id":"https:\/\/leandrianelle.it\/en\/search-your-room\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/leandrianelle.it\/en\/"},{"@type":"ListItem","position":2,"name":"SEARCH YOUR ROOM"}]},{"@type":"WebSite","@id":"https:\/\/leandrianelle.it\/en\/#website","url":"https:\/\/leandrianelle.it\/en\/","name":"Le Andrianelle Ristorante e Hotel","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/leandrianelle.it\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/pages\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":1,"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/pages\/19\/revisions"}],"predecessor-version":[{"id":71,"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/pages\/19\/revisions\/71"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/media\/20"}],"wp:attachment":[{"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"page_category","embeddable":true,"href":"https:\/\/leandrianelle.it\/en\/wp-json\/wp\/v2\/page_category?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}