public function loadModel($id) { $model = ProMasterFloor::model()->findByPk($id); if ($model === null) { throw new CHttpException(404, 'The requested page does not exist.'); } return $model; }
</div> </div> <div class="anhdung_Tenant"> <?php echo $form->labelEx($model, 'floor_size', array('label' => 'Floor Size', 'class' => 'lb')); ?> <div class="clearfix"> <div class="col-1"> <?php echo $form->dropDownList($model, 'min_floor_size', ProMasterFloor::getListOption(), array('empty' => 'Minimum', 'id' => 'minimum_floor_engage_rent')); ?> </div> <div class="col-2"> <?php echo $form->dropDownList($model, 'max_floor_size', ProMasterFloor::getListOption(), array('empty' => 'Maximum', 'id' => 'maximum_floor_engage_rent')); ?> </div> <?php echo $form->error($model, 'min_floor_size'); ?> <?php echo $form->error($model, 'max_floor_size'); ?> </div> </div> <div class="anhdung_Tenant"> <?php // echo $form->labelEx($model,'furnishing_include',array('label'=>'Furnishing ','class'=>'lb')); ?>
?> </div> </div> </div> <div class="form-group sidebar-tab"> <label class="control-label">Floor Size</label> <div class="row"> <div class="col-xs-6"> <?php echo CHtml::dropDownList('minimum_floor', $s_minimum_floor, ProMasterFloor::getListOption(), array('empty' => 'Minimum', 'class' => 'form-control')); ?> </div> <div class="col-xs-6"> <?php echo CHtml::dropDownList('maximum_floor', $s_maximum_floor, ProMasterFloor::getListOption(), array('empty' => 'Maximum', 'class' => 'form-control')); ?> </div> </div> </div> <div class="form-group sidebar-tab"> <label class="control-label">Lease Term</label> <?php echo CHtml::dropDownList('LeaseTerm', $s_LeaseTerm, Listing::getDropdownlistWithTableName('ProMasterLeaseTerm', 'id', 'name'), array('empty' => 'Select', 'class' => 'form-control')); ?> </div> <div class="form-group sidebar-tab div_furnished_tenure_for_rent hide div_furnished_tenure"> <label class="control-label">Furnished</label> <?php
<!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation"><a href="#sale-search" class="for_sale" aria-controls="home" role="tab" data-toggle="tab">For Sale</a> </li> <li role="presentation" class="active"><a href="#sale-search" class="for_rent" aria-controls="profile" role="tab" data-toggle="tab">For Rent</a> </li> </ul> <!-- Tab panes --> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="sale-search"> <form action="<?php echo $this->createUrl('site/index'); ?> " method="GET"> <input type="hidden" name="listing_for" value="for_rent" id="listing_for"/> <div class="row"> <div class="col-sm-3 form-group"> <div class="select-wrap"> <?php $this->renderPartial('application.components.views.property_search_type'); ?> </div> </div> <div class="col-sm-9 form-group"> <input name="keywords" type="text" class="form-control" placeholder="Property Name, Address or Postal Code"/> </div> </div> <div class="row"> <div class="col-sm-3 form-group"> <label class="control-label" for="">Location:</label> <div class="multi-select-wrap wrap_multiselect_location hide">
<?php echo $form->error($model, 'furnished'); ?> <?php echo $form->labelEx($model, 'floor_size', array('label' => 'Floor Size', 'class' => 'lb')); ?> <div class="clearfix"> <div class="col-1"> <?php echo $form->dropDownList($model, 'min_floor_size', ProMasterFloor::getListMinimumFloor("enquiry"), array('empty' => 'Minimum')); ?> </div> <div class="col-2"> <?php echo $form->dropDownList($model, 'max_floor_size', ProMasterFloor::getListMaximumFloor("enquiry"), array('empty' => 'Maximum')); ?> </div> <?php echo $form->error($model, 'min_floor_size'); ?> <?php echo $form->error($model, 'max_floor_size'); ?> </div> <div class="rent2"> <?php echo $form->labelEx($model, 'availability', array('label' => 'Availability', 'class' => 'lb')); ?> <?php