🔓 Ultimate Webshell - Penetration Testing Tool

📖 File Reader

<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="__PUBLIC__/admin_component/pear/css/pear.css" />
    <link rel="stylesheet" href="__PUBLIC__/admin_component/admin/css/reset.css" />
    <link rel="stylesheet" href="__PUBLIC__/admin_component/admin/css/loader.css" />
    <link rel="stylesheet" href="__PUBLIC__/admin_component/admin/css/admin.css" />
    <link rel="stylesheet" href="__PUBLIC__/admin_component/admin/css/other/profile.css" />
    <style>
        .pear-container {margin: 0px;}
        .user-name {padding-top: 0px;}
        .layui-text p {margin: 0px 0;}
        .user-home {padding-top: 0px;margin-top: 0px;}
    </style>
</head>

{include file="public/vue"/}
<body>
<div class="pear-container" id="vue">
    <div class="layui-row layui-col-space10">
        <div class="layui-col-md3">
            <!--个人信息-->
            <div class="layui-card">
                <div class="layui-card-body" >
                    <div class="text-center layui-text">
                        <div class="user-info" id="userInfoHead">
                            {if $admin_info.head == ''}
                            <img src="__PUBLIC__/admin_component/admin/images/avatar.jpg"  width="115px" height="115px"
                                 alt="">
                            {/if}
                            {if $admin_info.head != ''}
                            <img src="{$admin_info.head}"  width="115px" height="115px"
                                 alt="">
                            {/if}
                        </div>
                        <h2 class="user-name">{$admin_info.user_name}</h2>
                        <p class="user-home">职位:{$admin_info.role_name}</p>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
</body>
<script src="__PUBLIC__/admin_layui/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script>
    var vm = new Vue({
        el: '#vue',
        data: {
            'order_money': 0,
            'order_count': 0,
            'visitor_count': 0,
            'time_month': 0,
            'active_count': 0,
            'leave_word':[],//留言信息
        },
        methods: {
            load: function () {
                var that = this;
                $.ajax({
                    type: "POST",
                    url: "{:Url('Index/statistics')}",
                    data: {},
                    dataType: "json",
                    success: function (res) {
                        that.order_money = res.data.order_money;
                        that.order_count = res.data.order_count;
                        that.visitor_count = res.data.visitor_count;
                        that.time_month = res.data.time_month;
                        that.active_count = res.data.active_count;
                    }
                });
            },
            /*留言信息*/
            LeaveWord(){
                var that = this;
                req_post('/admin/Config/leave_word_list_ajax', {'page':1,'limit':8}).then(res => {
                    that.leave_word = res.data;
                });
            },
            /*留言回复处理*/
            LeaveEdit(id){
                parent.layer.open({
                    type: 2,
                    title: '查看',
                    shadeClose: true,
                    shade: 0.5,
                    maxmin: true, //开启最大化最小化按钮
                    area: ['70%','80%'],
                    content:'/admin/Config/leave_word_update?id='+id,
                    end:function() {
                    }
                });
            },
        },
        created() {
            var is_seal = "{$admin_info.is_seal}";
            var seal_describe = "{$admin_info.seal_describe}";
            var time_deblocking = "{$admin_info.time_deblocking}";
            if (is_seal == 1) {
                var gonggao = parent.layer.confirm(seal_describe,{

                    title:"店铺已封闭!解冻时间:"+time_deblocking,
                    btn: ['确定'],
                    shade: 0.5, //不显示遮罩
                    closeBtn: 0
                }, function () {
                    parent.layer.close(gonggao);
                });
            }
            this.load();
            this.LeaveWord();
        }
    })
</script>
</html>