\n\

'.__('First Name (required)' ,'booking').':
[text* name]

\n\

'.__('Last Name (required)' ,'booking').':
[text* secondname]

\n\

'.__('Email (required)' ,'booking').':
[email* email]

\n\

'.__('Phone' ,'booking').':
[text phone]

\n\

'.__('Adults' ,'booking').':
[selectbox visitors "1" "2" "3" "4"]

\n\

'.__('Children' ,'booking').':
[selectbox children "0" "1" "2" "3"]

\n\

'.__('Details' ,'booking').':
[textarea details]

\n\

[checkbox* term_and_condition use_label_element "'.__('I Accept term and conditions' ,'booking').'"]

\n\

[submit class:btn "'.__('Send' ,'booking').'"]

\n\ '; break; case 'calendar_next_to_form': $booking_form =' \n\ \n\ [calendar] \n\ width:40px; \n\ \n\ ' . esc_html__( 'First Name (required)', 'booking' ) . ':
[text* name]
\n\ ' . esc_html__( 'Last Name (required)', 'booking' ) . '):
[text* secondname]
\n\ ' . esc_html__( 'Email (required)', 'booking' ) . ':
[email* email]
\n\ ' . esc_html__( 'Phone', 'booking' ) . ':
[text phone]
\n\ ' . esc_html__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4"]
\n\ ' . esc_html__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n\ ' . esc_html__( 'Details', 'booking' ) . ':
[textarea details]
\n\ \n\ [checkbox* term_and_condition use_label_element "' . __( 'I Accept term and conditions', 'booking' ) . '"] \n\ \n\
\n\ [submit class:btn "' . __( 'Send', 'booking' ) . '"] \n\
\n\
'; break; case '2_columns': $booking_form =' \n\ [calendar]\n\
\n\ \n\ ' . esc_html__( 'First Name (required)', 'booking' ) . ':
[text* name]
\n\ ' . esc_html__( 'Last Name (required)', 'booking' ) . ':
[text* secondname]
\n\
\n\ \n\ ' . esc_html__( 'Email (required)', 'booking' ) . ':
[email* email]
\n\ ' . esc_html__( 'Phone', 'booking' ) . ':
[text phone]
\n\
\n\ \n\ ' . esc_html__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n\ ' . esc_html__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n\
\n\ \n\ ' . esc_html__( 'Details', 'booking' ) . ':
\n\ [textarea details]
\n\
\n\ \n\ [checkbox* term_and_condition use_label_element "' . __( 'I Accept term and conditions', 'booking' ) . '"] \n\ \n\

[submit "' . __( 'Send', 'booking' ) . '"]

\n\
'; break; case '2_columns_times_2_hours': $booking_form =' \n\
\n\ \n\ ' . esc_html__( 'Select Date', 'booking' ) . ':
[calendar]
\n\ ' . esc_html__( 'Select Times', 'booking' ) . '*:
\n\ [selectbox* rangetime "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 02:00 PM@@12:00 - 14:00" "02:00 PM - 04:00 PM@@14:00 - 16:00" "04:00 PM - 06:00 PM@@16:00 - 18:00" "06:00 PM - 08:00 PM@@18:00 - 20:00"]
\n\
\n\ \n\ ' . esc_html__( 'First Name (required)', 'booking' ) . ':
[text* name]
\n\ ' . esc_html__( 'Last Name (required)', 'booking' ) . ':
[text* secondname]
\n\
\n\ \n\ ' . esc_html__( 'Email (required)', 'booking' ) . ':
[email* email]
\n\ ' . esc_html__( 'Phone', 'booking' ) . ':
[text phone]
\n\
\n\ \n\ ' . esc_html__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n\ ' . esc_html__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n\
\n\ \n\ ' . esc_html__( 'Details', 'booking' ) . ':
\n\ [textarea details]
\n\
\n\

[submit "' . __( 'Send', 'booking' ) . '"]

\n\
'; break; case '2_columns_times_30_minutes_wizard': $booking_form =' \n\
\n\ \n\ ' . esc_html__( 'Select Date', 'booking' ) . ':
[calendar]
\n\ ' . esc_html__( 'Select Times', 'booking' ) . '*:
\n\ [selectbox rangetime "09:00 - 09:30" "09:30 - 10:00" "10:00 - 10:30" "10:30 - 11:00" "11:00 - 11:30" "11:30 - 12:00" "12:00 - 12:30" "12:30 - 13:00" "13:00 - 13:30" "13:30 - 14:00" "14:00 - 14:30" "14:30 - 15:00" "15:00 - 15:30" "15:30 - 16:00" "16:00 - 16:30" "16:30 - 17:00"]
\n\

\n\ \n\ \n\ \n\
\n\
\n\ \n\ ' . esc_html__( 'First Name (required)', 'booking' ) . ':
[text* name]
\n\ ' . esc_html__( 'Last Name (required)', 'booking' ) . ':
[text* secondname]
\n\
\n\ \n\ ' . esc_html__( 'Email (required)', 'booking' ) . ':
[email* email]
\n\ ' . esc_html__( 'Phone', 'booking' ) . ':
[text phone]
\n\
\n\ \n\ ' . esc_html__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n\ ' . esc_html__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n\
\n\ \n\ ' . esc_html__( 'Details', 'booking' ) . ': \n\ [textarea details] \n\ \n\ height:10px; \n\
\n\ \n\
\n\ ' . esc_attr__( 'Back', 'booking' ) . '    \n\ [submit "' . __( 'Send', 'booking' ) . '"] \n\
\n\
\n\
'; break; case '2_columns_hint_cost_nights': $booking_form =' \n\ [calendar]\n\
\n\ \n\
\n\ ' . __( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] ([nights_number_hint] - ' . __( 'night(s)', 'booking' ) . ')
\n\ ' . __( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n\
\n\
\n\
\n\ \n\ ' . esc_html__( 'First Name (required)', 'booking' ) . ':
[text* name]
\n\ ' . esc_html__( 'Last Name (required)', 'booking' ) . ':
[text* secondname]
\n\
\n\ \n\ ' . esc_html__( 'Email (required)', 'booking' ) . ':
[email* email]
\n\ ' . esc_html__( 'Phone', 'booking' ) . ':
[text phone]
\n\
\n\ \n\ ' . esc_html__( 'Address (required)', 'booking' ) . ':
[text* address]
\n\ ' . esc_html__( 'City (required)', 'booking' ) . ':
[text* city]
\n\
\n\ \n\ ' . esc_html__( 'Post code (required)', 'booking' ) . ':
[text* postcode]
\n\ ' . esc_html__( 'Country (required)', 'booking' ) . ':
[country]
\n\
\n\ \n\ ' . esc_html__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n\ ' . esc_html__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n\
\n\ \n\ ' . esc_html__( 'Details', 'booking' ) . ':
\n\ [textarea details]
\n\
\n\
\n\ \n\ [checkbox* term_and_condition use_label_element "' . __( 'I Accept term and conditions', 'booking' ) . '"] \n\ \n\ \n\

\n\ ' . __( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] ([nights_number_hint] - ' . __( 'night(s)', 'booking' ) . ')
\n\ ' . __( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n\

\n\

\n\ \n\

[submit "Send"]

\n\
\n\
'; break; case '2_columns_hint_availability': $booking_form =' \n\ [calendar]\n\
\n\ \n\

