?> </td> </tr> <?php $data = $this->list_of_city_districts; if ($data && count($data)) { ?> <tr> <td> Виберіть район: </td> <td> <?php echo RealEstateAgency_Util::htmlSelect('city_district', '', $data, $this->city_district, '', ''); ?> <?php } echo tools_validation_error('city_district', $this->validation); ?> </td> </tr> <tr> <td> Масив: </td> <td> <input type="text" name="city_sub_district"
<input type="hidden" name="page" value="district" /> <input type="hidden" name="object_id" <?php echo 'value="' . $this->escape($this->object_id) . '"'; ?> /> <?php if (!($this->sections_ready & RealEstateAgency_Const::FILTER_AREA)) { ?> Область: <?php $data = $this->list_of_areas->getArray(); echo RealEstateAgency_Util::htmlSelect('area_id', '', $data, $this->area_id, 'Всі області', ''); ?> <input type="submit" name="do_select" value="Фільтрувати" /> <?php } elseif ($this->filter_ready) { // Filter complete; echo '<a href="' . RealEstateAgency_Util::url(array('page' => 'district', 'filter_action' => 'reset_area')) . '">' . $this->escape($this->area_name) . ' область</a>'; echo '<br />'; ?> Назва району: <input type="text" name="object_name" <?php echo 'value="' . $this->escape($this->object_name) . '"'; ?>
<!-- select areas, button 'next' --> Область: <?php $data = $this->list_of_areas->getArray(); echo RealEstateAgency_Util::htmlSelect('area_id', '', $data, $this->area_id, 'Виберіть область', ''); ?> <input type="submit" name="do_select" value="Фільтрувати" /> <?php } elseif (!($this->sections_ready & RealEstateAgency_Const::FILTER_DISTRICT)) { ?> <?php echo '<a href="' . RealEstateAgency_Util::url(array('page' => 'settl', 'filter_action' => 'reset_area')) . '">' . $this->escape($this->area_name) . ' область</a>'; echo '<br />'; $data = $this->list_of_districts->getArray(); echo RealEstateAgency_Util::htmlSelect('district_id', '', $data, $this->district_id, 'Виберіть район', ''); ?> <input type="submit" name="do_select" value="Фільтрувати" /> <?php } elseif ($this->filter_ready) { ?> <?php // Filter complete; echo '<a href="' . RealEstateAgency_Util::url(array('page' => 'settl', 'filter_action' => 'reset_area')) . '">' . $this->escape($this->area_name) . ' область</a>'; echo '<br />'; echo '<a href="' . RealEstateAgency_Util::url(array('page' => 'settl', 'filter_action' => 'reset_district')) . '">' . $this->escape($this->district_name) . ' район</a>'; echo '<br />'; ?> Назва населеного пункту: <input type="text" name="object_name"
/> </span> <span class="filter"> <label>Кімнат </label> <input tabindex="1001" type="text" name="search_rooms" maxlength="2" size="2" <?php echo "value=\"" . $this->escape($this->search_rooms) . "\""; ?> /> </span> <span class="filter"> <label>Район / м.Київ </label> <?php echo RealEstateAgency_Util::htmlSelect('search_city_district', 'tabindex="1002"', tools_get_search_city_districts(), $this->search_city_district, '', ''); ?> </span> <span class="filter"> <label>Ціна, від </label> <input tabindex="1003" type="text" name="search_price_1" maxlength="7" size="7" <?php echo "value=\"" . $this->escape($this->search_price_1) . "\""; ?> /> <label>до </label> <input tabindex="1004" type="text" name="search_price_2" maxlength="7" size="7" <?php echo "value=\"" . $this->escape($this->search_price_2) . "\""; ?>
/> <?php echo tools_validation_error('external', $this->validation); ?> </td> </tr> <tr> <td> Наявність телефону: </td> <td> <?php $data = RealEstateAgency_Object_RealEstateObjectSupport::listOfTelephoneTypes(); echo RealEstateAgency_Util::htmlSelect('tel_type', '', $data, $this->tel_type, NULL, ''); echo tools_validation_error('tel_type', $this->validation); ?> </td> </tr> <tr> <td> Додаткова інформація: </td> <td> <textarea type="text" name="description" rows="3" cols="50"> <?php echo $this->escape($this->description); ?> </textarea>