<?php
defined('DT_ADMIN') or exit('Access Denied');
include tpl('header');
show_menu($menus);
?>
<form method="post">
<input type="hidden" name="moduleid" value="<?php echo $moduleid;?>"/>
<input type="hidden" name="file" value="<?php echo $file;?>"/>
<input type="hidden" name="action" value="<?php echo $action;?>"/>
<input type="hidden" name="itemid" value="<?php echo $itemid;?>"/>
<input type="hidden" name="forward" value="<?php echo $forward;?>"/>
<table cellspacing="0" class="tb"><tr>
<td class="tl">平台</td>
<td><?php echo $OAUTH[$user['site']]['name'];?></td>
</tr>
<tr>
<td class="tl">昵称</td>
<td><?php echo $user['nickname'];?></td>
</tr>
<tr>
<td class="tl">头像</td>
<td><img src="<?php echo $user['avatar'];?>" width="46" style="margin:5px 0 5px 0;" onerror="this.src='api/weixin/image/headimg.jpg';"/></td>
</tr>
<tr>
<td class="tl">会员 <span class="f_red">*</span></td>
<td><input type="text" size="30" name="name" id="name" value="<?php echo $user['username'];?>"/> <span id="dname" class="f_red"></span></td>
</tr>
</table>
<div class="sbt">
<input type="submit" name="submit" value="修 改" class="btn-g"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="取 消" class="btn" onclick="Go('?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>');"/>
</div>
</form>
<br/>
<script type="text/javascript">Menuon(0);</script>
<?php include tpl('footer');?>