<br />
<b>Warning</b>:  Undefined array key "cure_id" in <b>/var/www/vhosts/elandalous-marrakech.com/httpdocs/wp-content/themes/elandalous/elandalous-functions.php</b> on line <b>1393</b><br />
	
	<div id="form_availability_sidebar" class="col-md-4" style="margin:0 auto;float:none;margin-top: -25px;">                            
          <div class="gdlr-hotel-availability-wrapper" style="margin-bottom: 20px;">                                       
                  <form class="gdlr-hotel-availability gdlr-item" id="gdlr-hotel-availability" method="post" action="https://www.elandalous-marrakech.com/en/dispo/" target="_parent">
                    <div class="gdlr-reservation-field gdlr-resv-datepicker">
                        <span class="gdlr-reservation-field-title">Check-in</span>
                        <div class="gdlr-datepicker-wrapper">
                            <input type="text"  id="elandalous_check_cure_in" class="elandalous_datepicker" name="elandalous_check_in" />
                            
                        </div>
                    </div>
                    
                    <div class="gdlr-reservation-field gdlr-resv-datepicker" style="display:block;">
                        <span class="gdlr-reservation-field-title">Check-out</span>
                            <div class="gdlr-datepicker-wrapper">
                                <input type="text"  id="elandalous_check_cure_out" class="elandalous_datepicker" name="elandalous_check_out"  />
                            </div>
                    </div>
                    <div class="gdlr-reservation-field gdlr-resv-combobox ">
                        <span class="gdlr-reservation-field-title">Adultes(+14ans)</span>
                        <div class="gdlr-combobox-wrapper">
                            <select name="gdlr_adult_number">
                                <option value="1">1</option>
                                <option value="2" selected="">2</option>
                                <option value="3">3</option>
                                <option value="4">4</option>
                                <option value="5">5</option>
                                <option value="6">6</option>
                                <option value="7">7</option>
                                <option value="8">8</option>
                                <option value="9">9</option>
                            </select>
                        </div>
                    </div>
                    <div class="gdlr-reservation-field gdlr-resv-combobox ">
                        <span class="gdlr-reservation-field-title">Enfants(-14ans)</span>
                        <div class="gdlr-combobox-wrapper">
                            <select name="gdlr_children_number">
                                <option value="0">0</option>
                                <option value="1">1</option>
                                <option value="2">2</option>
                            </select>
                        </div>
                    </div>
                    
                    <div class="gdlr-hotel-availability-submit">
                        <input name="cure_id" value="" type="hidden">
                        <input class="gdlr-reservation-bar-button gdlr-button with-border" value="Voir les disponibilités" type="submit">
                    </div>
                    <div class="clear">
                </div>
            </form> 
        </div>	
