<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	<div class="row">
		<?php echo $form->label($model,'body_raw'); ?>
		<?php echo $form->textArea($model,'body_raw',array('rows'=>6, 'cols'=>50)); ?>
	</div>

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

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

</div><!-- search-form -->