<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员中心-<{$web_site}></title>
        <link href="<{$t_dir}>style.css" rel="stylesheet" type="text/css" />
        <link href="<{$t_dir}>layout.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<{$t_dir}>js/jquery.js"></script>
        <link rel="stylesheet" type="text/css" href="plugins/extjs/ext-3.2/resources/css/ext-all.css" />
        <script type="text/javascript" src="plugins/extjs/ext-3.2/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="plugins/extjs/ext-3.2/ext-all.js"></script>
        <script type="text/javascript" src="plugins/extjs/ext-3.2/ext-lang-zh_CN.js"></script>
        <script type="text/javascript" src="<{$t_dir}>js/login.js"></script>
        <script type="text/javascript">
            $(document).ready(function(){
                var error=$(".error").html();
                if("对不起，您还没有登录！"==error){
                    $(".logout").html("");
                    var myW = new loginWin({
                            modal:true,        //此处配置属性将覆盖子类中定义的默认配置属性modal:false
                            width:400,
                            height:170,
                            title:'游戏卡领取系统',
                            applyTo:"login"
                    }).show();
                }
            })
        </script>
</head>

<body id="index_3">
	<div id="main">
		<{include file='header.html'}>
			<div id="middle_column">
				<div class="indent">
                                    <div align="right" class="logout"><a href="admin/user.php?cmd=logout">退出登录</a></div>
                                    <{if $error eq 1}>                                    
                                    <div class="error"><{$info}></div>
                                    <div id="login">
                                        
                                    </div>
                                    <{/if}>
                                    <{if $error eq 0}>
					<div class="padding1">						
                                            <span class="red"><{$uname}></span> 的个人信息&nbsp;&nbsp;&nbsp;&nbsp;<a href="member.php?cmd=edit&id=<{$id}>">修改密码</a>
                                                <p style="margin-top: 8px;">
                                                    Email:&nbsp;<{$email}>
                                                </p>
                                            <div class="edituser">
                                                <div>用户名：<{$uname}></div>
                                                <div>新密码:<input type="password" name="password" /></div>
                                                <div>重复密码:<input type="password" name="repw" /></div>
                                            </div>
                                        </div>
					<br style="line-height:19px" />
                                        <h3>最近领卡动态：</h3>
                                        <br style="line-height:9px" />
                                        <{section name=l loop=$cards}>
                                            <ul>
                                                <li style="width:389px;"><span style="float:left">[<{$cards[l].gameclassname}>]  卡号：<{$cards[l].number}></span>
                                                    <span style="float:right;">领取时间:<{$cards[l].getTime}></span>
                                                </li>
                                            </ul>
                                        <{/section}>                                        
                                            <div class="clear"></div>
                                            <div align="right" style="margin-top:8px;"><{$pagenav}></div>
                                        <{/if}>
				</div>
			</div>
			<div id="right_column"></div>
			<div class="clear"></div>
		</div>
		<{include file='foot.html'}>
	</div>
</body>

</html>