id="search_form1" method="GET"> <?php $selectedCountryIndex = LocationCountry::getAllCountries()[0]; echo CHtml::dropDownList('country', $select, LocationCountry::getAllCountries(), ['class' => 'main-select-option', 'options' => [$selectedCountryIndex => ['selected' => 'selected']]]); ?> <?php $selectedRegionIndex = LocationRegion::getAllRegions()[0]; echo CHtml::dropDownList('region', $select, LocationRegion::getAllRegions(), ['class' => 'main-select-option', 'options' => [$selectedRegionIndex => ['selected' => 'selected']]]); ?> <?php $selectedCityIndex = LocationCity::getCities()[0]; echo CHtml::dropDownList('city', $select, LocationCity::getCities(), ['class' => 'main-select-option', 'options' => [$selectedCityIndex => ['selected' => 'selected']]]); ?> <?php $selectedObjIndex = ApartmentObjType::getApartmentObjects()[0]; echo CHtml::dropDownList('objectType', $select, ApartmentObjType::getApartmentObjects(), ['class' => 'main-select-option', 'options' => [$selectedObjIndex => ['selected' => 'selected']]]); ?> <?php echo CHtml::dropDownList('room', $select, Apartment::getExistsRooms(), ['class' => 'main-select-option']); ?> <input type="hidden" name="apartmentType" value="2"> <div class="price-counter"> <div class="list-slider"> <div class="slider-range"></div> <div class="slider-values"> <input class="min" name="priceIn" readonly value="0"> <input class="max" name="priceOut" readonly value="250000000"> </div>
<div class="table-responsive"> <form action="/usercpanel/main/placerent" method="POST"> <div class="content-side"> <div class="block-1"> <div class="col-1"> <div id="hire-id" class="select-col-1 check"> <span><input type="radio" name="renttype" value="1">Сдам</span> </div> <div id="sell-id" class="select-col-1"> <span><input type="radio" name="renttype" value="3">Продам</span> </div> </div> <div class="col-2"> <?php $selectedObjIndex = ApartmentObjType::getApartmentObjects()[0]; echo CHtml::dropDownList('objType', $select, ApartmentObjType::getApartmentObjects(), ['class' => 'long-select', 'options' => [$selectedObjIndex => ['selected' => 'selected']], 'id' => 'select-hire-id']); ?> <input class="short-input-pl" type="text" id="input-name" name="numOfRooms" value="" placeholder="Комнат"> <select id="arenda-time" class="short-select" name="rentlong"> <option selected="selected" value="1">Длительно</option> <option value="3">Посуточно</option> </select> <input class="short-input" type="text" name="price" size="40" placeholder="Стоимость"> <select class="more-short-select" name="moneyType"> <option value="1">Рубли</option> <option value="2">Доллары</option> </select> <input class="short-input" type="text" name="agentbonus" size="40" placeholder="% агенту"> <div class="block-1-bottom-logic"> <div class="box-1-bottom-logic-left"> <span class="text">Искать:</span>
<th scope="col" width="8%">Тип поиска</th> <th scope="col" width="9%">Этаж/этажей</th> <th scope="col" width="11%">Доп. сведения</th> <th scope="col" width="25%">Комментарии</th> </tr> <?php foreach ($rentorders as $rentorder) { ?> <tr> <td><img class="star-mark" src="<?php echo Yii::app()->theme->baseUrl . '/views/modules/usercpanel/images/content/star-mark.png'; ?> " width="15" height="15" alt=""/></td> <td><div class="tableObject"> <?php echo $rentorder->numOfRooms . '-к ' . ApartmentObjType::getApartmentObjects()[$rentorder->objTypeId]; ?> </td> <td><?php echo LocationCity::getCities()[$rentorder->loc_city_id] . ',' . $rentorder->stationName; ?> </td> <td><?php echo 'Общая:' . $rentorder->square . 'м2 Кухня:' . $rentorder->squareKitchen . 'м2'; ?> </td> <td> <?php echo $rentorder->price . ($rentorder->moneyType == 1 ? 'р.' : '$') . "<br>" . ApartmentsRents::getStrLabels($rentorder->searchRequirements); ?> </td>