echo JTEXT::_('MOD_BOOKINGFORSEARCH_TO'); ?> </span><br /> <?php //$checkouttext = '"<div class=\'buttoncalendar checkoutli\'><div class=\'dateone day\'><span>'.$checkout->format("d").'</span></div><div class=\'dateone daterwo monthyear\'><p>'.$checkout->format("D").'<br />'.$checkout->format("M").' '.$checkout->format("Y").' </p></div><div class=\'dateone\'><i class=\'fa fa-calendar\'></i></div></div>"'; $checkouttext = '"<div class=\'buttoncalendar checkoutli' . $currModID . '\'><div class=\'dateone day\'><span>' . $checkout->format("d") . '</span></div><div class=\'dateone daterwo monthyear\'><p>' . $checkout->format("D") . '<br />' . $checkout->format("M") . ' ' . $checkout->format("Y") . ' </p></div></div>"'; ?> <div class="dateone lastdate"><input type="hidden" name="checkout" value="<?php echo $checkout->format('d/m/Y'); ?> " id="<?php echo $checkoutId; ?> " /></div> <?php echo htmlHelper::calendarimage($checkout->format('m/d/Y'), 'checkout', $checkoutId, 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => 'calendar'), true, array('numberOfMonths' => 2, 'onClose' => 'function(dateText, inst) { jQuery(this).attr("disabled", false);insertNight' . $currModID . '(); }', 'beforeShow' => 'function(dateText, inst) { jQuery(this).attr("disabled", true); insertCheckoutTitle' . $currModID . '(); }', 'onSelect' => 'function(date) { printChangedDate' . $currModID . '(date, jQuery(this)); }', 'onChangeMonthYear' => 'function(dateText, inst) { insertCheckoutTitle' . $currModID . '(); }', 'minDate' => '\'+1d\'', 'showOn' => '"button"', 'beforeShowDay' => 'closed' . $currModID, 'buttonText' => $checkouttext, 'firstDay' => 1)); ?> </div> <div class="<?php echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL; ?> 2 <?php echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COLSMALL; ?> 2"> <div class="calendarnight" id="calendarnight<?php echo $durationId; ?> "><?php echo $duration->format('%a'); ?>