HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/mm.paycheckc.com/data/runtime/temp/9f99c79e2ebeea7a55e05ba6bc21d355.php
<?php /*a:2:{s:79:"/www/wwwroot/mm.paycheckc.com/public/themes/admin_default/admin/main/index.html";i:1746023948;s:75:"/www/wwwroot/mm.paycheckc.com/public/themes/admin_default/public/base5.html";i:1746023948;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link href="/themes/admin_default/public/assets/themes/<?php echo cmf_get_admin_style('arcoadmin'); ?>/bootstrap5/bootstrap.min.css"
          rel="stylesheet">
    <link href="/themes/admin_default/public/assets/simpleboot/css/simplebootadmin.css" rel="stylesheet">
    <link href="/themes/admin_default/public/assets/fontawesome/css/all.min.css" rel="stylesheet" type="text/css">
    <link href="/themes/admin_default/public/assets/fontawesome/css/v4-shims.min.css" rel="stylesheet" type="text/css">
    <link href="/themes/admin_default/public/assets/themes/<?php echo cmf_get_admin_style('arcoadmin'); ?>/simplebootadmin.css" rel="stylesheet">
    <?php 
        $admin_id=cmf_get_current_admin_id();
        $_is_mobile=cmf_is_mobile();
        $_static_version='1.0.5';
        $cmf_version=cmf_version();
        if (preg_match("/^(8|6)\./",$cmf_version)) {
        $_app=app()->http->getName();
        }else{
        $_app=request()->module();
        }
     ?>
    <script type="text/javascript">
        //全局变量
        var GV = {
            ROOT: "/",
            WEB_ROOT: "/",
            JS_ROOT: "static/js/",
            API_ROOT: {api: '/api/'},
            APP: '<?php echo $_app; ?>'/*当前应用名*/,
            IS_MOBILE: <?php echo !empty($_is_mobile) ? 'true'  :  'false'; ?>,
            lang: function (langKey, params) {
                var lang = {
                    LOGIN_INVALID_TIPS: "<?php echo lang('LOGIN_INVALID_TIPS'); ?>",
                    'Please select at least one': "<?php echo lang('Please select at least one'); ?>",
                    Close: "<?php echo lang('CLOSE'); ?>",
                    'You sure you want to delete it?': "<?php echo lang('You sure you want to delete it?'); ?>",
                    'OK': "<?php echo lang('OK'); ?>",
                    'Are you sure you want to do this?': "<?php echo lang('Are you sure you want to do this?'); ?>"
                };

                return typeof lang[langKey] === 'undefined' ? langKey : lang[langKey];

            }
        };
    </script>
    <script src="/themes/admin_default/public/assets/js/jquery-3.6.4.min.js"></script>
    <script src="/themes/admin_default/public/assets/js/jquery-migrate-3.4.0.min.js"></script>
    <script src="/themes/admin_default/public/assets/js/bootstrap5/popper.min.js"></script>
    <script src="/themes/admin_default/public/assets/js/bootstrap5/bootstrap.min.js"></script>
    <script src="/static/js/wind.js"></script>
    <script>
        Wind.alias({noty: '/themes/admin_default/public/assets/js/noty-2.4.1.js'})
    </script>
    <script>
        Wind.css('artDialog');
        Wind.css('layer');
        $(function () {
            $("[data-toggle='tooltip']").tooltip({
                container: 'body',
                html: true,
            });
            $("li.dropdown").hover(function () {
                $(this).addClass("open");
            }, function () {
                $(this).removeClass("open");
            });
        });
    </script>
    <?php if(APP_DEBUG): ?>
        <style>
            #think_page_trace_open {
                z-index: 9999;
            }
        </style>
    <?php endif; 
        if (!function_exists('_get_system_widget')) {
        function _get_system_widget($name){
     switch($name): case "CmfHub": ?>
            <div class="card">
                <div class="card-header">
                    <h3 class="panel-title"><?php echo lang('Get help'); ?></h3>
                </div>
                <div class="card-body home-info">
                    <table>
                        <tr>
                            <td>
                                <b class="title"><?php echo lang('Official website'); ?></b>
                            </td>
                            <td>
                                <a href="http://www.thinkcmf.com" target="_blank">www.thinkcmf.com</a>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b class="title"><?php echo lang('QQ Group'); ?></b>
                            </td>
                            <td>
                                100828313,316669417
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b class="title"><?php echo lang('Contact email'); ?></b>
                            </td>
                            <td>
                                catman@thinkcmf.com
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        <?php break; case "CmfDocuments": ?>
            <div class="card">
                <div class="card-header">
                    <h3 class="panel-title"><?php echo lang('Dev manual'); ?></h3>
                </div>
                <div class="card-body home-info">
                    <table>
                        <tr>
                            <td>
                                <b class="title"><?php echo lang('ThinkCMF Dev manual'); ?></b>
                            </td>
                            <td>
                                <a class="badge text-bg-success" href="https://www.thinkcmf.com/docs/cmf8/"
                                   target="_blank"><?php echo lang('Read now'); ?></a>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b class="title"><?php echo lang('FAQ manual'); ?></b>
                            </td>
                            <td>
                                <a class="badge text-bg-success" href="http://www.thinkcmf.com/faq.html"
                                   target="_blank"><?php echo lang('Read now'); ?></a>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b class="title"><?php echo lang('Theme dev tutorial'); ?></b>
                            </td>
                            <td>
                                <a class="badge text-bg-success" href="http://www.thinkcmf.com/theme_tutorial.html"
                                   target="_blank"><?php echo lang('Read now'); ?></a>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b class="title"><?php echo lang('API Dev manual'); ?></b>
                            </td>
                            <td>
                                <a class="badge text-bg-success" href="https://www.thinkcmf.com/docs/cmf8/#/API"
                                   target="_blank"><?php echo lang('Read now'); ?></a>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        <?php break; case "MainContributors": ?>
            <div class="card">
                <div class="card-header">
                    <h3 class="panel-title"><?php echo lang('Major contributors'); ?></h3>
                </div>
                <div class="card-body home-info main_contributors">
                    <ul class="list-inline">
                        <li><?php echo lang('Loading...'); ?></li>
                    </ul>
                </div>
            </div>
        <?php break; case "Contributors": ?>
            <div class="card">
                <div class="card-header">
                    <h3 class="panel-title"><?php echo lang('Contributors'); ?></h3>
                </div>
                <div class="card-body home-info contributors">
                    <ul class="list-inline">
                        <li><?php echo lang('Loading...'); ?></li>
                    </ul>
                </div>
            </div>
        <?php break; ?>
    <?php endswitch; 
        }
        }
     ?>

    <style>
        .card-header h3 {
            margin: 0;
            font-size: 1rem;
        }

        .wrap {
            margin: -10px;
        }

        .home-info .title {
            margin-right: 0.5rem;
        }

        .home-info li em {
            float: left;
            width: 120px;
            font-style: normal;
            font-weight: bold;
        }

        .home-info ul {
            padding: 0;
            margin: 0;
        }

        .home-info ul li {
            margin-bottom: 3px;
        }

        .panel {
            margin-bottom: 0;
        }

        .grid-sizer {
            width: 10%;
        }

        .grid-item {
            /*margin-bottom: 6px;*/
            padding: 10px;
        }

        .home-grid .dashboard-box .panel-title {
            cursor: move;
        }

        .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
            padding-left: 10px;
            padding-right: 10px;
            float: none;
        }

    </style>
    <?php 
    hook('admin_before_head_end',null,false);
 ?>

