Warning: Invalid argument supplied for foreach() in /home/u56111/public_html/wp-content/plugins/contact-form-7-style/inc/init_style.php on line 133
calculator - Отель Европа Партенит

Отель в Крыму с собственным пляжем и питанием. Крым, ЮБК, г. Алушта, пгт. Партенит, ул. Васильченко, 6

+7 978 782 34 01 (Viber, WhatsApp, Telegram) телефон бронирования,+7 978 593 55 85; +7 978 826 98 03 (WhatsApp); +7 978 113 06 53 (Viber); +7 365 602 62 70   info@hotel-europe.com.ru
<script><!-- [et_pb_line_break_holder] --> jQuery(document).ready(function(){<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('.slideshow').cycle({<!-- [et_pb_line_break_holder] --> timeout: 10000,<!-- [et_pb_line_break_holder] --> pager: '#nav'<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('.number').keypress(function(eventObject){<!-- [et_pb_line_break_holder] --> if(eventObject.which >=48 && eventObject.which <=57 || eventObject.which == 45 || eventObject.which == 8){<!-- [et_pb_line_break_holder] --> return true;<!-- [et_pb_line_break_holder] --> } else {<!-- [et_pb_line_break_holder] --> return false;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $( "#datepicker-from" ).datepicker({<!-- [et_pb_line_break_holder] --> showOn: "both"<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> $( "#datepicker-too" ).datepicker({<!-- [et_pb_line_break_holder] --> showOn: "both"<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('#che').click(function(e) {<!-- [et_pb_line_break_holder] --> $(this).parents('div.section').find('option:nth-child(5)').attr('selected', true);<!-- [et_pb_line_break_holder] --> $('select').trigger('refresh');<!-- [et_pb_line_break_holder] --> e.preventDefault();<!-- [et_pb_line_break_holder] --> })<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $.datepicker.regional['ru'] = {<!-- [et_pb_line_break_holder] --> closeText: 'Закрыть',<!-- [et_pb_line_break_holder] --> prevText: '<Пред',<!-- [et_pb_line_break_holder] --> nextText: 'След>',<!-- [et_pb_line_break_holder] --> currentText: 'Сегодня',<!-- [et_pb_line_break_holder] --> monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',<!-- [et_pb_line_break_holder] --> 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],<!-- [et_pb_line_break_holder] --> monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',<!-- [et_pb_line_break_holder] --> 'Июл','Авг','Сен','Окт','Ноя','Дек'],<!-- [et_pb_line_break_holder] --> dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],<!-- [et_pb_line_break_holder] --> dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],<!-- [et_pb_line_break_holder] --> dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],<!-- [et_pb_line_break_holder] --> weekHeader: 'Нед',<!-- [et_pb_line_break_holder] --> dateFormat: 'dd.mm.yy',<!-- [et_pb_line_break_holder] --> firstDay: 1,<!-- [et_pb_line_break_holder] --> isRTL: false,<!-- [et_pb_line_break_holder] --> showMonthAfterYear: false,<!-- [et_pb_line_break_holder] --> yearSuffix: ''};<!-- [et_pb_line_break_holder] --> $.datepicker.setDefaults($.datepicker.regional['ru']);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('a[name=modal]').click(function(e) {<!-- [et_pb_line_break_holder] --> e.preventDefault();<!-- [et_pb_line_break_holder] --> var id = $(this).attr('href');<!-- [et_pb_line_break_holder] --> var maskHeight = $(document).height();<!-- [et_pb_line_break_holder] --> var maskWidth = $(window).width();<!-- [et_pb_line_break_holder] --> $('#mask').css({'width':maskWidth,'height':maskHeight});<!-- [et_pb_line_break_holder] --> $('#mask').fadeIn(100);<!-- [et_pb_line_break_holder] --> $('#mask').fadeTo("slow",0.8);<!-- [et_pb_line_break_holder] --> var winH = $(window).height();<!-- [et_pb_line_break_holder] --> var winW = $(window).width();<!-- [et_pb_line_break_holder] --> $(id).css('top', winH/2-$(id).height()/2);<!-- [et_pb_line_break_holder] --> $(id).css('left', winW/2-$(id).width()/2);<!-- [et_pb_line_break_holder] --> $(id).fadeIn(200);<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('.window .close').click(function (e) {<!-- [et_pb_line_break_holder] --> e.preventDefault();<!-- [et_pb_line_break_holder] --> $('#mask, .window').hide();<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('#mask').click(function () {<!-- [et_pb_line_break_holder] --> $(this).hide();<!-- [et_pb_line_break_holder] --> $('.window').hide();<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $(".litebox").colorbox({<!-- [et_pb_line_break_holder] --> rel:'group-foto',<!-- [et_pb_line_break_holder] --> opacity:'0.8',<!-- [et_pb_line_break_holder] --> current:"<span>Изображение</span> {current} из {total}"<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('#select_room_type').selectbox();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('#select_room_type, .hasDatepicker').mouseup(updatePrice);<!-- [et_pb_line_break_holder] --> $('.ui-datepicker-calendar a').mouseup(updatePrice);<!-- [et_pb_line_break_holder] --> $('.dropdown li').click(updatePrice)<!-- [et_pb_line_break_holder] --> $('.people input').keyup(updatePrice);<!-- [et_pb_line_break_holder] --> $('.people-holder input').keyup(updatePrice);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> function parseDate(str) {<!-- [et_pb_line_break_holder] --> var mdy = str.split('.');<!-- [et_pb_line_break_holder] --> return new Date(mdy[2], mdy[1]-1, mdy[0]);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> function daydiff(first, second) {<!-- [et_pb_line_break_holder] --> return (second.getTime()-first.getTime())/(1000*60*60*24)<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> function updatePrice() {<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var adult_count, child_count, teen_count;<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var selected = $('#select_room_type option:nth-child('+($('.dropdown li.selected').index()+1)+')');<!-- [et_pb_line_break_holder] --> var room_id = parseInt(selected.val());<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var from = parseDate($('#datepicker-from').val()).getTime();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var to = parseDate($('#datepicker-too').val()).getTime();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> adult_count = parseInt($('#adults').val());<!-- [et_pb_line_break_holder] --> child_count = parseInt($('#child_less6').val());<!-- [et_pb_line_break_holder] --> teen_count = parseInt($('#child_more6').val());<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> //foreach(objectToArray(get_option('hp') as )<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var requestData = {room: room_id, date_from: from, date_to: to, adult: adult_count, child: child_count, teen: teen_count, options: <?php echo get_option('hp'); ?>};<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> console.log(requestData);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (!isNaN(from) && !isNaN(to)<!-- [et_pb_line_break_holder] --> &&<!-- [et_pb_line_break_holder] --> (adult_count>0 || child_count >0 || teen_count> 0)<!-- [et_pb_line_break_holder] --> ){<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> jQuery.ajax({<!-- [et_pb_line_break_holder] --> url: '<?php bloginfo('template_url'); echo '/front-page.php' ; ?>',<!-- [et_pb_line_break_holder] --> type: 'POST',<!-- [et_pb_line_break_holder] --> data: requestData,<!-- [et_pb_line_break_holder] --> dataType: 'json',<!-- [et_pb_line_break_holder] --> success: function(data){<!-- [et_pb_line_break_holder] --> $('#total').html(data);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> },<!-- [et_pb_line_break_holder] --> error: function(){},<!-- [et_pb_line_break_holder] --> complete: function(){}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> /*<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var $selected = $('#select option:selected');<!-- [et_pb_line_break_holder] --> var text = $selected.val();<!-- [et_pb_line_break_holder] --> var fullCount = parseInt($('#adults').val());<!-- [et_pb_line_break_holder] --> var price = 0;<!-- [et_pb_line_break_holder] --> if (fullCount%2 == 0) {<!-- [et_pb_line_break_holder] --> price = parseInt($selected.data('price_2full')) * (fullCount/2);<!-- [et_pb_line_break_holder] --> } else {<!-- [et_pb_line_break_holder] --> price = ((fullCount-1)/2)*parseInt($selected.data('price_2full')) + parseInt($selected.data('price_1full'))<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> var less12 = parseInt($('#child_less12').val()) * parseInt($selected.data('price_less12'));<!-- [et_pb_line_break_holder] --> var more12 = parseInt($('#child_more12').val()) * parseInt($selected.data('price_more12'));<!-- [et_pb_line_break_holder] --> if(isNaN(price)) {<!-- [et_pb_line_break_holder] --> price = 0;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> if(isNaN(less12)) {<!-- [et_pb_line_break_holder] --> less12 = 0;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> if(isNaN(more12)) {<!-- [et_pb_line_break_holder] --> more12 = 0;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> price = price + less12 + more12;<!-- [et_pb_line_break_holder] --> var period = daydiff(parseDate($('#datepicker-from').val()), parseDate($('#datepicker-too').val()));<!-- [et_pb_line_break_holder] --> var result = price * period;<!-- [et_pb_line_break_holder] --> if (isNaN(result)) {<!-- [et_pb_line_break_holder] --> result = 0;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> $('#total').html(result);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> */<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> })<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --></script><!-- [et_pb_line_break_holder] --><div class="choce-holder"> <!--?php $rooms = get_posts(array('post_type' =--> 'room', 'numberposts' => -1, 'orderby' => 'date', 'order' => 'ASC',)); ?><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <div class="choce"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <div class="choce-date"><label for="datepicker-from"><p>Дата приезда:</p> <input name="start" id="datepicker-from" type="text"> </label> <label for="datepicker-too"><p><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> Дата отъезда:</p> <input name="end" id="datepicker-too" type="text"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </label></div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <div class="choce-room"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <div class="section"><label for="select"><p>Категория номера</p></label> <select id="select_room_type" name="room"> <!--?php $first=true; foreach ($rooms as $room) { ?--><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <option value="<?php echo $room->ID; ?>" <?php="" echo="" $first="" ?="" 'selected="selected" '="" :="" '';=""> ><!--?php echo get_the_title($room--->ID);?></option><!--?php } ?--><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </select></div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <div class="people"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <div class="input-holder"><label for="adults"><p>Взрослых: </p></label><input id="adults" name="adults" maxlength="2" class="number" type="text"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <div class="input-holder"><label for="child_less6"><p>дети до 6:</p></label> <input id="child_less6" name="child_less6" maxlength="2" class="number" type="text"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <div class="input-holder"><label for="child_more6"><p>дети от 6 до 12:</p></label> <input id="child_more6" name="child_more6" maxlength="2" class="number" type="text"><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <div class="choce-btn"><p class="price"><b id="total"></b> <span>           руб.</span></p> <a name="modal" id="zakaz-submit" href="#order" class="btn-choce">Забронировать</a><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <script>$('#order-submit').click(function () {<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $.post('<?php echo get_template_directory_uri(); ?>/order.php', {start: $('#datepicker-from').val(), end: $('#datepicker-too').val(), category: $('#select').val(), total: $('#total').val(), adults: $('#adults').val(), kids: $('#kids').val(), name: $('#name').val(), email: $('#email').val(), phone: $('#phone').val()});<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('#order').html('Спасибо за заказ. С вами свяжутся');<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> });</script><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </div><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> <a href="/ru/reservation.php" class="btn-choce" style="margin: 30px 0 0 500px;">Забронировать</a><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> </div>
‘room’, ‘numberposts’ => -1, ‘orderby’ => ‘date’, ‘order’ => ‘ASC’,)); ?>

           руб.

Забронировать

Забронировать