<!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_classname}>-<{$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" />
        <link rel="stylesheet" type="text/css" href="<{$web_siteurl}>plugins/extjs/ext-3.2/resources/css/ext-all.css" />
        <script type="text/javascript" src="<{$web_siteurl}>plugins/extjs/ext-3.2/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="<{$web_siteurl}>plugins/extjs/ext-3.2/ext-all.js"></script>
        <script type="text/javascript" src="<{$web_siteurl}>plugins/extjs/ext-3.2/ext-lang-zh_CN.js"></script>
        <script type="text/javascript" src="<{$t_dir}>js/jquery.js"></script>
        <script type="text/javascript" src="<{$t_dir}>js/ZeroClipboard.js"></script>
        <script type="text/javascript" src="<{$t_dir}>js/login.js"></script>
        <script type="text/javascript" src="<{$t_dir}>js/register.js"></script>
        <script type="text/javascript">
            $(document).ready(function(){
                $.get("admin/user.php?cmd=getUserId",function(data){
                    // alert(data);
                    if(data!=-1){
                        $(".userpanal").html("<span class='red'>"+data+"</span> ，欢迎您回来！<a href='admin/user.php?cmd=logout'>退出登录</a>");
                    }
                },"json")
            })
            function register(){
                regWin.show();
            }
            function login(){
                var myW = new loginWin({
                    modal:true,        //此处配置属性将覆盖子类中定义的默认配置属性modal:false
                    width:400,
                    height:170,
                    title:'游戏卡领取系统'
                }).show();
            }
           
        </script>
    </head>

    <body id="index_3">
        <div id="main">
            <{include file='header.html'}>
            <div id="middle_column">
                <h2 style="float: left">淘卡中心</h2>
                <div align="right" class="userpanal"><a href="javascript:void(0)" onclick="login()">登录</a>   <a href="javascript:void(0)" onclick="register()">注册</a></div>
                <div class="indent">
                    <div class="padding1 tao">
                        <br style="line-height:10px" />
                            <{$arr}>
                    </div>

                </div>
            </div>
            <div id="right_column">
            </div>
            <div class="clear"></div>
        </div>
        <{include file='foot.html'}>
        </div>
    </body>

</html>