\n\ ' . __( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] ([nights_number_hint] - ' . __( 'night(s)', 'booking' ) . ')
\n\ ' . __( 'Full cost of the booking', 'booking' ) . ': [cost_hint] \n\

\n\ ' . esc_html__( 'Availability', 'booking' ) . ':[capacity_hint] \n\
\n\
\n\ \n\ ' . esc_html__( 'First Name (required)', 'booking' ) . ':
[text* name]
\n\ ' . esc_html__( 'Last Name (required)', 'booking' ) . ':
[text* secondname]
\n\
\n\ \n\ ' . esc_html__( 'Email (required)', 'booking' ) . ':
[email* email]
\n\ ' . esc_html__( 'Phone', 'booking' ) . ':
[text phone]
\n\
\n\ \n\ ' . esc_html__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n\ ' . esc_html__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n\
\n\ \n\ ' . esc_html__( 'Details', 'booking' ) . ':
\n\ [textarea details]
\n\
\n\ \n\ ' . esc_html__( 'Coupon (required)', 'booking' ) . ':
[coupon coupon]
\n\
\n\
\n\ \n\ [checkbox* term_and_condition use_label_element "' . __( 'I Accept term and conditions', 'booking' ) . '"] \n\ \n\ \n\

\n\ ' . __( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] ([nights_number_hint] - ' . __( 'night(s)', 'booking' ) . ')
\n\ ' . __( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n\

\n\

\n\ \n\

[submit "Send"]

\n\
\n\
'; break; case '2_columns_times_30_minutes_hints_coupon': $booking_form =' \n\ [calendar] \n\ \n\ ' . esc_html__( 'Select Times', 'booking' ) . '*:
\n\ [selectbox rangetime "9:00 AM - 9:30 AM@@09:00 - 09:30" "9:30 AM - 10:00 AM@@09:30 - 10:00" "10:00 AM - 10:30 AM@@10:00 - 10:30" "10:30 AM - 11:00 AM@@10:30 - 11:00" "11:00 AM - 11:30 AM@@11:00 - 11:30" "11:30 AM - 12:00 PM@@11:30 - 12:00" "12:00 PM - 12:30 PM@@12:00 - 12:30" "12:30 PM - 1:00 PM@@12:30 - 13:00" "1:00 PM - 1:30 PM@@13:00 - 13:30" "1:30 PM - 2:00 PM@@13:30 - 14:00" "2:00 PM - 2:30 PM@@14:00 - 14:30" "2:30 PM - 3:00 PM@@14:30 - 15:00" "3:00 PM - 3:30 PM@@15:00 - 15:30" "3:30 PM - 4:00 PM@@15:30 - 16:00" "4:00 PM - 4:30 PM@@16:00 - 16:30" "4:30 PM - 5:00 PM@@16:30 - 17:00" "5:00 PM - 5:30 PM@@17:00 - 17:30" "5:30 PM - 6:00 PM@@17:30 - 18:00" "6:00 PM - 6:30 PM@@18:00 - 18:30"]\n\
\n\
\n\
\n\ \n\
\n\ ' . __( 'Date', 'booking' ) . ': [selected_dates_hint]
\n\ ' . __( 'Times', 'booking' ) . ': [start_time_hint] - [end_time_hint]
\n\ ' . __( 'Total cost', 'booking' ) . ': [cost_hint] \n\
\n\
\n\
\n\
\n\ \n\ ' . esc_html__( 'First Name (required)', 'booking' ) . ':
[text* name]
\n\ ' . esc_html__( 'Last Name (required)', 'booking' ) . ':
[text* secondname]
\n\
\n\ \n\ ' . esc_html__( 'Email (required)', 'booking' ) . ':
[email* email]
\n\ ' . esc_html__( 'Phone', 'booking' ) . ':
[text phone]
\n\
\n\ \n\ ' . esc_html__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n\ ' . esc_html__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n\
\n\ \n\ ' . esc_html__( 'Details', 'booking' ) . ':
\n\ [textarea details]
\n\
\n\ \n\ ' . esc_html__( 'Coupon (required)', 'booking' ) . ':
[coupon coupon]
\n\
\n\
\n\ \n\ [checkbox* term_and_condition use_label_element "' . __( 'I Accept term and conditions', 'booking' ) . '"] \n\ \n\ \n\

\n\ ' . __( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] ([nights_number_hint] - ' . __( 'night(s)', 'booking' ) . ')
\n\ ' . __( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n\

\n\

\n\ \n\

[submit "Send"]

\n\
\n\
'; break; case '2_columns_hints_coupon': $booking_form =' \n\ [calendar]\n\
\n\ \n\
\n\ ' . __( 'Date', 'booking' ) . ': [selected_dates_hint]
\n\ ' . __( 'Times', 'booking' ) . ': [start_time_hint] - [end_time_hint]
\n\ ' . __( 'Total cost', 'booking' ) . ': [cost_hint] \n\
\n\
\n\
\n\
\n\ \n\ ' . esc_html__( 'First Name (required)', 'booking' ) . ':
[text* name]
\n\ ' . esc_html__( 'Last Name (required)', 'booking' ) . ':
[text* secondname]
\n\
\n\ \n\ ' . esc_html__( 'Email (required)', 'booking' ) . ':
[email* email]
\n\ ' . esc_html__( 'Phone', 'booking' ) . ':
[text phone]
\n\
\n\ \n\ ' . esc_html__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n\ ' . esc_html__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n\
\n\ \n\ ' . esc_html__( 'Details', 'booking' ) . ':
\n\ [textarea details]
\n\
\n\ \n\ ' . esc_html__( 'Coupon (required)', 'booking' ) . ':
[coupon coupon]
\n\
\n\
\n\ \n\ [checkbox* term_and_condition use_label_element "' . __( 'I Accept term and conditions', 'booking' ) . '"] \n\ \n\ \n\

\n\ ' . __( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] ([nights_number_hint] - ' . __( 'night(s)', 'booking' ) . ')
\n\ ' . __( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n\

\n\

\n\ \n\

[submit "Send"]