</head>
<body class="<?php echo !empty($_is_mobile) ? 'mobile' : ''; ?>">

    <div class="wrap main-iframe-wrap">
        <?php if(empty($has_smtp_setting) || (($has_smtp_setting instanceof \think\Collection || $has_smtp_setting instanceof \think\Paginator ) && $has_smtp_setting->isEmpty())): ?>
            <div class="grid-item col-md-12">
                <div class="alert alert-danger alert-dismissible in" role="alert"
                     style="margin-bottom: 0;">
                    <a class="cmf-alert-close float-end" href="javascript:"><i class="fa fa-close"></i></a>
                    <strong><i class="fa fa-times-circle alert-icon"></i></strong> <?php echo lang('NO_EMAIL_SETTINGS_WARNING_MSG'); ?>
                    <a href="javascript:" class="badge text-bg-success" data-dismiss="alert" aria-label="Close"
                       onclick="parent.openapp('<?php echo url('Mailer/index'); ?>','admin_mailer_index','<?php echo lang('ADMIN_MAILER_INDEX'); ?>');"><?php echo lang('Set now'); ?></a>
                </div>
            </div>
        <?php endif; if(!function_exists('finfo_open')): ?>
            <div class="grid-item col-md-12">
                <div class="alert alert-danger alert-dismissible in" role="alert" style="margin-bottom: 0;">
                    <a class="cmf-alert-close float-end" href="javascript:"><i class="fa fa-close"></i></a>
                    <strong><i class="fa fa-times-circle alert-icon"></i></strong> <?php echo lang('NO_FILE_INFO_EXT_WARNING_MSG'); ?>
                </div>
            </div>
        <?php endif; ?>

        <div class="grid-item col-md-12" id="thinkcmf-notices-grid" style="display:none;">
            <div class="dashboard-box">
                <div class="card">
                    <div class="card-header">
                        <h3 class="panel-title">
                            <?php echo lang('SYSTEM_NOTIFICATIONS'); ?>
                            <a class="cmf-alert-close float-end" href="javascript:"><i class="fa fa-close"></i></a>
                        </h3>
                    </div>
                    <div class="card-body home-info">
                        <ul id="thinkcmf-notices" class="list-unstyled">
                            <li>
                                <img src="/themes/admin_default/public/assets/images/loading.gif" style="vertical-align: middle;"/>
                                <span style="display: inline-block; vertical-align: middle;"><?php echo lang('Loading...'); ?></span>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="home-grid">
            <!-- width of .grid-sizer used for columnWidth -->
            <div class="grid-sizer"></div>
            <?php if(is_array($dashboard_widgets) || $dashboard_widgets instanceof \think\Collection || $dashboard_widgets instanceof \think\Paginator): if( count($dashboard_widgets)==0 ) : echo "" ;else: foreach($dashboard_widgets as $key=>$vo): if($vo['is_system']): ?>
                    <div class="grid-item col-md-6" data-system="1" data-widget="<?php echo $vo['name']; ?>" data-width="6">
                        <div class="dashboard-box"><?php echo _get_system_widget($vo['name']); ?></div>
                    </div>
                    <?php else: if(isset($dashboard_widget_plugins[$vo['name']])): ?>
                        <div class="grid-item col-md-<?php echo $dashboard_widget_plugins[$vo['name']]['width']; ?>" data-system="0"
                             data-widget="<?php echo $vo['name']; ?>" data-width="<?php echo $dashboard_widget_plugins[$vo['name']]['width']; ?>">
                            <div class="dashboard-box">
                                <?php echo str_replace(['panel-heading','panel-body','panel panel-default'],
                                ['card-header','card-body','card'],$dashboard_widget_plugins[$vo['name']]['view']); ?>
                            </div>
                        </div>
                    <?php endif; ?>
                <?php endif; ?>

            <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>

