Esempio n. 1
0
<div class="in-row clearfix">
    <?php 
echo $form->labelEx($model, 'contact_name_no', array('class' => 'lb-1'));
?>
    <div class="group-1">
        <?php 
echo $form->textField($model, 'contact_name_no', array('class' => 'text'));
?>
        <div class="clear" style='clear: both;'></div>
        <?php 
echo $form->error($model, 'contact_name_no');
?>
    </div>
</div>

<div class="in-row clearfix">
    <?php 
echo $form->labelEx($model, 'dnc_expiry_date', array('class' => 'lb-1'));
?>
    <div class="group-1">
        <?php 
$this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $model, 'attribute' => 'dnc_expiry_date', 'options' => array('showAnim' => 'fold', 'dateFormat' => ActiveRecord::getDateFormatSearch(), 'changeMonth' => true, 'changeYear' => true, 'showOn' => 'button', 'buttonImage' => Yii::app()->theme->baseUrl . '/admin/images/icon_calendar_r.gif', 'buttonImageOnly' => true), 'htmlOptions' => array('class' => 'text', 'style' => 'width:166px;', 'readonly' => 'readonly')));
?>
         
        <div class="clear" style='clear: both;'></div>
        <?php 
echo $form->error($model, 'dnc_expiry_date');
?>
    </div>
</div>
Esempio n. 2
0
echo $form->label($model, 'type', array('class' => 'lb', 'label' => 'Type'));
?>
                            <div class="group-5">
                            <?php 
echo $form->dropDownList($model, 'type', Listing::$aTextSaleRent, array('empty' => 'All', 'class' => ''));
?>
                                </div>
                        </div>
                    </div>
                    <div class="col-2">
                        <div class="in-row clearfix">
                            <?php 
echo $form->labelEx($model, 'SubmittedTo', array('class' => 'lb'));
?>
                            <?php 
$this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $model, 'attribute' => 'SubmittedTo', 'options' => array('showAnim' => 'fold', 'dateFormat' => ActiveRecord::getDateFormatSearch(), 'changeMonth' => true, 'changeYear' => true, 'showOn' => 'button', 'buttonImage' => Yii::app()->theme->baseUrl . '/img/calendar-ico.png', 'buttonImageOnly' => true), 'htmlOptions' => array('class' => 'text w-7', 'style' => 'float:left')));
?>
                        </div>
                        
                        
                        <div class="in-row clearfix">
                            <?php 
echo CHtml::submitButton('Search', array('class' => 'btn-3 f-right', 'style' => ''));
?>
                        </div>
                    </div>
                </div>
            </div>	
            <a href="<?php 
echo Yii::app()->createAbsoluteUrl('member/member_profile/createTransaction', array('type' => Listing::FOR_RENT, 'list' => 'transaction', 'add_property' => ProTransactions::ADD_UNLISTED));
?>
Esempio n. 3
0
	</div>
	<div class="row">
		<?php 
echo $form->label($model, 'ext_listing_type_id');
?>
		<?php 
echo $form->dropDownList($model, 'ext_listing_type_id', ProTransactionsPropertyDetail::$aListingType, array('empty' => 'All', 'class' => ''));
?>
	</div>

	<div class="row">
		<?php 
echo $form->label($model, 'created_date');
?>
		<?php 
$this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $model, 'attribute' => 'created_date', 'options' => array('showAnim' => 'fold', 'dateFormat' => ActiveRecord::getDateFormatSearch(), 'changeMonth' => true, 'changeYear' => true, 'showOn' => 'button', 'buttonImage' => Yii::app()->theme->baseUrl . '/img/calendar-ico.png', 'buttonImageOnly' => true), 'htmlOptions' => array('style' => 'width: 200px;margin-right:10px;')));
?>
	</div>



	<div class="row buttons" style="padding-left: 159px;">
		        <?php 
$this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'label' => Yii::t('translation', 'Search'), 'type' => 'null', 'size' => 'small'));
?>
	</div>

<?php 
$this->endWidget();
?>
Esempio n. 4
0
    fnBindDateFilter();
});


function fnBindDateFilter(){
    $('.ad_datepicker input').datepicker({
        changeMonth:true,
        changeYear:true,
//        showOn: 'button',
//        buttonImage: '<?php 
echo Yii::app()->theme->baseUrl . '/img/calendar-ico.png';
?>
',
//        buttonImageOnly: true,
        dateFormat: '<?php 
echo ActiveRecord::getDateFormatSearch();
?>
',
    });
    
}

</script>

<link rel="stylesheet" href="<?php 
echo Yii::app()->theme->baseUrl;
?>
/css/verz_custom.css" />
<style>
/*for search index*/
/*.choose-list { position: relative; z-index: 10; }