<div class="form">
<fieldset>
    <legend>修改用户信息</legend>
    <table>
        <tr>
            <td>用户名: <span id="oname"><?php echo $member->username;?></span> <?php echo CHtml::link('改名', array('member/username', 'uid'=>$member->uid), array('id'=>'name'));?> <?php echo CHtml::link('重设密码', array('member/password','uid'=>$member->uid),array('id'=>'password'));?></td>
        </tr>
        <tr>
            <td>UID: <?php echo $member->uid;?> <?php echo CHtml::link('发短信', array('member/message', 'uid'=>$member->uid), array('id'=>'message'));?></td>
        </tr>
        <tr>
            <td>用户名组: <span id="ugroup"><?php echo $group->grouptitle;?></span> <?php echo CHtml::link('修改', array('member/usergroup', 'uid'=>$member->uid), array('id'=>'group'));?></td>
        </tr>
        <tr>
            <td>注册时间: <?php echo date('Y-m-d H:i:s', $member->regdate);?></td>
        </tr>
        <tr>
            <td>最后登录: <?php echo date('Y-m-d H:i:s', $member->lastvisit);?></td>
        </tr>
        <tr>
            <td>最后活跃: <?php echo date('Y-m-d H:i:s', $member->lastactivity);?></td>
        </tr>
        <tr>
            <td>在线时间: <?php echo $member->oltime;?></td>
        </tr>
        <tr>
            <td>积分: <?php echo $member->credits;?> <?php echo CHtml::link('修改', array('member/credit', 'uid'=>$member->uid), array('id'=>'credit'));?></td>
        </tr>
        <tr>
            <td>签名: <?php echo $field->sign;?></td>
        </tr>
        <tr>
            <td>勋章: <?php if (false !== $medals):?><?php foreach ($medals as $medal):?><?php echo CHtml::image($medal, '');?> <?php endforeach;?><?php endif;?> <?php echo CHtml::link('修改', array('member/medals', 'uid'=>$member->uid), array('id'=>'medals'));?> <?php echo CHtml::link('增加', array('member/addm', 'uid'=>$member->uid), array('id'=>'am'));?></td>
        </tr>
    </table>
</fieldset>
</div>

<?php
$this->widget('application.extensions.fancybox.EFancyBox', array(
    'target'=>'a#password,a#name,a#group,a#credit,a#medals,a#am,a#message',
    'config'=>array(
            'titleShow' => false,
            'scrolling' => false,
            'mouseEnabled' => false,
            'gallery' => false,
        ),
    )
);
?>