{"id":716,"date":"2014-12-20T12:56:44","date_gmt":"2014-12-20T12:56:44","guid":{"rendered":"http:\/\/fitlikepluess.ch\/?page_id=716"},"modified":"2025-10-07T20:54:04","modified_gmt":"2025-10-07T18:54:04","slug":"buchung-golfsimulator","status":"publish","type":"page","link":"https:\/\/fitlikepluess.ch\/?page_id=716","title":{"rendered":"Buchung Indoor Golf"},"content":{"rendered":"<div class=\"booking_float_left booking_width_20p booking_height_60 booking_alternate_table_row_grey\"><\/div>\n<div class=\"booking_float_left booking_width_20p booking_height_60 booking_alternate_table_row_grey\">\n<div class=\"booking_wh_inherit booking_table_cell booking_vertical_middle\"><div id=\"wp_booking_calendar_main_container\">\n\n    <style>\n        #wp_booking_calendar_main_container *:not(.fa) {\n             !important;\n        }\n        .booking_month_navigation_button_custom {\n            background-color:#333333 !important;\n            color: #FFFFFF !important;\n        }\n        .booking_month_navigation_button_custom:hover {\n            background-color:#567BD2 !important;\n            color:#FFFFFF !important;\n        }\n        .booking_month_container_custom {\n            background-color:#333333 !important;\n        }\n        .booking_month_name_custom {\n            color: #FFFFFF !important;\n        }\n        .booking_year_name_custom {\n            color: #999999 !important;\n        }\n        .booking_weekdays_container_custom {\n            background-color: #333333 !important;\n        }\n        .booking_weekdays_custom {\n            color: #666666 !important;\n        }\n        .booking_field_input_custom {\n            background-color: #FFFFFF !important;\n            color: #000000 !important;\n        }\n        .booking_book_now_custom {\n            background-color: #333333 !important;\n            color: #FFFFFF !important;\n        }\n        .booking_book_now_custom:hover {\n            background-color: #00CC66 !important;\n            color: #FFFFFF !important;\n        }\n        .booking_clear_custom {\n            background-color: #999999 !important;\n            color: #FFFFFF !important;\n        }\n        .booking_clear_custom:hover {\n            background-color: #333333 !important;\n            color: #FFFFFF !important;\n        }\n        .booking_day_container_custom a {\n            border: 1px dashed #ccc !important;\n        }\n    <\/style><!-- ===============================================================\n        js\n    ================================================================ -->\n\n    <script language=\"javascript\" type=\"text\/javascript\">\n        jQuery.noConflict();\n        var $wbc = jQuery;\n        var currentMonth;\n        var currentYear;\n        var pageX;\n        var pageY;\n        var today= new Date();\n        var recaptchaVersion = 1;\n                    var newday= new Date();\n            \n        $wbc(function() {\n            $wbc('#booking_back_today').css(\"display\",\"none\");\n            getBookingMonthCalendar((newday.getMonth()+1),newday.getFullYear(),'4','');\n                        $wbc('#reg_button').bind('click',function() {\n                if(tmt.validator.validateForm(\"registration_form\")) {\n                    $wbc('#booking_container_all').parent().prepend('<div id=\"booking_sfondo\" class=\"booking_modal_sfondo\"><\/div>');\n                    $wbc('#booking_modal_loading').fadeIn();\n                }\n            });\n            \/*check all months days*\/\n            setWeekdays();\n            $wbc(window).on('resize', function(){\n                setWeekdays();\n            });\n\n        });\n\n        function setWeekdays() {\n            $wbc('.booking_day_name').each(function() {\n\n                if($wbc(this).width() < 70){\n                    $wbc(this).html($wbc(this).data('abbr'));\n                } else {\n                    $wbc(this).html($wbc(this).data('full'));\n                }\n            });\n        }\n\n        function getMonthName(month,year) {\n            var m = new Array();\n            m[0] =\"Januar\";\n            m[1] =\"Februar\";\n            m[2] =\"\";\n            m[3] =\"April\";\n            m[4] =\"Mai\";\n            m[5] =\"Juni\";\n            m[6] =\"Juli\";\n            m[7] =\"August\";\n            m[8] =\"September\";\n            m[9] =\"Oktober\";\n            m[10] =\"November\";\n            m[11] =\"December\";\n            $wbc('#month_name').html(m[(month-1)]+'<span class=\"booking_year_name_custom booking_month_year booking_margin_l_10\">'+year+'<\/span>');\n            currentMonth = month;\n            currentYear = year;\n\n            if((today.getMonth()+1)!=(month)) {\n                $wbc('#booking_back_today').fadeIn();\n            } else {\n                $wbc('#booking_back_today').css(\"display\",\"none\");\n            }\n        }\n\n\n        function showResponse(calendar_id) {\n            $wbc('#booking_container_all').parent().prepend('<div id=\"booking_sfondo\" class=\"booking_modal_sfondo\" onclick=\"hideBookingResponse('+calendar_id+',\\'\\')\"><\/div>');\n            $wbc('#ok_response').attr(\"href\",\"javascript:hideBookingResponse(\"+calendar_id+\",'');\");\n            $wbc('#booking_modal_response').fadeIn('slow');\n            $wbc('#booking_submit_button').removeAttr(\"disabled\");\n        }\n\n        function showCaptchaError() {\n            $wbc('#booking_captcha_error').fadeIn();\n            $wbc('#booking_submit_button').removeAttr(\"disabled\");\n        }\n\n        function clearForm() {\n            var formObj = document.forms[\"slot_reservation\"];\n                            formObj.reservation_name.value='';\n                                            formObj.reservation_surname.value='';\n                                            formObj.reservation_email.value='';\n                                            formObj.reservation_phone.value='';\n                                                        formObj.reservation_field1.value='';\n                                                    \n            $wbc('#booking_captcha_error').fadeOut();\n        }\n\n        function updateCalendarSelect(category) {\n            $wbc.ajax({\n              url: 'https:\/\/fitlikepluess.ch\/wp-content\/plugins\/wp-booking-calendar\/public\/ajax\/getCalendarsList.php?category_id='+category+\"&wpml_lang=\"+$wbc('#wpml_lang').val(),\n              success: function(data) {\n                  arrData = data.split(\"|\");\n                  $wbc('#calendar_select_input').html(arrData[0]);\n                  $wbc(\"#calendar_select_input\").val($wbc(\"#calendar_select_input option:first\").val());\n                                    var newday= today;\n                                     getBookingMonthCalendar((newday.getMonth()+1),newday.getFullYear(),arrData[1],'');\n              }\n            });\n        }\n        function updateCalendar(calendar_id) {\n            $wbc.ajax({\n              url: 'https:\/\/fitlikepluess.ch\/wp-content\/plugins\/wp-booking-calendar\/public\/ajax\/getCalendar.php?calendar_id='+calendar_id+\"&wpml_lang=\"+$wbc('#wpml_lang').val(),\n              success: function(data) {\n\n                                      var newday= today;\n                                     getBookingMonthCalendar((newday.getMonth()+1),newday.getFullYear(),calendar_id,'');\n              }\n            });\n\n        }\t\n    <\/script>\n\n    <!-- ===============================================================\n        box preview available time slots\n    ================================================================ -->\n    <div class=\"booking_box_preview_container_all booking_font_cuprum\" id=\"booking_box_slots\" style=\"display:none !important\">\n        <div class=\"booking_box_preview_title\" id=\"booking_popup_title\">Buchung Indoor Golf<\/div>\n        <div class=\"booking_box_preview_slots_container\" id=\"booking_slots_popup\">\n\n        <\/div>\n    <\/div>\n\n    <!-- ===============================================================\n        booking calendar begins here\n    ================================================================ -->\n    <div class=\"booking_main_container\" id=\"booking_container_all\">\n\n        <a name=\"calendar\"><\/a>\n        <!-- =======================================\n            header (month + navigation + select)\n        ======================================== -->\n        <div class=\"booking_header_container\">\n\n            <div class=\"booking_select_calendar_container\">\n             \n                        <\/div>\n\n            <div class=\"booking_cleardiv\"><\/div>\n\n            <!-- month and navigation -->\n            <div class=\"booking_month_container_all booking_month_container_custom\">\n                <!-- previous month -->\n                <div class=\"booking_mont_nav_button_container_prev\" id=\"booking_month_nav_prev\"><a href=\"javascript:getBookingPreviousMonth(4,'',0);\" class=\"booking_month_nav_button booking_month_navigation_button_custom\"><<\/a><\/div>\n\n                <!-- month -->\n                <div class=\"booking_month_container \">\n                    <div class=\"booking_font_custom booking_month_name booking_month_name_custom\" id=\"month_name\"><\/div>\n                    <div class=\"booking_cleardiv\"><\/div>\n                    <div class=\"booking_back_today\" id=\"booking_back_today\"><a href=\"javascript:getBookingMonthCalendar((today.getMonth()+1),today.getFullYear(),'4','');\">Zurueck zu heute<\/a><\/div>\n                <\/div>\n\n                <!-- next month -->\n                <div class=\"booking_mont_nav_button_container_next\" id=\"booking_month_nav_next\"><a href=\"javascript:getBookingNextMonth(4,'',3);\" class=\"booking_month_nav_button booking_month_navigation_button_custom\">><\/a><\/div>\n\n                <!-- navigation -->\n                <div class=\"booking_month_nav_container\" id=\"booking_month_nav\">\n\n\n                <\/div>\n                <div class=\"booking_cleardiv\"><\/div>\n\n            <\/div>\n\n\n\n        <\/div>\n\n\n        <!-- =======================================\n            calendar\n        ======================================== -->\n\n        <div class=\"booking_cleardiv\"><\/div>\n        <!-- calendar -->\n        <div class=\"booking_calendar_container_all\">\n            <!-- days name -->\n            <div class=\"booking_name_days_container booking_weekdays_container_custom\" id=\"booking_name_days_container\">\n                                    <div class=\"booking_font_custom booking_day_name booking_weekdays_custom\" data-abbr=\"Mo\" data-full=\"Montag\">Montag<\/div>\n                    <div class=\"booking_font_custom booking_day_name booking_weekdays_custom\" data-abbr=\"Di\" data-full=\"Dienstag\">Dienstag<\/div>\n                    <div class=\"booking_font_custom booking_day_name booking_weekdays_custom\" data-abbr=\"Mi\" data-full=\"Mittwoch\">Mittwoch<\/div>\n                    <div class=\"booking_font_custom booking_day_name booking_weekdays_custom\" data-abbr=\"Do\" data-full=\"Donnerstag\">Donnerstag<\/div>\n                    <div class=\"booking_font_custom booking_day_name booking_weekdays_custom\" data-abbr=\"Fr\" data-full=\"Freitag\">Freitag<\/div>\n                    <div class=\"booking_font_custom booking_day_name booking_weekdays_custom\" data-abbr=\"Sa\" data-full=\"Samstag\">Samstag<\/div>\n                    <div class=\"booking_font_custom booking_day_name booking_weekdays_custom\" data-abbr=\"So\" data-full=\"Sonntag\" style=\"margin-right: 0px;\">Sonntag<\/div>\n                                <\/div>\n\n            <!-- days -->\n            <div class=\"days_container_all\" id=\"booking_calendar_container\">\n                <!-- content by js -->\n            <\/div>\n        <\/div>\n\n        <!-- =======================================\n            booking form. It appears once user clicked on a day\n        ======================================== -->\n            <div id=\"booking_container\" style=\"display:none !important\">\n        <form name=\"slot_reservation\" id=\"slot_reservation\" action=\"https:\/\/fitlikepluess.ch\/wp-content\/plugins\/wp-booking-calendar\/public\/ajax\/doReservation.php\" method=\"post\" target=\"iframe_submit\" tmt:validate=\"true\" style=\"display:inline;\">\n        <input type=\"hidden\" name=\"wordpress_user_id\" id=\"wordpress_user_id\" value=\"0\" \/>\n        <input type=\"hidden\" name=\"wpml_lang\" id=\"wpml_lang\" value=\"\" \/>\n        <input type=\"hidden\" name=\"post_id\" value=\"716\" \/>\n        <div class=\"booking_width_100p booking_margin_t_30\">\n            <div id=\"booking_slot_form\" class=\"booking_font_cuprum\">\n\n            <\/div>\n\n            <input type=\"hidden\" name=\"calendar_id\" id=\"calendar_id\" value=\"4\" \/>\n\n\n            <!-- rightside -->\n            <div class=\"booking_bg_567 booking_mark_fff booking_padding_10 booking_margin_t_20\" id=\"form_container_all\" style=\"background-color:#567BD2;color:#FFFFFF;display:block !important\">\n\n\n                                    <!-- name -->\n                                                <div class=\"booking_form_input_container\">\n                                <div>Name<\/div>\n                                <input type=\"text\" name=\"reservation_name\" id=\"reservation_name\" class=\"booking_field_input_custom booking_width_90p booking_border_none\" tmt:required=\"true\" tmt:message=\"Name eingeben\" value=\"\"\/>\n                            <\/div>\n                                                                    <!-- surname -->\n                                                <div class=\"booking_form_input_container\">\n                                <div>Vorname<\/div>\n                                <input type=\"text\" name=\"reservation_surname\" id=\"reservation_surname\" class=\"booking_field_input_custom booking_width_90p booking_border_none\" tmt:required=\"true\" tmt:message=\"Vorname eingeben\" value=\"\"\/>\n                            <\/div>\n                            \n                                        <!-- email -->\n                                                <div class=\"booking_form_input_container\">\n                                <div>Email<\/div>\n                                <input type=\"text\"  name=\"reservation_email\" id=\"reservation_email\" class=\"booking_field_input_custom booking_width_90p booking_border_none\" tmt:required=\"true\" tmt:pattern=\"email\" tmt:message=\"Email eingeben\" value=\"\"\/>\n                            <\/div>\n                            \n                                        <!-- phone -->\n                                            <div class=\"booking_form_input_container\">\n                            <div>Telefon<\/div>\n                            <input type=\"text\" name=\"reservation_phone\" class=\"booking_field_input_custom booking_width_90p booking_border_none\" tmt:required=\"true\" tmt:message=\"Telefon eingeben\"\/>\n                        <\/div>\n                        \n                                        <input type=\"hidden\" name=\"reservation_message\" value=\"\" \/>\n                                        <!-- additional 1 -->\n                                            <div class=\"booking_form_input_container\">\n                            <div>Anzahl Teilnehmer<\/div>\n                            <input type=\"text\" name=\"reservation_field1\" class=\"booking_field_input_custom booking_width_90p booking_border_none\" tmt:required=\"true\" tmt:message=\"Anzahl Teilnehmer eingeben\"\/>\n                        <\/div>\n                        \n                                        <input type=\"hidden\" name=\"reservation_field2\" value=\"\" \/>\n                                        <input type=\"hidden\" name=\"reservation_field3\" value=\"\" \/>\n                                        <input type=\"hidden\" name=\"reservation_field4\" value=\"\" \/>\n                    \n                <div class=\"booking_cleardiv\"><\/div>\n\n                \n                <div class=\"booking_cleardiv\"><\/div>\n\n                                        <!-- google capthca -->\n                        <div class=\"booking_margin_t_10\">\n                            <div id=\"booking_captcha_error\" style=\"display:none !important\">Invalid code<\/div>\n                            <div id=\"captcha\"><\/div>\n                        <\/div>\n                        \n                    <div class=\"booking_cleardiv\"><\/div>\n                    \n\n                <!-- book now button and clear -->\n                <div class=\"booking_margin_t_20\">\n\n                        <!-- book now btn -->\n                                                    <div class=\"booking_booknow_btn\">\n                                <input type=\"submit\" class=\"booking_book_now_custom\" id=\"booking_submit_button\" value=\"Buchen\" style=\"cursor:pointer\" \/>\n                            <\/div>\n\n                            \n                        <!-- clear btn -->\n                    <div class=\"booking_clear_btn\"><a href=\"javascript:clearForm();\" class=\"booking_clear_custom booking_public_button booking_grey_button\">l\u00f6schen<\/a><\/div>\n\n                    <div class=\"booking_cleardiv\"><\/div>\n\n                <\/div>\n\n\n\n            <\/div>\n\n        <\/div>\n        <\/form>\n\n\n                <script type=\"text\/javascript\" charset=\"utf-8\">\n                    $wbc(document).ready(function() {\n                        $wbc(\".tab_content_login\").hide();\n                        $wbc(\"ul.tabs_login li:first\").addClass(\"active_login\").show();\n                        $wbc(\".tab_content_login:first\").show();\n                        $wbc(\"ul.tabs_login li\").click(function() {\n                            $wbc(\"ul.tabs_login li\").removeClass(\"active_login\");\n                            $wbc(this).addClass(\"active_login\");\n                            $wbc(\".tab_content_login\").hide();\n                            var activeTab = $wbc(this).find(\"a\").attr(\"href\");\n                            if ($wbc.browser.msie) {$wbc(activeTab).show();}\n                            else {$wbc(activeTab).show();}\n                            return false;\n                        });\n                    });\n                <\/script>\n\n\n                <div id=\"login-register-password-container\" style=\"display:none !important\">\n\n                    \n                    <ul class=\"tabs_login\">\n                        <li class=\"active_login\"><a href=\"#tab1_login\">Login<\/a><\/li>\n                        \n                    <\/ul>\n                    <div class=\"tab_container_login\">\n                        <div id=\"tab1_login\" class=\"tab_content_login\">\n\n\n\n                            <h3><\/h3>\n\n\n\n                            <script>\n                                function submitLogin() {\n                                    if(Trim($wbc('#user_login') .val()) != '' && Trim($wbc('#user_pass').val()) != '') {\n\n                                        $wbc('#booking_container_all').parent().prepend('<div id=\"booking_sfondo\" class=\"booking_modal_sfondo\"><\/div>');\n                                        $wbc('#booking_modal_loading').fadeIn();\n\n                                        $wbc.ajax({\n                                            type: \"POST\",\n                                            url: \"https:\/\/fitlikepluess.ch\/wp-login.php\",\n                                            data: { log: $wbc('#user_login').val(), pwd: $wbc('#user_pass').val() }\n                                        }).done(function() {\n                                            $wbc.ajax({\n                                              url: 'https:\/\/fitlikepluess.ch\/wp-content\/plugins\/wp-booking-calendar\/public\/ajax\/getCurrentUser.php?wpml_lang='+$wbc('#wpml_lang').val(),\n                                              success: function(data) {\n                                                  $wbc('#booking_sfondo').remove();\n                                                  $wbc('#booking_modal_loading').fadeOut();\n                                                  if(data!='error') {\n                                                      arrData = data.split(\"|\");\n                                                      $wbc('#login-register-password-container').removeAttr('style');\n                                                      $wbc('#login-register-password-container').css('display','none !important');\n                                                      $wbc('#reservation_name').val(arrData[0]);\n                                                      $wbc('#reservation_surname').val(arrData[1]);\n                                                      $wbc('#reservation_email').val(arrData[2]);\n                                                      $wbc('#wordpress_user_id').val(arrData[3]);\n                                                      $wbc('#form_container_all').removeAttr('style');\n                                                      $wbc('#form_container_all').css('display','block !important');\n\n                                                  } else {\n                                                      alert(\"Invalid username or password\");\n                                                  }\n\n                                              }\n                                            });\n\n                                        });\n                                    } else {\n                                        alert(\"Insert a valid username and password\");\n                                    }\n                                }\n                            <\/script>\n                            <form method=\"post\" action=\"https:\/\/fitlikepluess.ch\/wp-login.php\" class=\"wp-user-form\">\n                                <div class=\"username\">\n                                    <label for=\"user_login\">Username: <\/label>\n                                    <input type=\"text\" name=\"log\" value=\"\" size=\"20\" id=\"user_login\" tabindex=\"11\" \/>\n                                <\/div>\n                                <div class=\"password\">\n                                    <label for=\"user_pass\">Password: <\/label>\n                                    <input type=\"password\" name=\"pwd\" value=\"\" size=\"20\" id=\"user_pass\" tabindex=\"12\" \/>\n                                <\/div>\n                                <div class=\"login_fields\">\n\n                                                                        <input type=\"button\" name=\"user-submit\" value=\"Login\" tabindex=\"14\" class=\"user-submit\" onclick=\"javascript:submitLogin();\" \/>\n                                    <input type=\"hidden\" name=\"redirect_to\" value=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F716\" \/>\n                                    <input type=\"hidden\" name=\"user-cookie\" value=\"1\" \/>\n                                <\/div>\n                            <\/form>\n                        <\/div>\n                        \n                    <\/div>\n\n                    \n                <\/div>\n\n\n        <\/div>\n                <div style=\"clear:both\"><\/div>\n\n    <\/div>\n\n\n    <!-- ===============================================================\n        box after booking\n    ================================================================ -->\n    <div id=\"booking_modal_response\" class=\"booking_modal\" style=\"display:none !important\">\n        Thank you for booking online. You'll receive an email confirmation at your email address        <br \/><a href=\"javascript:hideBookingResponse(4,'');\" class=\"booking_button booking_ok_button\" id=\"ok_response\">OK<\/a>\n    <\/div>\n\n    <!-- preloader -->\n    <div id=\"booking_modal_loading\" class=\"booking_modal_loading\" style=\"display:none !important\">\n        <img decoding=\"async\" src=\"https:\/\/fitlikepluess.ch\/wp-content\/plugins\/wp-booking-calendar\/admin\/images\/loading.png\" border=0 style=\"-moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;\" \/>\n    <\/div>\n    <!-- necessary to submit form without reload the page -->\n    <iframe style=\"border:none;width:0px;height:0px\" id=\"iframe_submit\" name=\"iframe_submit\"><\/iframe>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-716","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fitlikepluess.ch\/index.php?rest_route=\/wp\/v2\/pages\/716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fitlikepluess.ch\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fitlikepluess.ch\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fitlikepluess.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fitlikepluess.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=716"}],"version-history":[{"count":11,"href":"https:\/\/fitlikepluess.ch\/index.php?rest_route=\/wp\/v2\/pages\/716\/revisions"}],"predecessor-version":[{"id":1124,"href":"https:\/\/fitlikepluess.ch\/index.php?rest_route=\/wp\/v2\/pages\/716\/revisions\/1124"}],"wp:attachment":[{"href":"https:\/\/fitlikepluess.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}