<!doctype html>
<html  class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>广厦网络基站综合管理平台</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" href="__STATIC__/xadmin/css/font.css">
    <link rel="stylesheet" href="__STATIC__/xadmin/css/login.css">
    <link rel="stylesheet" href="__STATIC__/xadmin/css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="__STATIC__/xadmin/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="__STATIC__/xadmin/js/xadmin.js"></script>
</head>
<body>
<script type="text/javascript">
    layui.use(['form', 'layer'],
        function() {
            $ = layui.jquery;
            var layer = layui.layer;

            var msg = '<?php echo(strip_tags($msg));?>';
            var iurl = '<?php echo($url);?>';
            var wait = '<?php echo($wait);?>';
            var _data = '<?php echo($data);?>';
            <?php
                switch ($code) {
                    case 1:
                            ?>
                        layer.msg(msg,{icon:"6",time:wait*1000});
                    <?php
                        break;
                    case 0:
                            ?>
                        layer.msg(msg,{icon:"5",time:wait*1000});
                    <?php
                        break;
                }
                    ?>
                setTimeout(function(){
                    if(_data=='close'){
                        xadmin.close();
                    }
                    location.href=iurl;
                },1000)
            });

</script>
</body>
</html>