\n\
\n\
'; break; } if (empty($booking_form)){ $booking_form = wpbc_get__predefined_booking_form__template( $template_name ); } return $booking_form; } /** * Get "Content of booking fields data" - HTML content with Shortcodes * * @param string $template_name * * @return string */ function wpbc_get__booking_data__template( $template_name ) { $booking_form = ''; switch ( $template_name ) { case 'standard': case '2_columns': case 'calendar_next_to_form': case 'wizard_no_times_a': $booking_form = '
\n\ ' . esc_html__('First Name' ,'booking').': [name]
\n\ ' . esc_html__('Last Name' ,'booking').': [secondname]
\n\ ' . esc_html__('Email' ,'booking').': [email]
\n\ ' . esc_html__('Phone' ,'booking').': [phone]
\n\ ' . esc_html__('Adults' ,'booking').': [visitors]
\n\ ' . esc_html__('Children' ,'booking').': [children]
\n\ ' . esc_html__('Details' ,'booking').': [details] \n\
'; break; case '2_columns_times_2_hours': case '2_columns_times_30_minutes_wizard': $booking_form = '
\n\ ' . esc_html__('Times' ,'booking').': [rangetime]
\n\ ' . esc_html__('First Name' ,'booking').': [name]
\n\ ' . esc_html__('Last Name' ,'booking').': [secondname]
\n\ ' . esc_html__('Email' ,'booking').': [email]
\n\ ' . esc_html__('Phone' ,'booking').': [phone]
\n\ ' . esc_html__('Adults' ,'booking').': [visitors]
\n\ ' . esc_html__('Children' ,'booking').': [children]
\n\ ' . esc_html__('Details' ,'booking').': [details] \n\
'; break; case 'appointments_service_c': $booking_form = '
\n\ ' . esc_html__('Times' ,'booking').': [rangetime]
\n\ ' . esc_html__('First Name' ,'booking').': [name]
\n\ ' . esc_html__('Last Name' ,'booking').': [secondname]
\n\ ' . esc_html__('Email' ,'booking').': [email]
\n\ ' . esc_html__('Phone' ,'booking').': [phone]
\n\ ' . esc_html__('Details' ,'booking').': [details] \n\
'; break; case '2_columns_hint_cost_nights': $booking_form = '
\n\ ' . esc_html__('First Name' ,'booking').': [name]
\n\ ' . esc_html__('Last Name' ,'booking').': [secondname]
\n\ ' . esc_html__('Email' ,'booking').': [email]
\n\ ' . esc_html__('Phone' ,'booking').': [phone]
\n\ ' . esc_html__('Adults' ,'booking').': [visitors]
\n\ ' . esc_html__('Children' ,'booking').': [children]
\n\ ' . esc_html__('Address' ,'booking').': [address]
\n\ ' . esc_html__('City' ,'booking').': [city]
\n\ ' . esc_html__('Post code' ,'booking').': [postcode]
\n\ ' . esc_html__('Country' ,'booking').': [country]
\n\ ' . esc_html__('Details' ,'booking').': [details] \n\
'; break; case '2_columns_hint_availability': case '2_columns_hints_coupon': $booking_form = '
\n\ ' . esc_html__('First Name' ,'booking').': [name]
\n\ ' . esc_html__('Last Name' ,'booking').': [secondname]
\n\ ' . esc_html__('Email' ,'booking').': [email]
\n\ ' . esc_html__('Phone' ,'booking').': [phone]
\n\ ' . esc_html__('Adults' ,'booking').': [visitors]
\n\ ' . esc_html__('Children' ,'booking').': [children]
\n\ ' . esc_html__('Coupon' ,'booking').': [coupon]
\n\ ' . esc_html__('Details' ,'booking').': [details] \n\
'; break; case '2_columns_times_30_minutes_hints_coupon': $booking_form = '
\n\ ' . esc_html__('Times' ,'booking').': [rangetime]
\n\ ' . esc_html__('First Name' ,'booking').': [name]
\n\ ' . esc_html__('Last Name' ,'booking').': [secondname]
\n\ ' . esc_html__('Email' ,'booking').': [email]
\n\ ' . esc_html__('Phone' ,'booking').': [phone]
\n\ ' . esc_html__('Adults' ,'booking').': [visitors]
\n\ ' . esc_html__('Children' ,'booking').': [children]
\n\ ' . esc_html__('Coupon' ,'booking').': [coupon]
\n\ ' . esc_html__('Details' ,'booking').': [details] \n\
'; break; } return $booking_form; } function wpbc_get__predefined_booking_form__template( $form_type ){ $form_content = ''; // FixIn: 10.7.1.4. if ( in_array( $form_type, array( 'appointments30' ) ) ) { $form_content = ''; $form_content .=' \n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Select Date', 'booking' ) . ':
[calendar]
\n'; $form_content .=' ' . esc_attr__( 'Select Times', 'booking' ) . ':
\n'; $form_content .=' [selectbox rangetime "09:00 - 09:30" "09:30 - 10:00" "10:00 - 10:30" "10:30 - 11:00" "11:00 - 11:30" "11:30 - 12:00" "12:00 - 12:30" "12:30 - 13:00" "13:00 - 13:30" "13:30 - 14:00" "14:00 - 14:30" "14:30 - 15:00" "15:00 - 15:30" "15:30 - 16:00" "16:00 - 16:30" "16:30 - 17:00" "17:00 - 17:30" "17:30 - 18:00"] \n'; $form_content .='
\n'; $form_content .='
\n'; if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .= ' \n'; $form_content .= '
\n'; $form_content .= ' ' . esc_attr__( 'Date', 'booking' ) . ':  [selected_dates_hint]width:2em; \n'; $form_content .= ' ' . esc_attr__( 'Time', 'booking' ) . ':  [start_time_hint] - [end_time_hint] \n'; $form_content .= '
\n'; $form_content .= '
\n'; $form_content .= ' ' . esc_attr__( 'Total Cost', 'booking' ) . ':  [cost_hint] \n'; $form_content .= '
\n'; } $form_content .='
\n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .='
\n'; // class=wpbc_wizard__border_container. } if ( in_array( $form_type, array( 'times', 'times30', 'times15', 'times120', 'times60', 'times60_24h', 'endtime', 'durationtime' ) ) ){ $form_content = ''; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' [calendar] \n'; if ( in_array( $form_type, array( 'times', 'times30', 'times15', 'times120', 'times60', 'times60_24h' ) ) ){ $form_content .=' ' . esc_attr__( 'Select Times', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
\n'; if ( $form_type == 'times' ){ $form_content .=' [selectbox rangetime "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 02:00 PM@@12:00 - 14:00" "02:00 PM - 04:00 PM@@14:00 - 16:00" "04:00 PM - 06:00 PM@@16:00 - 18:00" "06:00 PM - 08:00 PM@@18:00 - 20:00"] \n'; } if ( $form_type == 'times120' ){ $form_content .=' [selectbox* rangetime "6:00 AM - 8:00 AM@@06:00 - 08:00" "8:00 AM - 10:00 AM@@08:00 - 10:00" "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 2:00 PM@@12:00 - 14:00" "2:00 PM - 4:00 PM@@14:00 - 16:00" "4:00 PM - 6:00 PM@@16:00 - 18:00" "6:00 PM - 8:00 PM@@18:00 - 20:00"] \n'; } if ( $form_type == 'times60' ){ $form_content .=' [selectbox* rangetime "6:00 AM - 7:00 AM@@06:00 - 07:00" "7:00 AM - 8:00 AM@@07:00 - 08:00" "8:00 AM - 9:00 AM@@08:00 - 09:00" "9:00 AM - 10:00 AM@@09:00 - 10:00" "10:00 AM - 11:00 AM@@10:00 - 11:00" "11:00 AM - 12:00 PM@@11:00 - 12:00" "12:00 PM - 1:00 PM@@12:00 - 13:00" "1:00 PM - 2:00 PM@@13:00 - 14:00" "2:00 PM - 3:00 PM@@14:00 - 15:00" "3:00 PM - 4:00 PM@@15:00 - 16:00" "4:00 PM - 5:00 PM@@16:00 - 17:00" "5:00 PM - 6:00 PM@@17:00 - 18:00" "6:00 PM - 7:00 PM@@18:00 - 19:00" "7:00 PM - 8:00 PM@@19:00 - 20:00" "8:00 PM - 9:00 PM@@20:00 - 21:00"] \n'; } if ( $form_type == 'times60_24h' ){ $form_content .=' [selectbox* rangetime "07:00 - 08:00" "08:00 - 09:00" "09:00 - 10:00" "10:00 - 11:00" "11:00 - 12:00" "12:00 - 13:00" "13:00 - 14:00" "14:00 - 15:00" "15:00 - 16:00" "16:00 - 17:00" "17:00 - 18:00" "18:00 - 19:00" "19:00 - 20:00" "20:00 - 21:00"] \n'; } if ( $form_type == 'times30' ){ $form_content .=' [selectbox rangetime "06:00 - 06:30" "06:30 - 07:00" "07:00 - 07:30" "07:30 - 08:00" "08:00 - 08:30" "08:30 - 09:00" "09:00 - 09:30" "09:30 - 10:00" "10:00 - 10:30" "10:30 - 11:00" "11:00 - 11:30" "11:30 - 12:00" "12:00 - 12:30" "12:30 - 13:00" "13:00 - 13:30" "13:30 - 14:00" "14:00 - 14:30" "14:30 - 15:00" "15:00 - 15:30" "15:30 - 16:00" "16:00 - 16:30" "16:30 - 17:00" "17:00 - 17:30" "17:30 - 18:00" "18:00 - 18:30" "18:30 - 19:00" "19:00 - 19:30" "19:30 - 20:00" "20:00 - 20:30" "20:30 - 21:00" "21:00 - 21:30"] \n'; } if ( $form_type == 'times15' ){ $form_content .=' [selectbox rangetime "8:00 AM - 8:15 AM@@08:00 - 08:15" "8:15 AM - 8:30 AM@@08:15 - 08:30" "8:30 AM - 8:45 AM@@08:30 - 08:45" "8:45 AM - 9:00 AM@@08:45 - 09:00" "9:00 AM - 9:15 AM@@09:00 - 09:15" "9:15 AM - 9:30 AM@@09:15 - 09:30" "9:30 AM - 9:45 AM@@09:30 - 09:45" "9:45 AM - 10:00 AM@@09:45 - 10:00" "10:00 AM - 10:15 AM@@10:00 - 10:15" "10:15 AM - 10:30 AM@@10:15 - 10:30" "10:30 AM - 10:45 AM@@10:30 - 10:45" "10:45 AM - 11:00 AM@@10:45 - 11:00" "11:00 AM - 11:15 AM@@11:00 - 11:15" "11:15 AM - 11:30 AM@@11:15 - 11:30" "11:30 AM - 11:45 AM@@11:30 - 11:45" "11:45 AM - 12:00 AM@@11:45 - 12:00" "12:00 AM - 12:15 AM@@12:00 - 12:15" "12:15 AM - 12:30 AM@@12:15 - 12:30" "12:30 AM - 12:45 AM@@12:30 - 12:45" "12:45 AM - 1:00 PM@@12:45 - 13:00" "1:00 PM - 1:15 PM@@13:00 - 13:15" "1:15 PM - 1:30 PM@@13:15 - 13:30" "1:30 PM - 1:45 PM@@13:30 - 13:45" "1:45 PM - 2:00 PM@@13:45 - 14:00" "2:00 PM - 2:15 PM@@14:00 - 14:15" "2:15 PM - 2:30 PM@@14:15 - 14:30" "2:30 PM - 2:45 PM@@14:30 - 14:45" "2:45 PM - 3:00 PM@@14:45 - 15:00" "3:00 PM - 3:15 PM@@15:00 - 15:15" "3:15 PM - 3:30 PM@@15:15 - 15:30" "3:30 PM - 3:45 PM@@15:30 - 15:45" "3:45 PM - 4:00 PM@@15:45 - 16:00" "4:00 PM - 4:15 PM@@16:00 - 16:15" "4:15 PM - 4:30 PM@@16:15 - 16:30" "4:30 PM - 4:45 PM@@16:30 - 16:45" "4:45 PM - 5:00 PM@@16:45 - 17:00" "5:00 PM - 5:15 PM@@17:00 - 17:15" "5:15 PM - 5:30 PM@@17:15 - 17:30" "5:30 PM - 5:45 PM@@17:30 - 17:45" "5:45 PM - 6:00 PM@@17:45 - 18:00" "6:00 PM - 6:15 PM@@18:00 - 18:15" "6:15 PM - 6:30 PM@@18:15 - 18:30" "6:30 PM - 6:45 PM@@18:30 - 18:45" "6:45 PM - 7:00 PM@@18:45 - 19:00" "7:00 PM - 7:15 PM@@19:00 - 19:15" "7:15 PM - 7:30 PM@@19:15 - 19:30" "7:30 PM - 7:45 PM@@19:30 - 19:45" "7:45 PM - 8:00 PM@@19:45 - 20:00" "8:00 PM - 8:15 PM@@20:00 - 20:15" "8:15 PM - 8:30 PM@@20:15 - 20:30" "8:30 PM - 8:45 PM@@20:30 - 20:45" "8:45 PM - 9:00 PM@@20:45 - 21:00" "9:00 PM - 9:15 PM@@21:00 - 21:15" "9:15 PM - 9:30 PM@@21:15 - 21:30" "9:30 PM - 9:45 PM@@21:30 - 21:45"] \n'; } $form_content .='
\n'; } if ( in_array( $form_type, array( 'endtime', 'durationtime' ) ) ){ $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Start Time', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
\n'; $form_content .=' [selectbox starttime "08:00" "09:00" "10:00" "11:00" "12:00" "13:00" "14:00" "15:00" "16:00" "17:00" "18:00" "19:00" "20:00" "21:00" "22:00"] \n'; $form_content .='
\n'; $form_content .=' \n'; if ( $form_type == 'endtime' ){ $form_content .=' ' . esc_attr__( 'End Time', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
\n'; $form_content .=' [selectbox endtime "08:00" "09:00" "10:00" "11:00" "12:00" "13:00" "14:00" "15:00" "16:00" "17:00" "18:00" "19:00" "20:00" "21:00" "22:00" "23:00"] \n'; } if ( $form_type == 'durationtime' ){ $form_content .=' ' . esc_attr__( 'Duration Time', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
\n'; $form_content .=' [selectbox durationtime "15 min@@00:15" "30 min@@00:30" "45 min@@00:45" "1 hour@@01:00" "1 hour 30 min@@01:30" "2 hours@@02:00" "3 hours@@03:00" "4 hours@@04:00"] \n'; } $form_content .='
\n'; } $form_content .='
\n'; if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .=' \n'; $form_content .=' \n'; if ( class_exists( 'wpdev_bk_biz_l' ) ){ // >= biz_l $form_content .=' ' . esc_attr__( 'Availability', 'booking' ) . ': \n'; $form_content .=' [capacity_hint] \n'; $form_content .=' height:1em; \n'; } $form_content .='

