templates/module/Seekdahomesregionen/__seekdahomes.html.twig line 1

Open in your IDE?
  1. {% set lg = document.getProperty('language') %}
  2. {% if editmode %}
  3.     {{ include('includes/backend-kopf.html.twig') }}
  4.     {% set tabContentArray = {1: 'Startseite', 2: 'Konfiguration Seekda'} %}
  5.     {% set tab = 1 %}
  6.     <div id="content">        
  7.             {% if tabContentArray is defined and tab in tabContentArray|keys %}
  8.                 {{ admin_tabs(tab, tabContentArray) | raw }}
  9.             
  10.                 <section class="tabContent">
  11.                     <p class="hl">Optionale Einstellung:</p>
  12.                     {% set element = 'artikel' %}
  13.                     <div id="{{ element }} ">
  14.                         {{ pimcore_multiselect(element, {
  15.                                 'width': 200,
  16.                                 'height': 100,
  17.                                 'store': [
  18.                                     ['abstand-top', 'Abstand nach oben'],
  19.                                     ['abstand-bottom', 'Abstand nach unten']
  20.                                 ]
  21.                             }) }}
  22.                     </div>
  23.                 </section>
  24.             {% endif %} 
  25.              {% if tabContentArray is defined and 2 in tabContentArray|keys %}
  26.                 {{ admin_tabs(2, tabContentArray) | raw }}
  27.                 <section class="tabContent">
  28.                     <p class="hl">Bitte Kategorie wählen:</p>
  29.                     {% if pimcore_select('seekda').isEmpty() %}
  30.                         {% do pimcore_select('seekda').setDataFromResource('') %}
  31.                     {% endif %}
  32.                     {{ pimcore_select("seekda", {
  33.                             "store": [
  34.                                 ["soelden", "Sölden"],
  35.                                 ["soelden-hotel", "Sölden-Hotel"],
  36.                                 ["laengenfeldzentrum", "Längenfeld-Zentrum"]
  37.                             ],
  38.                             "width":250,
  39.                             "reload" : true
  40.                         }) }}
  41.                     <br /><br /><br /><br />
  42.                          
  43.                 </section>
  44.             {% endif %}
  45.     </div>
  46.     {{ include('includes/backend-fuss.html.twig') }}
  47. {% else %}
  48.     {% set abstand_top_class = (checkMultiselect(pimcore_multiselect("artikel"),'abstand-top') == true)? ' abstand-top' : '' %}
  49.     {% set abstand_bottom_class = (checkMultiselect(pimcore_multiselect("artikel"),'abstand-bottom') == true)? ' abstand-bottom' : '' %}
  50.     {% set abstandClasses = abstand_top_class ~ abstand_bottom_class %}
  51.     {% set selfId = document.getId() %}
  52.         <style>
  53.             [data-theme=homes] .skd-themeable-checkavailability .skd-calendars .skd-calendars-available:not(.skd-calendars-other-month),
  54.             [data-theme=homes] .skd-themeable-checkavailability .skd-calendars .skd-calendars-only-arrival,
  55.             [data-theme=homes] .skd-themeable-checkavailability .skd-calendars .skd-calendars-only-departure {
  56.                 background-color: #bc9f60 !important
  57.             }
  58.             
  59.             [data-theme=homes][data-page=hochsoelden] .skd-themeable-checkavailability .skd-calendars .skd-calendars-available:not(.skd-calendars-other-month),
  60.             [data-theme=homes][data-page=hochsoelden] .skd-themeable-checkavailability .skd-calendars .skd-calendars-only-arrival,
  61.             [data-theme=homes][data-page=hochsoelden] .skd-themeable-checkavailability .skd-calendars .skd-calendars-only-departure {
  62.                 background-color: #CC065E !important
  63.             }
  64.             
  65.             [data-theme=homes] .skd-themeable-checkavailability .skd-calendars .skd-calendars-month td .skd-was-selected-before,
  66.             [data-theme=homes][data-page=hochsoelden] .skd-themeable-checkavailability .skd-calendars .skd-calendars-month td .skd-was-selected-before{
  67.                 background-color: #eee !important;
  68.                 border: none !important
  69.             }
  70.             
  71.             [data-theme=homes] .skd-calendars-month td .skd-calendars-departure:after,
  72.             [data-theme=homes] .skd-calendars-month td .skd-calendars-highlight-departure:after,
  73.             [data-theme=homes] .skd-themeable-checkavailability .skd-calendars .skd-calendars-only-departure:after {
  74.                 border-color: #bc9f60 #bc9f60 #bc9f60 transparent !important;
  75.             }
  76.             
  77.             [data-theme=homes][data-page=hochsoelden] .skd-calendars-month td .skd-calendars-departure:after,
  78.             [data-theme=homes][data-page=hochsoelden] .skd-calendars-month td .skd-calendars-highlight-departure:after,
  79.             [data-theme=homes][data-page=hochsoelden] .skd-themeable-checkavailability .skd-calendars .skd-calendars-only-departure:after {
  80.                 border-color: #CC065E #CC065E #CC065E transparent !important;
  81.             }
  82.             
  83.             [data-theme=homes] .skd-themeable-checkavailability .skd-calendars .skd-calendars-arrival:after {
  84.                 border-color: transparent transparent transparent #bc9f60 !important
  85.             }
  86.             
  87.             [data-theme=homes][data-page=hochsoelden] .skd-themeable-checkavailability .skd-calendars .skd-calendars-arrival:after {
  88.                 border-color: transparent transparent transparent #CC065E !important
  89.             }
  90.         
  91.             [data-theme=homes] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-room-box-container .skd-room-box .skd-room-nr .skd-circle {
  92.                 color: #bc9f60!important;
  93.             }
  94.         
  95.             [data-theme=homes][data-page=hochsoelden] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-room-box-container .skd-room-box .skd-room-nr .skd-circle {
  96.                 color: #CC065E!important;
  97.             }
  98.             
  99.             [data-theme=homes] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-room-box-container .skd-room-box .skd-room-nr .skd-label {
  100.                 background-color:#bc9f60;
  101.             }
  102.             [data-theme=homes][data-page=hochsoelden] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-room-box-container .skd-room-box .skd-room-nr .skd-label {
  103.                 background-color:#CC065E;
  104.             }
  105.             
  106.             [data-theme=homes] .skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle {
  107.                 color: #ffffff!important;
  108.                 background-color: #bc9f60!important;
  109.             }
  110.             
  111.             [data-theme=homes] .skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle {
  112.                 color: #ffffff !important;
  113.                 background-color: #bc9f60 !important;
  114.             }
  115.             [data-theme=homes][data-page=hochsoelden] .skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle.skd-circle {
  116.                 color: #ffffff !important;
  117.                 background-color: #CC065E !important;
  118.             }
  119.             
  120.             [data-theme=homes] .skd-floating-room-box .skd-circle {
  121.                 color: #ffffff !important;
  122.                 background-color: #bc9f60 !important;
  123.             }
  124.             [data-theme=homes][data-page=hochsoelden] .skd-floating-room-box .skd-circle {
  125.                 color: #ffffff !important;
  126.                 background-color: #CC065E !important;
  127.             }
  128.             
  129.             [data-theme=homes] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-add-room {
  130.                 color: #bc9f60 !important;
  131.             }
  132.             [data-theme=homes][data-page=hochsoelden] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-add-room {
  133.                 color: #CC065E !important;
  134.             }
  135.             
  136.             [data-theme=homes] .skd-add-room.skd-add-room.skd-add-room.skd-add-room.skd-add-room {
  137.                 color: #bc9f60 !important;
  138.             }
  139.             [data-theme=homes][data-page=hochsoelden] .skd-add-room.skd-add-room.skd-add-room.skd-add-room.skd-add-room {
  140.                 color: #CC065E !important;
  141.             }
  142.             
  143.             [data-theme=homes] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-add-room .skd-plus-sign{
  144.                 color: #bc9f60!important;
  145.             }
  146.             [data-theme=homes][data-page=hochsoelden] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-add-room .skd-plus-sign{
  147.                 color: #CC065E!important;
  148.             }
  149.             [data-theme=homes] .skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign{
  150.                 color: #bc9f60!important;
  151.             }
  152.             [data-theme=homes][data-page=hochsoelden] .skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign.skd-plus-sign{
  153.                 color: #CC065E!important;
  154.             }
  155.             
  156.             [data-theme=homes] .skd-price-wrapper.skd-price-wrapper.skd-price-wrapper {
  157.                 color: #bc9f60!important;
  158.             }
  159.             [data-theme=homes][data-page=hochsoelden] .skd-price-wrapper.skd-price-wrapper.skd-price-wrapper {
  160.                 color: #CC065E!important;
  161.             }
  162.             
  163.             [data-theme=homes] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-room-box-container .skd-room-box .skd-room-nr .skd-circle {
  164.                 background-color: #bc9f60!important;
  165.             }
  166.             [data-theme=homes][data-page=hochsoelden] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-room-box-container .skd-room-box .skd-room-nr .skd-circle {
  167.                 background-color: #CC065E!important;
  168.             }
  169.             
  170.             [data-theme=homes] .skd-alternatives-calendar-container .skd-occupancy-icons.skd-occupancy-icons.skd-occupancy-icons {
  171.                 color: #bc9f60!important;
  172.             }
  173.             [data-theme=homes][data-page=hochsoelden] .skd-alternatives-calendar-container .skd-occupancy-icons.skd-occupancy-icons.skd-occupancy-icons {
  174.                 color: #CC065E!important;
  175.             }
  176.             
  177.             [data-theme=homes] h3 {
  178.                 color: #bc9f60!important;
  179.             }
  180.             [data-theme=homes] room-title .skd-occupancy-icons {
  181.                 color: #bc9f60;
  182.             }
  183.             [data-theme=homes][data-page=hochsoelden] h3 {
  184.                 color: #CC065E!important;
  185.             }
  186.             [data-theme=homes][data-page=hochsoelden] room-title .skd-occupancy-icons {
  187.                 color: #CC065E;
  188.             }
  189.             
  190.             [data-theme=homes] .skd-package-title .skd-occupancy-icons, .skd-room-title .skd-occupancy-icons {
  191.                 color: #bc9f60;
  192.             }
  193.             [data-theme=homes][data-page=hochsoelden] .skd-package-title .skd-occupancy-icons, .skd-room-title .skd-occupancy-icons {
  194.                 color: #CC065E;
  195.             }
  196.             
  197.             [data-theme=homes] .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-user-preference-date, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-user-preference-date {
  198.                 border-top: 2px solid #97804e!important;
  199.                 border-bottom: 2px solid #97804e!important;
  200.             }
  201.             [data-theme=homes][data-page=hochsoelden] .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-user-preference-date, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-user-preference-date {
  202.                 border-top: 2px solid #8A0840!important;
  203.                 border-bottom: 2px solid #8A0840!important;
  204.             }
  205.             
  206.             [data-theme=homes] .skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date {
  207.                 border-top: 2px solid #97804e!important;
  208.                 border-bottom: 2px solid #97804e!important;
  209.             }
  210.             [data-theme=homes][data-page=hochsoelden] .skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date.skd-user-preference-date {
  211.                 border-top: 2px solid #8A0840!important;
  212.                 border-bottom: 2px solid #8A0840!important;
  213.             }
  214.             
  215.             [data-theme=homes] .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-user-preference-end, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end {
  216.                 border-right: 2px #97804e!important;
  217.             }
  218.             [data-theme=homes][data-page=hochsoelden] .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-user-preference-end, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end.skd-user-preference-end {
  219.                 border-right: 2px #8A0840!important;
  220.             }
  221.             
  222.             [data-theme=homes] .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-above-user-preference, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-above-user-preference {
  223.                 border-bottom: 2px solid #97804e!important;
  224.             }
  225.             [data-theme=homes][data-page=hochsoelden] .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-above-user-preference, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-above-user-preference {
  226.                 border-bottom: 2px solid #8A0840!important;
  227.             }
  228.             
  229.             [data-theme=homes] skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-above-user-preference, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-above-user-preference {
  230.                 border-bottom: 2px solid #97804e!important;
  231.             }
  232.             [data-theme=homes][data-page=hochsoelden] skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-above-user-preference, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-above-user-preference {
  233.                 border-bottom: 2px solid #8A0840!important;
  234.             }
  235.             
  236.             [data-theme=homes] .skd-alternatives-calendar-container .skd-legend .skd-customer-preference-legend {
  237.                 border: 1px solid #97804e!important;
  238.             }
  239.             [data-theme=homes][data-page=hochsoelden] .skd-alternatives-calendar-container .skd-legend .skd-customer-preference-legend {
  240.                 border: 1px solid #8A0840!important;
  241.             }
  242.             
  243.             [data-theme=homes] .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-user-preference-start, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-user-preference-start {
  244.                 border-left: 3px solid #97804e!important;
  245.             }
  246.             [data-theme=homes][data-page=hochsoelden] .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-user-preference-start, .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-calendar-legend .skd-user-preference-start {
  247.                 border-left: 3px solid #8A0840!important;
  248.             }
  249.             .skd-calendars-month td span {
  250.                 color: #000000!important;
  251.             }
  252.             li.skd-widget-active a strong {
  253.                 color:#ffffff;
  254.             }
  255.             
  256.             [data-theme=homes] .skd-calendars-month td .skd-calendars-departure:after, .skd-calendars-month td .skd-calendars-highlight-departure:after {
  257.                 border-color: #97804e #97804e #97804e transparent!important;
  258.             }
  259.             [data-theme=homes][data-page=hochsoelden] .skd-calendars-month td .skd-calendars-departure:after, .skd-calendars-month td .skd-calendars-highlight-departure:after {
  260.                 border-color: #8A0840 #8A0840 #8A0840 transparent!important;
  261.             }
  262.             
  263.             [data-theme=homes][data-page=hochsoelden] .skd-calendars-month td .skd-was-selected-before {
  264.                 border: 1px solid #97804e!important;
  265.             }
  266.             [data-theme=homes][data-page=hochsoelden] .skd-calendars-month td .skd-was-selected-before {
  267.                 border: 1px solid #8A0840!important;
  268.             }
  269.             .skd-themeable-checkavailability .skd-additional-controls .skd-widget-dropdown-menu li a:hover {
  270.                 background-color: #c8c8c8 !important;
  271.             }
  272.             
  273.             [data-theme=homes] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-room-box-container .skd-room-box .skd-room-overview .skd-invitation {
  274.                 color: #bc9f60!important;
  275.             }
  276.             
  277.             [data-theme=homes][data-page=hochsoelden] .skd-check-availability-widget .skd-contentContainer .skd-search-box .skd-occupancy .skd-room-box-container .skd-room-box .skd-room-overview .skd-invitation {
  278.                 color: #CC065E!important;
  279.             }
  280.             
  281.             [data-theme=homes] .skd-offer-list-widget .skd-rooms-fullimage-price {
  282.                color: #bc9f60!important;
  283.            }
  284.             [data-theme=homes] .skd-offer-list-widget .skd-rooms-fullimage-price a {
  285.                 color: #bc9f60!important;
  286.             }
  287.            [data-theme=homes][data-page=hochsoelden] .skd-offer-list-widget .skd-rooms-fullimage-price {
  288.                color: #CC065E!important;
  289.            }
  290.             [data-theme=homes][data-page=hochsoelden] .skd-offer-list-widget .skd-rooms-fullimage-price a {
  291.                 color: #CC065E!important;
  292.             }
  293.             
  294.             [data-theme=homes] .skd-themeable-offerlist .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-date-available {
  295.                 background-color: #d4b467!important;
  296.             }
  297.             
  298.             [data-theme=homes][data-page=hochsoelden] .skd-themeable-offerlist .skd-alternatives-offer .skd-alternative-offers-cal-container .skd-alternative-calendar .skd-date-available {
  299.                 background-color: #f82975!important;
  300.             }
  301.             
  302.             [data-theme=homes] .skd-themeable .skd-legend .skd-item.skd-available {
  303.                 background-color: #d4b467!important;
  304.             }
  305.             
  306.             [data-theme=homes][data-page=hochsoelden] .skd-themeable .skd-legend .skd-item.skd-available {
  307.                 background-color: #f82975!important;
  308.             }
  309.             
  310.             [data-theme=homes] .skd-themeable .skd-legend .skd-only-departure {
  311.                 background-color: #d4b467!important;
  312.             }
  313.             
  314.             [data-theme=homes][data-page=hochsoelden] .skd-themeable .skd-legend .skd-only-departure {
  315.                 background-color: #f82975!important;
  316.             }
  317.             
  318.             [data-theme=homes] .skd-themeable .skd-legend .skd-only-arrival {
  319.                 background-color: #d4b467!important;
  320.             }
  321.             
  322.             [data-theme=homes][data-page=hochsoelden] .skd-themeable .skd-legend .skd-only-arrival {
  323.                 background-color: #f82975!important;
  324.             }
  325.         </style>
  326.     <div class="constrainer-maxsize edgepadding {{ abstandClasses }}">
  327.         {# <h2 class="font-thin texttitle">{{ 'seekda_headline'|trans }}</h2>
  328.         <div class="skd-widget" data-skd-widget="check-availability" data-skd-language-code="{{ document.getProperty('language') }}" data-skd-show-language="true" data-skd-send-to-groups="A" data-skd-listen-to-groups="B" data-skd-display-mode="inline" data-skd-show-currency="true" data-skd-is-themeable="true" skd-auto-search="false" data-skd-auto-scroll="false"  data-skd-display-mode="inline">
  329.             <div style="width:100%; min-height:100px; text-align:center;">
  330.                 <img src="https://static.seekda.net/assets/images/skd_spinner.gif" />
  331.             </div>
  332.         </div>
  333.         <div style="background-color: #F1F1F1;padding:10px;margin-top:15px;border:1px solid #dddddd;">
  334.             <div class="skd-widget" data-skd-widget="offer-list" data-skd-language-code="{{ document.getProperty('language') }}" data-skd-listen-to-groups="A" data-skd-send-to-groups="B" data-skd-list-mode="new" skd-auto-search="false" data-skd-auto-scroll="false" data-skd-is-themeable="true">
  335.                 <div style="width:100%; min-height:100px; text-align:center;">
  336.                     <img src="https://static.seekda.net/assets/images/skd_spinner.gif" />
  337.                 </div>
  338.             </div>
  339.         </div> #}
  340. {% set seekda = document.getProperty('SEEKDA_ELEMENTS') %}
  341. {% set seekda = seekda|lower|trim %}
  342. {% if seekda in ['all', 'search'] %}
  343.     <div data-kbe-searchbar="BOOKINGWIDGET"></div>
  344. {% endif %}
  345. {% if seekda in ['all', 'rates'] %}
  346.     <div data-kbe-rates="BOOKINGWIDGET"></div>
  347. {% endif %}
  348.     </div>
  349.     <script>
  350.             {# var s   = document.createElement('script');
  351.             s.type  = 'text/javascript';
  352.             s.src   = "https://cloud.seekda.com/w/w-dynamic-shop/hotel:{{ seekda_hotelId }}/{{ seekda_apiKey }}.js";
  353.             var x   = document.querySelector('head');
  354.             x.appendChild(s);
  355.                 s.onload = function () {
  356.                     if(window.location.hash) {
  357.                         window.setTimeout(function () {
  358.                             var element = document.querySelector(window.location.hash);
  359.                             element.scrollIntoView();
  360.                         }, 1000);
  361.                     }
  362.                 }; #}
  363.             !function(t,e,n,s){t["kbe-widgets"]=s,t[s]=t[s]||new Proxy({q:[]},{get:(e,n)=>n in e?e[n]:function(e){t[s].q.push([n,e])}});const o=e.createElement(n),r=e.getElementsByTagName(n)[0];o.id=s,o.src="https://widget-bf.seekda.com/loader.js",o.async=1,r.parentNode.insertBefore(o,r)}(window,document,"script","__KBE");
  364.             const lang = {{ lg | json_encode | raw }};
  365.             const hotelid = {{ seekda_hotelid | json_encode | raw }}
  366.             
  367.             __KBE.settings({
  368.                 "id": "BOOKINGWIDGET",
  369.                 "propertyCode": hotelid,   
  370.                 "language": lang
  371.             });
  372.             __KBE.searchbar({
  373.                 "showLanguageSelector": false,
  374.                 "id": "BOOKINGWIDGET",
  375.                 "isConnected": true
  376.             });
  377.             __KBE.rates({
  378.                 "id": "BOOKINGWIDGET",
  379.                 "layout": 1,
  380.                 "loadingBlocks": 3,
  381.                 "showDescription": true,
  382.                 "showSpecs": true
  383.             });
  384.     </script>
  385. {% endif %}