<?php Yii::app()->clientScript->scriptMap = array('jquery.js'=>false);?>
<h2>给 <?php echo $member->username;?> 发站内信</h2>
<div class="form">

<?php echo CHtml::beginForm();?>
<fieldset>
    <legend></legend>
    收件人:<?php echo CHtml::textField('msgto', $uid, array('size'=>10));?>
    <br/>
    标题:<?php echo CHtml::textField('subject', '', array('size'=>40));?>
    <br/>
    内容:<?php echo CHtml::textArea('message', '', array('rows'=>'10','cols'=>53));?>
    <br/>
    <?php echo CHtml::hiddenField('group', 0);?>
    <br/>
    <?php echo CHtml::ajaxSubmitButton('发送', array('message/group'), array('success'=>'js:function(){$.fancybox.close();}'));?>
</fieldset>
<?php echo CHtml::endForm();?>
</div>