Example #1
0
                                                        </div>
                                                        <div class="select-tex tex-marg-7">
                                                            <input type="checkbox" class="checkbox" name="condition[pets]" id="checkbox-27" />
                                                            <label for="checkbox-27">Можно с животными</label>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="select-id-house" style="display:none;">
                                        <div class="row-col-2">
                                            <input class="short-input" type="text" name="yearOther" size="40" placeholder="Год постройки">
                                            <?php 
$selectedBuildingIndex = ApartmentBuildingType::getBuildingTypes()[0];
echo CHtml::dropDownList('buildingTypeOther', $select, ApartmentBuildingType::getBuildingTypes(), ['class' => 'short-select', 'options' => [$selectedBuildingIndex => ['selected' => 'selected']]]);
?>
                                            <input class="short-input" type="text" name="numOfFloorsOther" size="40" placeholder="Этажность">
                                            <div class="block-1-bottom-logic marg-block-logic">
                                                <div class="logic-list">
                                                    <div class="select-text house-cb-1">
                                                        <input type="checkbox" class="checkbox" name="condition[parkinghouse]" id="checkbox-1" />
                                                        <label for="checkbox-1">Парковка</label>
                                                    </div>
                                                    <div class="select-text marg-spec-ch-2 house-cb-2">
                                                        <input type="checkbox" class="checkbox" name="condition[electricity]" id="checkbox-2" />
                                                        <label for="checkbox-2">Электричество</label>
                                                    </div>
                                                    <div class="select-text marg-spec-ch-3 house-cb-3">
                                                        <input type="checkbox" class="checkbox" name="condition[gas]" id="checkbox-3" />
                                                        <label for="checkbox-3">Газ</label>
Example #2
0
                            <!-- Comm prop -->
                            <div class="detail-comm-prop">
                                <div class="detail-row">
                                    <div class="conf-name">Срок аренды</div>
                                    <select id="rent" name="rent" class="short-select">
                                        <option value="1" selected="selected">Длительно</option>
                                        <option value="2">Посуточно</option>
                                    </select>
                                </div>
                                <div class="detail-row">
                                    <div class="conf-name">Здание</div>
                                    <ul class="term-of-lease select-ul">
                                        <li>
                                            <?php 
$selectedBuildingIndex = ApartmentBuildingType::getBuildingTypes()[0];
echo CHtml::dropDownList('buildingType', $select, ApartmentBuildingType::getBuildingTypes(), ['id' => 'buildingtype', 'options' => [$selectedBuildingIndex => ['selected' => 'selected']]]);
?>
                                        </li>
                                    </ul>
                                    <span class="list-desc">Этаж</span>
                                    <ul class="term-of-lease select-ul">
                                        <li><input class="input_det" type="text" placeholder="От" id="floorMin"
                                                   name="floorMin"></li>
                                        <li><input class="input_det" type="text" placeholder="До" id="floorMax"
                                                   name="floorMax"></li>
                                    </ul>
                                    <span class="list-desc spec-margin-3">Кроме</span>
                                    <ul class="term-of-lease select-ul radio-btn">
                                        <li>
                                            <input type="checkbox" id="floorFirst" name="floorFirst"/>
                                            <label for="floorFirst">первого</label>