\n'; $form_content .=' ' . esc_attr__( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] \n'; $form_content .=' ([nights_number_hint] - ' . esc_attr__( 'night(s)', 'booking' ) . ')
\n'; $form_content .=' ' . esc_attr__( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n'; $form_content .='

\n'; $form_content .='
\n'; $form_content .='

\n'; } $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': \n'; $form_content .=' [textarea details] \n'; $form_content .=' \n'; $form_content .=' height:10px; \n'; $form_content .=' \n'; $form_content .=' [checkbox* term_and_condition use_label_element "' . esc_attr__( 'I Accept term and conditions', 'booking' ) . '"] \n'; $form_content .=' \n'; if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .=' \n'; $form_content .='

\n'; $form_content .=' ' . esc_attr__( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] \n'; $form_content .=' ([nights_number_hint] - ' . esc_attr__( 'night(s)', 'booking' ) . ')
\n'; $form_content .=' ' . esc_attr__( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n'; $form_content .='

\n'; $form_content .='
\n'; } $form_content .='
\n'; $form_content .=' \n'; $form_content .='

[submit "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; $form_content .='
\n'; $form_content .='
\n'; } if ($form_type == 'timesweek'){ $form_content = ''; $form_content .='[calendar] \n'; $form_content .='
\n'; $form_content .='

\n'; $form_content .=' [condition name="weekday-condition" type="weekday" value="*"] \n'; $form_content .=' Select Time Slot:
[selectbox rangetime multiple "10:00 - 12:00" "12:00 - 14:00" "14:00 - 16:00" "16:00 - 18:00" "18:00 - 20:00"] \n'; $form_content .=' [/condition] \n'; $form_content .=' [condition name="weekday-condition" type="weekday" value="1,2"] \n'; $form_content .=' Select Time Slot available on Monday, Tuesday:
[selectbox rangetime multiple "10:00 - 12:00" "12:00 - 14:00"] \n'; $form_content .=' [/condition] \n'; $form_content .=' [condition name="weekday-condition" type="weekday" value="3,4"] \n'; $form_content .=' Select Time Slot available on Wednesday, Thursday:
[selectbox rangetime multiple "14:00 - 16:00" "16:00 - 18:00" "18:00 - 20:00"] \n'; $form_content .=' [/condition] \n'; $form_content .=' [condition name="weekday-condition" type="weekday" value="5,6,0"] \n'; $form_content .=' Select Time Slot available on Friday, Saturday, Sunday:
[selectbox rangetime multiple "12:00 - 14:00" "14:00 - 16:00" "16:00 - 18:00"] \n'; $form_content .=' [/condition] \n'; $form_content .='

\n'; $form_content .='

' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]

\n'; $form_content .='

' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]

\n'; $form_content .='

' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]

\n'; $form_content .='

' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]

\n'; $form_content .='

' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4"]

\n'; $form_content .='

' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]

\n'; $form_content .='

' . esc_attr__( 'Details', 'booking' ) . ':
[textarea details]

\n'; $form_content .='

[checkbox* term_and_condition use_label_element "' . esc_attr__( 'I Accept term and conditions', 'booking' ) . '"]

\n'; $form_content .='

[submit class:btn "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; $form_content .='
'; } if ($form_type == 'hints'){ $form_content = ''; $form_content .='[calendar] \n'; $form_content .='
\n'; if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .='
\n'; $form_content .=' ' . esc_attr__( 'Dates', 'booking' ) . ':[selected_short_timedates_hint] ([nights_number_hint] - ' . esc_attr__( 'night(s)', 'booking' ) . ')

\n'; $form_content .=' ' . esc_attr__( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n'; $form_content .='

\n'; } $form_content .='

' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]

\n'; $form_content .='

' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]

\n'; $form_content .='

' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]

\n'; $form_content .='

' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]

\n'; $form_content .='

' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4"]

\n'; $form_content .='

' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]

\n'; $form_content .='

' . esc_attr__( 'Details', 'booking' ) . ':
[textarea details]

\n'; $form_content .='

[checkbox* term_and_condition use_label_element "' . esc_attr__( 'I Accept term and conditions', 'booking' ) . '"]

\n'; $form_content .='

[submit class:btn "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; $form_content .='
'; } // FixIn: 8.7.3.5. if ( 'hints-dev' == $form_type ){ $form_content = ''; $form_content .=' \n'; $form_content .='[calendar] \n'; $form_content .='
\n'; if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .=' \n'; $form_content .='
\n'; $form_content .=' ' . esc_attr__( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] \n'; $form_content .=' ([nights_number_hint] - ' . esc_attr__( 'night(s)', 'booking' ) . ')
\n'; $form_content .=' ' . esc_attr__( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n'; if ( class_exists( 'wpdev_bk_biz_l' ) ){ // >= biz_l $form_content .=' ' . esc_attr__( 'Availability', 'booking' ) . ': [capacity_hint] \n'; } $form_content .='
\n'; $form_content .='

\n'; } $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': \n'; $form_content .=' [textarea details] \n'; $form_content .=' \n'; $form_content .=' height:10px; \n'; $form_content .=' \n'; $form_content .=' [checkbox* term_and_condition use_label_element "' . esc_attr__( 'I Accept term and conditions', 'booking' ) . '"] \n'; $form_content .=' \n'; if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .=' \n'; $form_content .='

\n'; $form_content .=' ' . esc_attr__( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] \n'; $form_content .=' ([nights_number_hint] - ' . esc_attr__( 'night(s)', 'booking' ) . ')
\n'; $form_content .=' ' . esc_attr__( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n'; $form_content .='

\n'; $form_content .='
\n'; } $form_content .='
\n'; $form_content .=' \n'; $form_content .='

[submit "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; $form_content .='
\n'; $form_content .='
\n'; } if ( ($form_type == 'payment') || ($form_type == 'paymentUS') ){ $form_content = ''; $form_content .=' \n'; $form_content .='[calendar] \n'; $form_content .='
\n'; $form_content .='

' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]

\n'; $form_content .='

' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]

\n'; $form_content .='

' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]

\n'; $form_content .='

' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]

\n'; $form_content .='

' . esc_attr__( 'Address', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* address]

\n'; $form_content .='

' . esc_attr__( 'City', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* city]

\n'; $form_content .='

' . esc_attr__( 'Post code', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* postcode]

\n'; if ( $form_type == 'paymentUS' ){ // FixIn: 8.1.1.5. $form_content .='

' . esc_attr__( 'Country', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[country "US"]

\n'; $form_content .='

' . esc_attr__( 'State', 'booking' ) . ':
[selectbox state "" "Alabama@@AL" "Alaska@@AK" "Arizona@@AZ" "Arkansas@@AR" "California@@CA" "Colorado@@CO" "Connecticut@@CT" "Delaware@@DE" "Florida@@FL" "Georgia@@GA" "Hawaii@@HI" "Idaho@@ID" "Illinois@@IL" "Indiana@@IN" "Iowa@@IA" "Kansas@@KS" "Kentucky@@KY" "Louisiana@@LA" "Maine@@ME" "Maryland@@MD" "Massachusetts@@MA" "Michigan@@MI" "Minnesota@@MN" "Mississippi@@MS" "Missouri@@MO" "Montana@@MT" "Nebraska@@NE" "Nevada@@NV" "New Hampshire@@NH" "New Jersey@@NJ" "New Mexico@@NM" "New York@@NY" "North Carolina@@NC" "North Dakota@@ND" "Ohio@@OH" "Oklahoma@@OK" "Oregon@@OR" "Pennsylvania@@PA" "Rhode Island@@RI" "South Carolina@@SC" "South Dakota@@SD" "Tennessee@@TN" "Texas@@TX" "Utah@@UT" "Vermont@@VT" "Virginia@@VA" "Washington@@WA" "West Virginia@@WV" "Wisconsin@@WI" "Wyoming@@WY"]

\n'; } else { $form_content .='

' . esc_attr__( 'Country', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[country]

\n'; } $form_content .='

' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4"]

\n'; $form_content .='

' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]

\n'; $form_content .='

' . esc_attr__( 'Details', 'booking' ) . ':
[textarea details]

\n'; $form_content .='

[checkbox* term_and_condition use_label_element "' . esc_attr__( 'I Accept term and conditions', 'booking' ) . '"]

\n'; $form_content .='

[submit class:btn "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; $form_content .='
'; } if ( ($form_type == 'wizard') || ( in_array( $form_type, array( 'wizard_times', 'wizard_times30', 'wizard_times15', 'wizard_times120', 'wizard_times60', 'wizard_times60_24h' ) ) ) ){ // FixIn: 8.6.1.15. $form_content = ''; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' [calendar] \n'; if ( in_array( $form_type, array( 'wizard_times', 'wizard_times30', 'wizard_times15', 'wizard_times120', 'wizard_times60', 'wizard_times60_24h' ) ) ){ $form_content .=' ' . esc_attr__( 'Select Times', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
\n'; if ( $form_type == 'wizard_times' ){ $form_content .=' [selectbox rangetime "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 02:00 PM@@12:00 - 14:00" "02:00 PM - 04:00 PM@@14:00 - 16:00" "04:00 PM - 06:00 PM@@16:00 - 18:00" "06:00 PM - 08:00 PM@@18:00 - 20:00"] \n'; } if ( $form_type == 'wizard_times120' ){ $form_content .=' [selectbox* rangetime "6:00 AM - 8:00 AM@@06:00 - 08:00" "8:00 AM - 10:00 AM@@08:00 - 10:00" "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 2:00 PM@@12:00 - 14:00" "2:00 PM - 4:00 PM@@14:00 - 16:00" "4:00 PM - 6:00 PM@@16:00 - 18:00" "6:00 PM - 8:00 PM@@18:00 - 20:00"] \n'; } if ( $form_type == 'wizard_times60' ){ $form_content .=' [selectbox* rangetime "6:00 AM - 7:00 AM@@06:00 - 07:00" "7:00 AM - 8:00 AM@@07:00 - 08:00" "8:00 AM - 9:00 AM@@08:00 - 09:00" "9:00 AM - 10:00 AM@@09:00 - 10:00" "10:00 AM - 11:00 AM@@10:00 - 11:00" "11:00 AM - 12:00 PM@@11:00 - 12:00" "12:00 PM - 1:00 PM@@12:00 - 13:00" "1:00 PM - 2:00 PM@@13:00 - 14:00" "2:00 PM - 3:00 PM@@14:00 - 15:00" "3:00 PM - 4:00 PM@@15:00 - 16:00" "4:00 PM - 5:00 PM@@16:00 - 17:00" "5:00 PM - 6:00 PM@@17:00 - 18:00" "6:00 PM - 7:00 PM@@18:00 - 19:00" "7:00 PM - 8:00 PM@@19:00 - 20:00" "8:00 PM - 9:00 PM@@20:00 - 21:00"] \n'; } if ( $form_type == 'wizard_times60_24h' ){ $form_content .=' [selectbox* rangetime "07:00 - 08:00" "08:00 - 09:00" "09:00 - 10:00" "10:00 - 11:00" "11:00 - 12:00" "12:00 - 13:00" "13:00 - 14:00" "14:00 - 15:00" "15:00 - 16:00" "16:00 - 17:00" "17:00 - 18:00" "18:00 - 19:00" "19:00 - 20:00" "20:00 - 21:00"] \n'; } if ( $form_type == 'wizard_times30' ){ $form_content .=' [selectbox rangetime "09:00 - 09:30" "09:30 - 10:00" "10:00 - 10:30" "10:30 - 11:00" "11:00 - 11:30" "11:30 - 12:00" "12:00 - 12:30" "12:30 - 13:00" "13:00 - 13:30" "13:30 - 14:00" "14:00 - 14:30" "14:30 - 15:00" "15:00 - 15:30" "15:30 - 16:00" "16:00 - 16:30" "16:30 - 17:00" "17:00 - 17:30" "17:30 - 18:00" "18:00 - 18:30" "18:30 - 19:00"] \n'; } if ( $form_type == 'wizard_times15' ){ $form_content .=' [selectbox rangetime "8:00 AM - 8:15 AM@@08:00 - 08:15" "8:15 AM - 8:30 AM@@08:15 - 08:30" "8:30 AM - 8:45 AM@@08:30 - 08:45" "8:45 AM - 9:00 AM@@08:45 - 09:00" "9:00 AM - 9:15 AM@@09:00 - 09:15" "9:15 AM - 9:30 AM@@09:15 - 09:30" "9:30 AM - 9:45 AM@@09:30 - 09:45" "9:45 AM - 10:00 AM@@09:45 - 10:00" "10:00 AM - 10:15 AM@@10:00 - 10:15" "10:15 AM - 10:30 AM@@10:15 - 10:30" "10:30 AM - 10:45 AM@@10:30 - 10:45" "10:45 AM - 11:00 AM@@10:45 - 11:00" "11:00 AM - 11:15 AM@@11:00 - 11:15" "11:15 AM - 11:30 AM@@11:15 - 11:30" "11:30 AM - 11:45 AM@@11:30 - 11:45" "11:45 AM - 12:00 AM@@11:45 - 12:00" "12:00 AM - 12:15 AM@@12:00 - 12:15" "12:15 AM - 12:30 AM@@12:15 - 12:30" "12:30 AM - 12:45 AM@@12:30 - 12:45" "12:45 AM - 1:00 PM@@12:45 - 13:00" "1:00 PM - 1:15 PM@@13:00 - 13:15" "1:15 PM - 1:30 PM@@13:15 - 13:30" "1:30 PM - 1:45 PM@@13:30 - 13:45" "1:45 PM - 2:00 PM@@13:45 - 14:00" "2:00 PM - 2:15 PM@@14:00 - 14:15" "2:15 PM - 2:30 PM@@14:15 - 14:30" "2:30 PM - 2:45 PM@@14:30 - 14:45" "2:45 PM - 3:00 PM@@14:45 - 15:00" "3:00 PM - 3:15 PM@@15:00 - 15:15" "3:15 PM - 3:30 PM@@15:15 - 15:30" "3:30 PM - 3:45 PM@@15:30 - 15:45" "3:45 PM - 4:00 PM@@15:45 - 16:00" "4:00 PM - 4:15 PM@@16:00 - 16:15" "4:15 PM - 4:30 PM@@16:15 - 16:30" "4:30 PM - 4:45 PM@@16:30 - 16:45" "4:45 PM - 5:00 PM@@16:45 - 17:00" "5:00 PM - 5:15 PM@@17:00 - 17:15" "5:15 PM - 5:30 PM@@17:15 - 17:30" "5:30 PM - 5:45 PM@@17:30 - 17:45" "5:45 PM - 6:00 PM@@17:45 - 18:00" "6:00 PM - 6:15 PM@@18:00 - 18:15" "6:15 PM - 6:30 PM@@18:15 - 18:30" "6:30 PM - 6:45 PM@@18:30 - 18:45" "6:45 PM - 7:00 PM@@18:45 - 19:00" "7:00 PM - 7:15 PM@@19:00 - 19:15" "7:15 PM - 7:30 PM@@19:15 - 19:30" "7:30 PM - 7:45 PM@@19:30 - 19:45" "7:45 PM - 8:00 PM@@19:45 - 20:00" "8:00 PM - 8:15 PM@@20:00 - 20:15" "8:15 PM - 8:30 PM@@20:15 - 20:30" "8:30 PM - 8:45 PM@@20:30 - 20:45" "8:45 PM - 9:00 PM@@20:45 - 21:00" "9:00 PM - 9:15 PM@@21:00 - 21:15" "9:15 PM - 9:30 PM@@21:15 - 21:30" "9:30 PM - 9:45 PM@@21:30 - 21:45"] \n'; } $form_content .='
\n'; } else if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .='

\n'; $form_content .=' ' . esc_attr__( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] \n'; $form_content .=' ([nights_number_hint] - ' . esc_attr__( 'night(s)', 'booking' ) . ')
\n'; $form_content .=' ' . esc_attr__( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n'; $form_content .='

\n'; } $form_content .='

\n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' \n'; } if ($form_type == '2collumns') { // calendar next to form $form_content = ''; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' [calendar] \n'; $form_content .=' width:40px; \n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]
\n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]
\n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4"]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ':
[textarea details]
\n'; $form_content .=' \n'; $form_content .=' [checkbox* term_and_condition use_label_element "' . esc_attr__( 'I Accept term and conditions', 'booking' ) . '"] \n'; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' [submit class:btn "' . esc_attr__( 'Send', 'booking' ) . '"] \n'; $form_content .='
\n'; $form_content .='
\n'; // $form_content .=' \n'; // $form_content .=' [calendar] \n'; // $form_content .=' \n'; // $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]
\n'; // $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]
\n'; // $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]
\n'; // $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]
\n'; // $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4"]
\n'; // $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n'; // $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ':
[textarea details]
\n'; // $form_content .=' \n'; // $form_content .=' [checkbox* term_and_condition use_label_element "' . esc_attr__( 'I Accept term and conditions', 'booking' ) . '"] \n'; // $form_content .=' \n'; // $form_content .='
\n'; // $form_content .=' [submit class:btn "' . esc_attr__( 'Send', 'booking' ) . '"] \n'; // $form_content .='
\n'; // $form_content .='
\n'; // $form_content .='
\n'; // $form_content .='
\n'; // $form_content .=' [calendar] \n'; // $form_content .='
\n'; // $form_content .='
\n'; // $form_content .='
\n'; // $form_content .='

' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]

\n'; // $form_content .='

' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]

\n'; // $form_content .='

' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]

\n'; // $form_content .='

' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]

\n'; // $form_content .='

' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4"]

\n'; // $form_content .='

' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]

\n'; // $form_content .='
\n'; // $form_content .='
\n'; // $form_content .='

' . esc_attr__( 'Details', 'booking' ) . ':
[textarea details]

\n'; // $form_content .='

[checkbox* term_and_condition use_label_element "' . esc_attr__( 'I Accept term and conditions', 'booking' ) . '"]

\n'; // $form_content .='
\n'; // $form_content .='

[submit class:btn "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; // $form_content .='
\n'; // $form_content .='
\n'; } // FixIn: 8.7.7.15. if ($form_type == 'fields2columns') { // 2 columns form $form_content = ''; $form_content .=' \n'; $form_content .='[calendar]\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Address', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* address]
\n'; $form_content .=' ' . esc_attr__( 'City', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* city]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Post code', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* postcode]
\n'; $form_content .=' ' . esc_attr__( 'Country', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[country]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': \n'; $form_content .=' [textarea details] \n'; $form_content .='
\n'; $form_content .='

[submit class:btn "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; $form_content .='
'; } // FixIn: 8.8.2.6. if ($form_type == 'fields3columns') { // 3 columns form $form_content = ''; $form_content .=' \n'; $form_content .='\n'; $form_content .=' [calendar] \n'; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Address', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* address]
\n'; $form_content .=' ' . esc_attr__( 'City', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* city]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Post code', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* postcode]
\n'; $form_content .=' ' . esc_attr__( 'Country', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[country]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': \n'; $form_content .=' [textarea details] \n'; $form_content .=' \n'; $form_content .='

[submit class:btn "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .='
\n'; } // FixIn: 8.7.11.14. if ($form_type == 'fields2columnstimes') { // 2 columns form $form_content = ''; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' Select Date:
[calendar]
\n'; $form_content .=' ' . esc_attr__( 'Select Times', 'booking' ) . '*:
\n'; $form_content .=' [select* rangetime "10:00 AM - 12:00 PM@@10:00 - 12:00" "12:00 PM - 02:00 PM@@12:00 - 14:00" "02:00 PM - 04:00 PM@@14:00 - 16:00" "04:00 PM - 06:00 PM@@16:00 - 18:00" "06:00 PM - 08:00 PM@@18:00 - 20:00"]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4" "5"]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': \n'; $form_content .=' [textarea details] \n'; $form_content .='
\n'; $form_content .='

[submit "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; $form_content .='
\n'; } if ($form_content == '') { // Default Form. $form_content = ''; $form_content .='[calendar] \n'; $form_content .='
\n'; $form_content .='

' . esc_attr__( 'First Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* name]

\n'; $form_content .='

' . esc_attr__( 'Last Name', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[text* secondname]

\n'; $form_content .='

' . esc_attr__( 'Email', 'booking' ) . ' (' . esc_attr__( 'required', 'booking' ) . '):
[email* email]

\n'; $form_content .='

' . esc_attr__( 'Phone', 'booking' ) . ':
[text phone]

\n'; $form_content .='

' . esc_attr__( 'Adults', 'booking' ) . ':
[selectbox visitors "1" "2" "3" "4"]

\n'; $form_content .='

' . esc_attr__( 'Children', 'booking' ) . ':
[selectbox children "0" "1" "2" "3"]

\n'; $form_content .='

' . esc_attr__( 'Details', 'booking' ) . ':
[textarea details]

\n'; $form_content .='

[checkbox* term_and_condition use_label_element "' . esc_attr__( 'I Accept term and conditions', 'booking' ) . '"]

\n'; $form_content .='

[submit class:btn "' . esc_attr__( 'Send', 'booking' ) . '"]

\n'; $form_content .='
'; } if ( in_array( $form_type, array( 'appointments_service_a' ) ) ) { // FixIn: 10.9.6.5. $form_content = ''; $form_content .=' \n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .=' [steps_timeline steps_count="3" active_step="1"] \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Select Service', 'booking' ) . ' *
height:20px; \n'; $form_content .=' [selectbox durationtime "Service A (20 min)@@00:20" "Service B (30 min)@@00:30" "Service C (45 min)@@00:45" "Service D (1 hour)@@01:00"]height:15px; \n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Next', 'booking' ) . ' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .='
'; } if ( in_array( $form_type, array( 'appointments_service_b' ) ) ) { // FixIn: 10.9.6.5. $form_content = ''; $form_content .=' \n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .=' [steps_timeline steps_count="3" active_step="1"] \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Select Service', 'booking' ) . ' *
height:20px; \n'; $form_content .=' [selectbox durationtime "Service A (20 min)@@00:20" "Service B (30 min)@@00:30" "Service C (45 min)@@00:45" "Service D (1 hour)@@01:00"]height:15px; \n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Select Date', 'booking' ) . ' *
[calendar]
\n'; $form_content .=' ' . esc_attr__( 'Select Times', 'booking' ) . ' *
\n'; $form_content .=' [selectbox starttime "09:00" "09:30" "10:00" "10:30" "11:00" "11:30" "12:00" "12:30" "13:00" "13:30" "14:00" "14:30" "15:00" "15:30" "16:00" "16:30" "17:00" "17:30" "18:00"] \n'; $form_content .='
\n'; $form_content .='
\n'; if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .= ' \n'; $form_content .= '
\n'; $form_content .= ' ' . esc_attr__( 'Date', 'booking' ) . ':  [selected_dates_hint]width:2em; \n'; $form_content .= ' ' . esc_attr__( 'Time', 'booking' ) . ':  [start_time_hint] - [end_time_hint] \n'; $form_content .= '
\n'; $form_content .= '
\n'; $form_content .= ' ' . esc_attr__( 'Total Cost', 'booking' ) . ':  [cost_hint] \n'; $form_content .= '
\n'; } $form_content .='
\n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Next', 'booking' ) . ' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .='
'; } // FixIn: 10.12.4.8. if ( in_array( $form_type, array( 'appointments_service_c' ) ) ) { $form_content = ''; $form_content .=' \n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Select Service', 'booking' ) . ' *
height:20px; \n'; $form_content .=' [selectbox durationtime "Service A (20 min)@@00:20" "Service B (30 min)@@00:30" "Service C (45 min)@@00:45" "Service D (1 hour)@@01:00"]height:15px; \n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Select Date', 'booking' ) . ' *
height:18px; [calendar]
\n'; $form_content .=' ' . esc_attr__( 'Select Times', 'booking' ) . ' *
height:20px; \n'; $form_content .=' [selectbox starttime "09:00" "09:30" "10:00" "10:30" "11:00" "11:30" "12:00" "12:30" "13:00" "13:30" "14:00" "14:30" "15:00" "15:30" "16:00" "16:30" "17:00" "17:30" "18:00"] \n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .='
\n'; if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .= ' \n'; $form_content .= '
\n'; $form_content .= ' ' . esc_attr__( 'Date', 'booking' ) . ':  [selected_dates_hint]width:2em; \n'; $form_content .= ' ' . esc_attr__( 'Time', 'booking' ) . ':  [start_time_hint] - [end_time_hint] \n'; $form_content .= '
\n'; $form_content .= '
\n'; $form_content .= ' ' . esc_attr__( 'Total Cost', 'booking' ) . ':  [cost_hint] \n'; $form_content .= '
\n'; } $form_content .='
\n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' ' . esc_attr__( 'Next', 'booking' ) . ' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .='
\n'; } // FixIn: 10.12.4.9. if ( in_array( $form_type, array( 'wizard_no_times_a' ) ) ) { $form_content = ''; if ( ! wpbc_is_this_demo() ) { $form_content .= ''; } $form_content .=' \n'; $form_content .='
\n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .=' [calendar] \n'; if ( class_exists( 'wpdev_bk_biz_m' ) ){ // >= biz_m $form_content .='
\n'; $form_content .=' ' . esc_attr__( 'Dates', 'booking' ) . ': [selected_short_timedates_hint] \n'; $form_content .=' ([nights_number_hint] - ' . esc_attr__( 'night(s)', 'booking' ) . ')
\n'; $form_content .=' ' . esc_attr__( 'Full cost of the booking', 'booking' ) . ': [cost_hint]
\n'; $form_content .='
\n'; } $form_content .='
\n'; $form_content .='

\n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .=' \n'; $form_content .='
\n'; $form_content .=' \n'; $form_content .='
\n'; } return $form_content; } function wpbc_get__predefined_booking_data__template( $form_type ){ $form_content = ''; // FixIn: 10.7.1.4. if ( ( in_array( $form_type, array( 'appointments30' ) ) ) ){ $form_content = ''; $form_content .='
\n'; $form_content .=' ' . esc_attr__( 'Times', 'booking' ) . ': [rangetime]
\n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ': [name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ': [secondname]
\n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ': [email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ': [phone]
\n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': [details]\n'; $form_content .='
'; } if ( ($form_type == 'payment') || ($form_type == 'paymentUS') || ( 'fields2columns' == $form_type ) || ( 'fields3columns' == $form_type ) ) { //FixIn: 8.7.7.15 // FixIn: 8.8.2.6. $form_content = ''; $form_content .='
\n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ': [name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ': [secondname]
\n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ': [email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ': [phone]
\n'; $form_content .=' ' . esc_attr__( 'Address', 'booking' ) . ': [address]
\n'; $form_content .=' ' . esc_attr__( 'City', 'booking' ) . ': [city]
\n'; $form_content .=' ' . esc_attr__( 'Post code', 'booking' ) . ': [postcode]
\n'; $form_content .=' ' . esc_attr__( 'Country', 'booking' ) . ': [country]
\n'; if ( $form_type == 'paymentUS' ) { $form_content .=' ' . esc_attr__( 'State', 'booking' ) . ': [state]
\n'; } $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ': [visitors]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ': [children]
\n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': [details]\n'; $form_content .='
'; } if ( ( in_array( $form_type, array( 'timesweek', 'fields2columnstimes' ) ) ) || ( in_array( $form_type, array( 'times', 'times30', 'times15', 'times120', 'times60', 'times60_24h', 'endtime', 'durationtime' ) ) ) || ( in_array( $form_type, array( 'wizard_times', 'wizard_times30', 'wizard_times15', 'wizard_times120', 'wizard_times60', 'wizard_times60_24h' ) ) ) ){ $form_content = ''; $form_content .='
\n'; $form_content .=' ' . esc_attr__( 'Times', 'booking' ) . ': [rangetime]
\n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ': [name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ': [secondname]
\n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ': [email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ': [phone]
\n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ': [visitors]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ': [children]
\n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': [details]\n'; $form_content .='
'; } if ( 'hints-dev' == $form_type ){ $form_content = ''; $form_content .='
\n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ': [name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ': [secondname]
\n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ': [email]
\n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ': [visitors]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ': [children]
\n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': [details]\n'; $form_content .='
'; } if ( ($form_type == 'wizard') || ($form_type == '2collumns') || ($form_content == 'hints') || ($form_content == '') ){ $form_content = ''; $form_content .='
\n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ': [name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ': [secondname]
\n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ': [email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ': [phone]
\n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ': [visitors]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ': [children]
\n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': [details]\n'; $form_content .='
'; } // FixIn: 10.12.4.8. if ( in_array( $form_type, array( 'appointments_service_a', 'appointments_service_b', 'appointments_service_c' ) ) ) { $form_content = ''; $form_content .= '
\n'; $form_content .= ' ' . esc_attr__( 'Service', 'booking' ) . ': [durationtime_val]
\n'; $form_content .= ' ' . esc_attr__( 'Start Times', 'booking' ) . ':[starttime]
\n'; $form_content .= ' ' . esc_attr__( 'First Name', 'booking' ) . ': [name]
\n'; $form_content .= ' ' . esc_attr__( 'Last Name', 'booking' ) . ': [secondname]
\n'; $form_content .= ' ' . esc_attr__( 'Email', 'booking' ) . ': [email]
\n'; $form_content .= ' ' . esc_attr__( 'Phone', 'booking' ) . ': [phone]
\n'; $form_content .= ' ' . esc_attr__( 'Details', 'booking' ) . ': [details]\n'; $form_content .= '
'; } // FixIn: 10.12.4.9. if ( in_array( $form_type, array( 'wizard_no_times_a' ) ) ) { $form_content = ''; $form_content .= '
\n'; $form_content .=' ' . esc_attr__( 'First Name', 'booking' ) . ': [name]
\n'; $form_content .=' ' . esc_attr__( 'Last Name', 'booking' ) . ': [secondname]
\n'; $form_content .=' ' . esc_attr__( 'Email', 'booking' ) . ': [email]
\n'; $form_content .=' ' . esc_attr__( 'Phone', 'booking' ) . ': [phone]
\n'; $form_content .=' ' . esc_attr__( 'Adults', 'booking' ) . ': [visitors]
\n'; $form_content .=' ' . esc_attr__( 'Children', 'booking' ) . ': [children]
\n'; $form_content .=' ' . esc_attr__( 'Details', 'booking' ) . ': [details]\n'; $form_content .= '
'; } return $form_content; }