{"id":345,"date":"2020-02-01T12:45:00","date_gmt":"2020-02-01T12:45:00","guid":{"rendered":"http:\/\/villa-tramonto.eu\/?p=345"},"modified":"2020-02-01T12:45:02","modified_gmt":"2020-02-01T12:45:02","slug":"booking-form","status":"publish","type":"post","link":"https:\/\/villa-tramonto.eu\/hr\/booking-form\/","title":{"rendered":"Booking form"},"content":{"rendered":"<div class=\"wp-block-booking-booking\"> <div id=\"form_id380139906870\"  class=\"wpbc_container wpbc_container_booking_form  wpdevelop\" ><form  id=\"booking_form1\"   class=\"booking_form vertical\" method=\"post\" action=\"\" data-trp-original-action=\"\"><div id=\"ajax_respond_insert1\" class=\"ajax_respond_insert\" style=\"display:none;\"><\/div><a name=\"bklnk1\" id=\"bklnk1\"><\/a><div id=\"booking_form_div1\" class=\"booking_form_div\"><div class=\"wpbc_booking_form_structure wpbc_vertical\">\n  <div class=\"wpbc_structure_calendar\">\n    <div class=\"wpbc_calendar_wraper wpbc_change_over_triangle\"><div class=\"bk_calendar_frame wpbc_no_custom_width  months_num_in_row_ cal_month_num_1 wpbc_timeslot_day_bg_as_available\" style=\"\"><div id=\"calendar_booking1\">U\u010ditavanje kalendara...<\/div><\/div><div style=\"font-size:7px;text-align:left;margin:0 0 10px;text-shadow: none;\">Powered by <a href=\"https:\/\/wpbookingcalendar.com\" target=\"_blank\" title=\"Booking Calendar plugin for WordPress\">Booking Calendar<\/a><\/div><textarea id=\"date_booking1\" name=\"date_booking1\" autocomplete=\"off\" style=\"display:none;\"><\/textarea><div class=\"block_hints datepick\"><div class=\"wpdev_hint_with_text\"><div class=\"block_free datepick-days-cell\"><a>16<\/a><\/div><div class=\"block_text\">- <\/div><div class=\"block_text\">Available<\/div><\/div><div class=\"wpdev_hint_with_text\"><div class=\"block_booked date_approved\">16<\/div><div class=\"block_text\">- <\/div><div class=\"block_text\">Booked<\/div><\/div><div class=\"wpdev_hint_with_text\"><div class=\"block_pending date2approve\">16<\/div><div class=\"block_text\">- <\/div><div class=\"block_text\">Pending<\/div><\/div><\/div><\/div>\n  <\/div>\n  <div class=\"wpbc_structure_form\">\n  <div class=\"form-group wpbc-form-element-text wpbc-form-element-name\">  <label for=\"name1\" class=\"control-label\">First Name*:<\/label>   <div class=\"controls\">   <input type=\"text\" name=\"name1\" id=\"name1\" class=\"input-xlarge wpdev-validates-as-required\" \/><\/div><\/div>  <div class=\"form-group wpbc-form-element-text wpbc-form-element-secondname\">  <label for=\"secondname1\" class=\"control-label\">Last Name*:<\/label>   <div class=\"controls\">   <input type=\"text\" name=\"secondname1\" id=\"secondname1\" class=\"input-xlarge wpdev-validates-as-required\" \/><\/div><\/div>  <div class=\"form-group wpbc-form-element-email wpbc-form-element-email\">  <label for=\"email1\" class=\"control-label\">Email*:<\/label>   <div class=\"controls\">   <input type=\"text\" name=\"email1\" id=\"email1\" class=\"input-xlarge wpdev-validates-as-email wpdev-validates-as-required wpdev-validates-as-required\" \/><\/div><\/div>  <div class=\"form-group wpbc-form-element-select wpbc-form-element-visitors\">  <label for=\"visitors1\" class=\"control-label\">Visitors:<\/label>   <div class=\"controls\">   <select name=\"visitors1\" id=\"visitors1\" class=\"input-xlarge\" >  <option value=\"1\" >1<\/option>  <option value=\"2\" >2<\/option>  <option value=\"3\" >3<\/option>  <option value=\"4\" >4<\/option>     <\/select><\/div><\/div>  <div class=\"form-group wpbc-form-element-text wpbc-form-element-phone\">  <label for=\"phone1\" class=\"control-label\">Phone:<\/label>   <div class=\"controls\">   <input type=\"text\" name=\"phone1\" id=\"phone1\" class=\"input-xlarge\" \/><\/div><\/div>  <div class=\"form-group wpbc-form-element-textarea wpbc-form-element-details\">  <label for=\"details1\" class=\"control-label\">Details:<\/label>   <div class=\"controls\">   <textarea  rows=\"3\" name=\"details1\" id=\"details1\" class=\"input-xlarge\" ><\/textarea><\/div><\/div><div class=\"form-group\"><input  autocomplete=\"off\" type=\"hidden\" name=\"wpdev_captcha_challenge_1\"  id=\"wpdev_captcha_challenge_1\" value=\"1919831451\" \/><input  autocomplete=\"off\" type=\"text\" class=\"captachinput\" value=\"\" name=\"captcha_input1\" id=\"captcha_input1\" \/><img decoding=\"async\" class=\"captcha_img\"  id=\"captcha_img1\" alt=\"captcha\" src=\"https:\/\/villa-tramonto.eu\/wp-content\/plugins\/booking\/js\/captcha\/tmp\/1919831451.png\" \/><\/div>\n<div class=\"form-group\"><button class=\"wpbc_button_light\" type=\"button\" onclick=\"mybooking_submit(this.form,1,'hr');\" >PO\u0160ALJI<\/button><\/div>\n  <\/div>\n<\/div>\n<div class=\"wpbc_booking_form_footer\"><\/div><input id=\"bk_type1\" name=\"bk_type1\" class=\"\" type=\"hidden\" value=\"1\" \/><\/div><div id=\"submiting1\"><\/div><div class=\"form_bk_messages\" id=\"form_bk_messages1\" ><\/div><input type=\"hidden\" id=\"wpbc_nonceCALCULATE_THE_COST1\" name=\"wpbc_nonceCALCULATE_THE_COST1\" value=\"84e34360eb\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/hr\/wp-json\/wp\/v2\/posts\/345\" \/><input type=\"hidden\" name=\"trp-form-language\" value=\"hr\"\/><\/form><\/div><div id=\"booking_form_garbage1\" class=\"booking_form_garbage\"><\/div><script type=\"text\/javascript\">\n                                jQuery(document).ready( function(){\n                                    jQuery(\".widget_wpdev_booking .booking_form.form-horizontal\").removeClass(\"form-horizontal\");\n                                    var visible_booking_id_on_page_num = visible_booking_id_on_page.length;\n                                    if (visible_booking_id_on_page_num !== null ) {\n                                        for (var i=0;i< visible_booking_id_on_page_num ;i++){\n                                          if ( visible_booking_id_on_page[i]==\"booking_form_div1\" ) {\n                                              document.getElementById(\"form_id380139906870\").innerHTML = \"<span style='color:#A00;font-size:10px;'>Upozorenje! Kalendar rezervacija za ovaj sadr\u017eaj za rezervaciju je ve\u0107 na stranici, molimo pro\u010ditajte vi\u0161e o ovom problemu na ovoj stranici: https:\/\/wpbookingcalendar.com\/faq\/why-the-booking-calendar-widget-not-show-on-page\/<\/span>\";                                                                                                  \n                                              jQuery(\"#form_id380139906870\").animate( {opacity: 1}, 10000 ).fadeOut(5000);\n                                              return;\n                                          }\n                                        }\n                                        visible_booking_id_on_page[ visible_booking_id_on_page_num ]=\"booking_form_div1\";\n                                    }\n                                });\n                            <\/script> <script type='text\/javascript'> jQuery(document).ready( function(){  _wpbc.balancer__set_max_threads( 3 );  _wpbc.calendar__set_param_value( 1 , 'calendar_scroll_to' , false );  _wpbc.calendar__set_param_value( 1 , 'booking_max_monthes_in_calendar' , '1y' );  _wpbc.calendar__set_param_value( 1 , 'booking_start_day_weeek' , '1' );  _wpbc.calendar__set_param_value( 1 , 'calendar_number_of_months' , '1' );   _wpbc.calendar__set_param_value( 1, 'days_select_mode', 'multiple' );   _wpbc.calendar__set_param_value( 1, 'fixed__days_num', 0 );   _wpbc.calendar__set_param_value( 1, 'fixed__week_days__start',   [] );   _wpbc.calendar__set_param_value( 1, 'dynamic__days_min', 0 );   _wpbc.calendar__set_param_value( 1, 'dynamic__days_max', 0 );   _wpbc.calendar__set_param_value( 1, 'dynamic__days_specific',    [] );   _wpbc.calendar__set_param_value( 1, 'dynamic__week_days__start', [] );   _wpbc.calendar__set_param_value( 1, 'booking_date_format', 'F j, Y' );   _wpbc.calendar__set_param_value( 1, 'booking_time_format', 'H:i' );  _wpbc.set_other_param( 'message_dates_times_unavailable', 'These dates and times in this calendar are already booked or unavailable.' );  _wpbc.set_other_param( 'message_choose_alternative_dates', 'Please choose alternative date(s), times, or adjust the number of slots booked.' );  _wpbc.set_other_param( 'message_cannot_save_in_one_resource', 'It is not possible to store this sequence of the dates into the one same resource.' );   if ( 'function' === typeof ( wpbc__conditions__SAVE_INITIAL__days_selection_params__bm ) ){ wpbc__conditions__SAVE_INITIAL__days_selection_params__bm( 1 ); }   wpbc_calendar_show( '1' );   _wpbc.set_secure_param( 'nonce',   '13bd64fc6f' );   _wpbc.set_secure_param( 'user_id', '0' );   _wpbc.set_secure_param( 'locale',  'hr' );  wpbc_calendar__load_data__ajx( {\"resource_id\":1,\"booking_hash\":\"\",\"request_uri\":\"\\\/hr\\\/wp-json\\\/wp\\\/v2\\\/posts\\\/345\",\"custom_form\":\"standard\",\"aggregate_resource_id_str\":\"\"} );  } ); <\/script><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/posts\/345"}],"collection":[{"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/comments?post=345"}],"version-history":[{"count":1,"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":346,"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/posts\/345\/revisions\/346"}],"wp:attachment":[{"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/media?parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/categories?post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/villa-tramonto.eu\/hr\/wp-json\/wp\/v2\/tags?post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}