Отели Мини-отели Бронирование отелей "; $main =""; if(!isset($arrival)) $arrival=date("Y-m-d"); if(!isset($departure)) $departure=date("Y-m-d"); IF(isset($uAction)) { $arrival=date("Y-m-d", mktime(0,0,0,$fmnth,$fday,$fyear)); $departure=date("Y-m-d", mktime(0,0,0,$tmnth,$tday,$tyear)); $rsql =" (`Season00` <= '$arrival' AND `Season01` >= '$arrival' AND `rate01` >= $rfrom AND `rate01` <= $rto) "; # Поиск по стоимости номера сезон 0 $rsql .=" OR (`Season10` <= '$arrival' AND `Season11` >= '$arrival' AND `rate11` >= $rfrom AND `rate11` <= $rto) "; # Поиск по стоимости номера сезон 1 $rsql .=" OR (`Season20` <= '$arrival' AND `Season21` >= '$arrival' AND `rate21` >= $rfrom AND `rate21` <= $rto) "; # Поиск по стоимости номера сезон 2 $main .=hSearch (" `hShow`='да'",$rsql)."

 

"; } $main .="
Дата заезда ".SelectDate("fday","fmnth","fyear",$arrival,"fill")."
Дата выезда".SelectDate("tday","tmnth","tyear",$departure,"fill")."
Стоимость номера".SelectPrice($rfrom,$rto)."
 
"; require_once($_SERVER["DOCUMENT_ROOT"]."/template/page.php"); ?>