<?php
 include template("header"); ;echo '<div id="menu2">
    <a href="http://item.taobao.com/auction/item_detail.htm?item_num_id=7646745731">充值500元</a>
    <a href="http://item.taobao.com/auction/item_detail.htm?item_num_id=7647031051">充值1000元</a>
    <a href="http://item.taobao.com/auction/item_detail.htm?item_num_id=7646882973">充值2000元</a>
    <a href="'; echo WEB_ROOT; ;echo '/account/flow.php">账务记录</a>
</div>
<div id="data">
    <h2>'; echo $login_user['username'] ;echo '&nbsp;&nbsp;（账户余额：'; echo $login_user['money']; ;echo '）</h2>
    &nbsp;&nbsp;用户级别：'; echo $login_user['level'] ;echo '&nbsp;&nbsp;注册时间：'; echo date('Y-m-d H:i:s',$login_user['create_time']) ;echo '&nbsp;&nbsp;最近登录：'; echo date('Y-m-d H:i:s',$login_user['login_time']) ;echo '    <br /><br />
    <form id="account_form" action="'; echo WEB_ROOT; ;echo '/account/index.php" method="post">
    <table>
        <tr><td>密码</td><td><input type="password" name="password" value="'; echo $login_user['password'] ;echo '" onfocus="this.select()" /></td>
            <td>密码（重复）</td><td><input type="password" name="password2" value="'; echo $login_user['password'] ;echo '" onfocus="this.select()" /></td></tr>
        <tr><td>真实姓名</td><td><input type="text" name="realname" value="'; echo $login_user['realname'] ;echo '" /></td>
            <td>移动电话</td><td><input type="text" name="mobile" value="'; echo $login_user['mobile'] ;echo '" /></td></tr>
        <tr><td>性别</td><td><input type="text" name="gender" value="'; echo $login_user['gender'] ;echo '" />（M男，F女）</td>
            <td>QQ</td><td><input type="text" name="qq" value="'; echo $login_user['qq'] ;echo '" /></td></tr>
        <tr><td>电子邮件</td><td><input type="text" name="email" value="'; echo $login_user['email'] ;echo '" /></td>
            <td>邮政编码</td><td><input type="text" name="zipcode" value="'; echo $login_user['zipcode'] ;echo '" /></td></tr>
        <tr><td>地址</td><td colspan="3"><input size="50" type="text" name="address" value="'; echo $login_user['address'] ;echo '" /></td></tr>
        
    </table>
    </form>
</div>

<div id="op">
    <h2>【<a href="javascript:if(confirm(\'确定修改个人资料吗？\'))$(\'#account_form\').submit()">确定修改</a>】</h2>
</div>
<div id="help">help</div>
'; include template("footer"); ?>
