Beispiel #1
0
        
        <!--<div id="renttype2" class="rent-content-tenant" style="display:none;">-->

            <div class="anhdung_Tenant">
                <?php 
echo $form->labelEx($model, 'price', array('label' => 'Price', 'class' => 'lb'));
?>
                <div class="clearfix">
                    <div class="col-1">
                        <?php 
echo $form->dropDownList($model, 'min_price', ProMasterPrice::getListOption(ProMasterPrice::PRICE_FOR_RENT), array('empty' => 'Minimum', 'id' => 'minimum_price_engage_rent'));
?>
                    </div>
                    <div class="col-2">
                        <?php 
echo $form->dropDownList($model, 'max_price', ProMasterPrice::getListOption(ProMasterPrice::PRICE_FOR_RENT), array('empty' => 'Maximum', 'id' => 'maximum_price_engage_rent'));
?>
                    </div>
                    <?php 
echo $form->error($model, 'min_price');
?>
                    <?php 
echo $form->error($model, 'max_price');
?>
                </div>
            </div>

            <div class="anhdung_Tenant">
                <?php 
echo $form->labelEx($model, 'bedrooms', array('label' => 'Bedrooms', 'class' => 'lb'));
?>
Beispiel #2
0
                <?php 
echo CHtml::dropDownList('s_sort', $s_sort, Listing::$S_SORT_BY, array('empty' => '-', 'class' => 'form-control'));
?>
            </div>

            <div class="form-group clearfix">
                <button type="submit" class="btn-3 pull-right">SEARCH</button> 
            </div>
        </form>
    </div>
</div>

<div class="hide">
<?php 
echo CHtml::dropDownList('price_sale_hide', '', ProMasterPrice::getListOption(ProMasterPrice::PRICE_FOR_SALE), array('empty' => 'Minimum', 'class' => 'price_sale_hide_for_sale'));
echo CHtml::dropDownList('price_rent_hide', '', ProMasterPrice::getListOption(ProMasterPrice::PRICE_FOR_RENT), array('empty' => 'Minimum', 'class' => 'price_sale_hide_for_rent'));
?>
</div>

<?php 
Yii::app()->clientScript->registerCoreScript('jquery.ui');
Yii::app()->clientScript->registerCssFile(Yii::app()->clientScript->getCoreScriptUrl() . '/jui/css/base/jquery-ui.css');
?>
<script>
    $(function(){
        $('.more_search_options').click(function(){
            $('.more_search_box').slideToggle();            
        });
        
        <?php 
if (isset($_GET['s_sort']) && !empty($_GET['s_sort']) || isset($_GET['minimum_psf']) && !empty($_GET['minimum_psf']) || isset($_GET['maximum_psf']) && !empty($_GET['maximum_psf']) || isset($_GET['listed_on']) && !empty($_GET['listed_on']) || isset($_GET['minimum_constructed']) && !empty($_GET['minimum_constructed']) || isset($_GET['maximum_constructed']) && !empty($_GET['maximum_constructed']) || isset($_GET['option']) && !empty($_GET['option'])) {
Beispiel #3
0
						<?php 
echo $form->label($model, 'user_id', array('class' => 'lb', 'label' => 'Telemarketer'));
?>
						<div class="group-5">
							<?php 
echo $form->dropdownList($model, 'user_id', CHtml::listData(Users::getTelemarketers(), 'id', 'name_for_slug'), array('empty' => '--All--'));
?>
						</div>
					</div>
					<div class="in-row clearfix">
						<?php 
echo $form->label($model, 'price', array('class' => 'lb', 'label' => 'Max Price'));
?>
						<div class="group-5">
							<?php 
echo $form->dropDownList($model, 'price', ProMasterPrice::getListOption(ProMasterPrice::PRICE_FOR_RENT), array('empty' => 'Maximum'));
?>
						</div>
					</div>
				</div>

				<div class="col-1">
					<div class="in-row clearfix r_margin_20">
						<input type="submit" value="Search" name="yt0" style="width:120px;float:left !important;" class="btn-3 f-right submit_search_trans">
					</div>
				</div>
			</div>
		</div>	            
	</div>
	<?php 
$this->endWidget();
Beispiel #4
0
    <?php 
echo $form->error($model, 'location_id');
?>

    <?php 
echo $form->labelEx($model, 'price', array('label' => 'Price', 'class' => 'lb'));
?>
    <div class="clearfix">
        <div class="col-1">
            <?php 
echo $form->dropDownList($model, 'min_price', ProMasterPrice::getListOption(ProMasterPrice::PRICE_FOR_SALE), array('empty' => 'Minimum', 'id' => 'minimum_price_engage', 'class' => 'enquiry_minimum_price'));
?>
        </div>
        <div class="col-2">
            <?php 
echo $form->dropDownList($model, 'max_price', ProMasterPrice::getListOption(ProMasterPrice::PRICE_FOR_SALE), array('empty' => 'Maximum', 'id' => 'maximum_price_engage', 'class' => 'enquiry_maximum_price'));
?>
        </div>
        <?php 
echo $form->error($model, 'min_price');
?>
        <?php 
echo $form->error($model, 'max_price');
?>
    </div>

    <?php 
echo $form->labelEx($model, 'bedrooms', array('label' => 'Bedrooms', 'class' => 'lb'));
?>
    <div class="clearfix">
        <div class="col-1">
        </div>
    </div>
    <div class="row in-row">
        <div class="col-xs-6">
            <label class="lb">Price</label>
            <div class="row">
                <div class="col-xs-6">
                    <?php 
echo CHtml::dropDownList('minimum_price', $s_minimum_price, ProMasterPrice::getListOption($PriceType), array('empty' => 'Minimum', 'class' => 'minimum_price'));
?>

                </div>
                <div class="col-xs-6">
                    <?php 
echo CHtml::dropDownList('maximum_price', $s_maximum_price, ProMasterPrice::getListOption($PriceType), array('empty' => 'Maximum', 'class' => 'maximum_price'));
?>

                </div>
            </div>
        </div>
        <div class="col-xs-6">
            <div class="div_furnished_tenure_for_sale display_none div_furnished_tenure">
                <label class="lb">Tenure</label>
                <?php 
echo CHtml::dropDownList('tenure', $sTenure, Listing::getDropdownlistWithTableName('ProMasterTenure', 'id', 'name'), array('class' => '', 'empty' => 'All tenure'));
?>

            </div>
            <div class="div_furnished_tenure_for_rent  display_none div_furnished_tenure">
                <label class="lb">Furnished</label>