</div>
	
	
	<script type="text/javascript">

	//Code Starts

	jQuery(function () {
		
			
		 var SelectedDates = {};
		 var SeletedText = {};	
SelectedDates[new Date("01/01/2025")] = new Date("01/01/2025");SeletedText[new Date("01/01/2025")] = "Romance in El Andalous";SelectedDates[new Date("01/01/2025")] = new Date("01/01/2025");SeletedText[new Date("01/01/2025")] = "A moment of relaxation in El Andalous";SelectedDates[new Date("01/01/2025")] = new Date("01/01/2025");SeletedText[new Date("01/01/2025")] = "El Andalous Family (2 children under 14 free)";SelectedDates[new Date("01/01/2025")] = new Date("01/01/2025");SeletedText[new Date("01/01/2025")] = "Honeymoon 5 years -10 years -25 years -50 years";SelectedDates[new Date("01/01/2025")] = new Date("01/01/2025");SeletedText[new Date("01/01/2025")] = "Emotion &#038; Action Getaway";SelectedDates[new Date("03/01/2025")] = new Date("03/01/2025");SeletedText[new Date("03/01/2025")] = "Ramadan";SelectedDates[new Date("04/09/2025")] = new Date("04/09/2025");SeletedText[new Date("04/09/2025")] = "Aïd El fitr";SelectedDates[new Date("04/12/2025")] = new Date("04/12/2025");SeletedText[new Date("04/12/2025")] = "Easter in El Andalous";SelectedDates[new Date("06/01/2025")] = new Date("06/01/2025");SeletedText[new Date("06/01/2025")] = "Aid Al Adha";SelectedDates[new Date("07/01/2025")] = new Date("07/01/2025");SeletedText[new Date("07/01/2025")] = "Summer holidays";SelectedDates[new Date("07/07/2025")] = new Date("07/07/2025");SeletedText[new Date("07/07/2025")] = "Achoura";SelectedDates[new Date("09/01/2025")] = new Date("09/01/2025");SeletedText[new Date("09/01/2025")] = "Aïd Al Mawlid";SelectedDates[new Date("12/17/2025")] = new Date("12/17/2025");SeletedText[new Date("12/17/2025")] = "Christmas";SelectedDates[new Date("12/24/2025")] = new Date("12/24/2025");SeletedText[new Date("12/24/2025")] = "New Year&#8217;s Eve";SelectedDates[new Date("02/14/2026")] = new Date("02/14/2026");SeletedText[new Date("02/14/2026")] = "Valentine&#8217;s Day in El Andalous";		var nowTemp311099205 = new Date();
		var now311099205 = new Date(nowTemp311099205.getFullYear(), nowTemp311099205.getMonth(), nowTemp311099205.getDate(), 0, 0, 0, 0);
		
	    var checkin311099205 = jQuery("#elandalous_check_cure_in").datepicker({
			
			dateFormat: 'dd/mm/yy',
			onSelect : function(tempDate) {
				var array = tempDate.split("/").map(Number);
				var tempDateObj = new Date(array[2]+'-'+array[1]+'-'+array[0]);
				
  				if (checkout311099205.datepicker("getDate") === null || tempDateObj.valueOf() > checkout311099205.datepicker("getDate").valueOf() || !checkout311099205.datepicker("getDate").valueOf()) {
				
					//var array = tempDate.split("/").map(Number);
					
					var newDate = tempDateObj; //alert(newDate);
					newDate.setDate(newDate.getDate() + 1);// alert(newDate);
					checkout311099205.datepicker("setDate", newDate);
			
			  	}
			  	
			},
	        beforeShowDay: function(date) {

	            var Highlight = SelectedDates[date];

	            var HighlighText = SeletedText[date];

	            if (Highlight) {

	                return [date.valueOf() >= now311099205.valueOf(), "Highlighted", HighlighText];

	            }
	            else {
	                return [date.valueOf() >= now311099205.valueOf(), "", ""];
	            }
	        },autoclose: true

	    }).datepicker("setDate", new Date());
		
		var blabladate = new Date();
		blabladate.setDate(blabladate.getDate() + 1);
		var checkout311099205 = jQuery("#elandalous_check_cure_out").datepicker({
			dateFormat: 'dd/mm/yy',
	        beforeShowDay: function(date) {
				
				var isActive = true;
				
				
				if (!checkin311099205.datepicker("getDate").valueOf()) {
				  isActive = date.valueOf() >= new Date().valueOf();
				} else {
				  isActive = date.valueOf() > checkin311099205.datepicker("getDate").valueOf();
				}

	            var Highlight = SelectedDates[date];

	            var HighlighText = SeletedText[date];

	            if (Highlight) {

	                return [isActive, "Highlighted", HighlighText];

	            }
	            else {
	                return [isActive, "", ""];
	            }
	        },autoclose: true

	    }).datepicker("setDate", blabladate);
	});

	//Code Ends
</script>
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /var/www/vhosts/elandalous-marrakech.com/httpdocs/wp-content/themes/elandalous/elandalous-functions.php:1463) in <b>/var/www/vhosts/elandalous-marrakech.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1831</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /var/www/vhosts/elandalous-marrakech.com/httpdocs/wp-content/themes/elandalous/elandalous-functions.php:1463) in <b>/var/www/vhosts/elandalous-marrakech.com/httpdocs/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1831</b><br />
{"id":1313,"date":"2017-10-02T10:00:43","date_gmt":"2017-10-02T09:00:43","guid":{"rendered":"http:\/\/www.elandalous-marrakech.com\/?page_id=1313"},"modified":"2017-10-02T10:49:25","modified_gmt":"2017-10-02T09:49:25","slug":"reservation-list-cure","status":"publish","type":"page","link":"https:\/\/www.elandalous-marrakech.com\/en\/reservation-list-cure\/","title":{"rendered":"Reservation list cure"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row el_id=&#8221;list_cure_reservation_iframe&#8221;][vc_column][vc_column_text][\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row el_id=&#8221;list_cure_reservation_iframe&#8221;][vc_column][vc_column_text][\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1313","page","type-page","status-publish","hentry"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"en","enabled_languages":["fr","en","ar"],"languages":{"fr":{"title":true,"content":true,"excerpt":false},"en":{"title":false,"content":false,"excerpt":false},"ar":{"title":false,"content":false,"excerpt":false}}},"acf":[],"_links":{"self":[{"href":"https:\/\/www.elandalous-marrakech.com\/en\/wp-json\/wp\/v2\/pages\/1313"}],"collection":[{"href":"https:\/\/www.elandalous-marrakech.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.elandalous-marrakech.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.elandalous-marrakech.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elandalous-marrakech.com\/en\/wp-json\/wp\/v2\/comments?post=1313"}],"version-history":[{"count":3,"href":"https:\/\/www.elandalous-marrakech.com\/en\/wp-json\/wp\/v2\/pages\/1313\/revisions"}],"predecessor-version":[{"id":1316,"href":"https:\/\/www.elandalous-marrakech.com\/en\/wp-json\/wp\/v2\/pages\/1313\/revisions\/1316"}],"wp:attachment":[{"href":"https:\/\/www.elandalous-marrakech.com\/en\/wp-json\/wp\/v2\/media?parent=1313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}