<script src="/static/js/admin.js?v=<?php echo $_static_version; ?>"></script>

    <?php 
        $lang_set=cmf_current_lang();
        $thinkcmf_version=cmf_version();
     ?>
    <script>
        $('.grid-item .cmf-alert-close').click(function () {
            $(this).parents('.grid-item').fadeOut(function () {
                $(this).remove();
            })
        });
        $('.dashboard-box').each(function () {
            var $this = $(this);
            if ($(this).children().length === 0) {
                $this.parents('.grid-item').remove();
            }
        });
        var $homeGrid = null;
        Wind.css('dragula');
        Wind.use('masonry', 'imagesloaded', 'dragula', function () {
            $homeGrid = $('.home-grid').masonry({
                // gutter: 10,
                // fitWidth:true,
                // set itemSelector so .grid-sizer is not used in layout
                itemSelector: '.grid-item',
                // use element for option
                columnWidth: '.grid-sizer',
                percentPosition: true,
                horizontalOrder: false,
                transitionDuration: 0
            });

            $homeGrid.masonry('on', 'layoutComplete', function (event, laidOutItems) {
            });

            $.ajax({
                url: "https://www.thinkcmf.com/service/team.php?lang=<?php echo $lang_set; ?>&v=<?php echo $thinkcmf_version; ?>",
                type: 'get',
                dataType: 'json',
                success: function (data) {
                    if (data.code == 1) {
                        var $wrap = $('<ul class="list-inline"></ul>')
                        $.each(data.data.main_contributors, function (i, item) {
                            if (item.url) {
                                $wrap.append('<li class="d-inline-block"><a href="' + item.url + '" target="_blank">' + item.name + '</a></li>&nbsp;')
                            } else {
                                $wrap.append('<li class="d-inline-block">' + item.name + '</li>&nbsp;')
                            }
                        });
                        $('.main_contributors').html($wrap);

                        $wrap = $('<ul class="list-inline"></ul>');
                        $.each(data.data.contributors, function (i, item) {
                            if (item.url) {
                                $wrap.append('<li class="d-inline-block"><a href="' + item.url + '" target="_blank">' + item.name + '</a></li>&nbsp;')
                            } else {
                                $wrap.append('<li class="d-inline-block">' + item.name + '</li>&nbsp;')
                            }
                        });
                        $('.contributors').html($wrap);
                        $homeGrid.masonry();
                    }
                },
                error: function () {

                },
                complete: function () {

                }
            });

            $homeGrid.masonry();

            var containers = [];
            $('.home-grid .grid-item').each(function () {
                containers.push(this);
            });
            dragula(containers, {
                isContainer: function (el) {
                    return false; // only elements in drake.containers will be taken into account
                },
                moves: function (el, source, handle, sibling) {
                    if ($(handle).is('.panel-title')) {
                        return true;
                    }
                    return false; // elements are always draggable by default
                },
                accepts: function (el, target, source, sibling) {
                    return true; // elements can be dropped in any of the `containers` by default
                },
                invalid: function (el, handle) {
                    return false; // don't prevent any drags from initiating by default
                },
                direction: 'vertical',             // Y axis is considered when determining where an element would be dropped
                copy: false,                       // elements are moved by default, not copied
                copySortSource: false,             // elements in copy-source containers can be reordered
                revertOnSpill: false,              // spilling will put the element back where it was dragged from, if this is true
                removeOnSpill: false,              // spilling will `.remove` the element, if this is true
                mirrorContainer: document.body,    // set the element that gets mirror elements appended
                ignoreInputTextSelection: true     // allows users to select input text, see details below
            }).on('drop', function (el, target, source, sibling) {
                var $target = $(target);
                var targetClasses = $target.attr('class');
                var targetDataWidget = $target.data('widget');
                var targetDataSystem = $target.data('system');
                var $source = $(source);
                var sourceClasses = $source.attr('class');
                var sourceDataWidget = $source.data('widget');
                var sourceDataSystem = $source.data('system');
                $(source).append($(target).find('.dashboard-box').not('.gu-transit'));
                $(target).append(el);
                $target.attr('class', sourceClasses);
                $target.data('widget', sourceDataWidget);
                $target.data('system', sourceDataSystem);

                $source.attr('class', targetClasses);
                $source.data('widget', targetDataWidget);
                $source.data('system', targetDataSystem);
                $homeGrid.masonry();

                _widgetSort();
            }).on('shadow', function (el, container, source) {
                $homeGrid.masonry();
            });


        });

        function _widgetSort() {

            var widgets = [];
            $('.home-grid .grid-item').each(function () {
                var $this = $(this);

                widgets.push({
                    name: $this.data('widget'),
                    is_system: $this.data('system')
                });
            });

            $.ajax({
                url: "<?php echo url('Main/dashboardWidget'); ?>",
                type: 'post',
                dataType: 'json',
                data: {widgets: widgets},
                success: function (data) {

                },
                error: function () {

                },
                complete: function () {

                }
            });
        }

        //获取官方通知
        $.getJSON("https://www.thinkcmf.com/service/sms_jsonp.php?lang=<?php echo $lang_set; ?>&v=<?php echo $thinkcmf_version; ?>&callback=?",
            function (data) {
                var tpl = '<li><em class="title"></em><span class="content"></span></li>';
                var $notices = $("#thinkcmf-notices");
                $notices.empty();
                if (data.length > 0) {
                    $('#thinkcmf-notices-grid').show();
                    $.each(data, function (i, n) {
                        var $tpl = $(tpl);
                        $(".title", $tpl).html(n.title);
                        $(".content", $tpl).html(n.content);
                        $notices.append($tpl);
                    });
                } else {
                    $notices.append("<li>^_^,<?php echo lang('NO_NOTICE'); ?>~~</li>");
                }

            });
    </script>
    <?php 
    hook('admin_before_body_end',null,false);
 ?>

</body>
</html>