<?php
/* @var $this OwnerController */
/* @var $dataProvider CActiveDataProvider */

//$this->breadcrumbs = array(
//    'Owners',
//);

//$this->menu = array(
//    array('label' => 'Create Owner', 'url' => array('create')),
//    array('label' => 'Manage Owner', 'url' => array('admin')),
//);
?>

<h4>Search</h4>
<?php if(Yii::app()->user->hasFlash('error')):?>
    <div class="info">
        <h5 style="color: red;"><?php echo Yii::app()->user->getFlash('error'); ?></h5>
    </div>
<?php endif; ?>
<div class="form">

    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'owner-form',
        'enableAjaxValidation' => false,
    ));
    ?>


    <div class="row">
        <?php echo $form->labelEx($model, 'phone'); ?>
        <?php echo $form->textField($model, 'phone'); ?>
        <?php echo $form->error($model, 'phone'); ?>
    </div>



    <div class="row buttons">
        <?php echo CHtml::submitButton($model->isNewRecord ? 'Search' : 'Save'); ?>
    </div>

    <?php $this->endWidget(); ?>

</div><!-- form -->
<?php
//$this->widget('zii.widgets.CListView', array(
//	'dataProvider'=>$dataProvider,
//	'itemView'=>'_view',
//));
?>
<script type="text/javascript">
function ref() {
 var var1 = 32, var2 = 10;
 location.href = location.href+'?var1='+var1+'&var2='+var2;
}
</script>
