if (count($search->party) > 1) {
    ?>
			<p class="uk-margin-small">
				<strong><i class="uk-icon-bed"></i> <?php 
    echo CHClient::numstring(count($search->party), 'rooms');
    ?>
</strong>
				<small>
					<?php 
    foreach ($search->party as $i => $room) {
        ?>
						<br><?php 
        echo CHClient::sprintf('room_n', $i + 1);
        ?>
: <?php 
        echo CHClientDisplay::roomGuests($room->adults, count($room->children));
        ?>
					<?php 
    }
    ?>
				</small>
			</p>
		<?php 
}
?>

		<?php 
if ($config->display_inline_search) {
    ?>
			<p class="uk-margin-small">
				<a class="uk-button uk-button-mini" href="#" data-uk-toggle="{target:'#ch-availability-search', animation:'uk-animation-slide-bottom'}">
    }
    // special_conditions
    if ($room->special_conditions) {
        echo '<br><i class="uk-icon-calendar-times-o"></i> &nbsp;&nbsp;<span class="ch-text-block">' . CHClient::string('special_conditions') . '</span>';
    }
    // tip
    $rate_tip = '<strong>' . CHClient::string('cancellation') . '</strong>: ' . $room->rate->cancellation_policy;
    if ($room->free_cancellation) {
        $rate_tip .= '<br>' . CHClient::sprintf('free_cancellation_before', CHLibDate::dateToDisplay($room->rate->deadline, false));
    }
    $rate_tip .= '<br><strong>' . CHClient::string('prepayment') . '</strong>: ' . CHClient::string(CHClientDisplay::ratePrepayment($room->rate->conditions));
    echo ' <i class="uk-icon-info-circle" data-uk-tooltip title="' . $rate_tip . '"></i>';
    ?>
						<br>
						<i class="uk-icon-users"></i> &nbsp;&nbsp;<?php 
    echo CHClientDisplay::roomGuests($room->party->adults, $room->party->children, $room->party->babies);
    ?>
						<?php 
    if (isset($room->party->children) && $room->party->children) {
        ?>
							<i class="uk-icon-info-circle" data-uk-tooltip title="<?php 
        echo CHClient::sprintf('hotel_ages', $this->availability->results->ages->child, $this->availability->results->ages->adult);
        ?>
"></i>
						<?php 
    }
    ?>
						<?php 
    $board_icon = $board == 'bb' ? 'coffee' : ($board != 'ro' ? 'cutlery' : 'bed');
    ?>
						<br><i class="uk-icon-<?php 
<p class="uk-margin uk-margin-top uk-margin-small-left">
	<?php 
if (count($search->party) > 1) {
    ?>
		<?php 
    echo CHClient::sprintf('room_n', $unit + 1);
    ?>
: 
		<?php 
    echo CHClient::sprintf('rates_for_', CHClientDisplay::roomGuests($party->adults, $party->children, $party->babies));
    ?>
	<?php 
} else {
    ?>
		<?php 
    echo CHClient::sprintf('rates_for', CHClientDisplay::roomGuests($party->adults, $party->children, $party->babies));
    ?>
	<?php 
}
?>
	<?php 
if (isset($party->children) && $party->children) {
    ?>
		<i class="uk-icon-info-circle" data-uk-tooltip title="<?php 
    echo CHClient::sprintf('hotel_ages', $this->availability->results->ages->adult, $this->availability->results->ages->child);
    ?>
"></i>
	<?php 
}
?>
</p>