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//cs.wgegeghx.com/runtime/temp/3c7a545a78c8a500e95fe18f7cac9cc6.php
<?php /*a:1:{s:81:"/www/wwwroot/cs.wgegeghx.com/public/../templates/default/addons/signin/index.html";i:1635128151;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>用户中心</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" href="/static/libs/layui/css/layui.css">
    <link rel="stylesheet" href="/static/modules/member/css/global.css">
    <link rel="stylesheet" href="/static/common/font/iconfont.css">
    <script type="text/javascript">
    //全局变量
    var GV = {
        'image_upload_url': '<?php echo !empty($image_upload_url) ? htmlentities($image_upload_url) :  url("attachment/upload/upload", ["dir" => "images", "module" => request()->module()]); ?>',
        'file_upload_url': '<?php echo !empty($file_upload_url) ? htmlentities($file_upload_url) :  url("attachment/upload/upload", ["dir" => "files", "module" => request()->module()]); ?>',
        'jcrop_upload_url': '<?php echo !empty($jcrop_upload_url) ? htmlentities($jcrop_upload_url) :  url("attachment/Attachments/cropper"); ?>',
        'ueditor_upload_url': '<?php echo !empty($ueditor_upload_url) ? htmlentities($ueditor_upload_url) :  url("attachment/upload/upload", ["dir" => "images","from"=>"ueditor", "module" => request()->module()]); ?>',
        'ueditor_grabimg_url': '<?php echo !empty($ueditor_upload_url) ? htmlentities($ueditor_upload_url) :  url("attachment/Attachments/geturlfile"); ?>',
        'profile_upload_url': '<?php echo !empty($profile_upload_url) ? htmlentities($profile_upload_url) :  url("member/index/profile"); ?>',
        'image_select_url': '<?php echo !empty($image_select_url) ? htmlentities($image_select_url) :  url("attachment/Attachments/select"); ?>',
		'site':{'upload_image_ext':'<?php echo config("upload_image_ext"); ?>'}
    };
    </script>
	
	<style>
	   .uc-box {
			background: #fff;
			border-radius: 5px;
			width: 190px;
			float: left;
		}
		.uc-sub-box {
			padding: 36px 0;
			-webkit-box-shadow: 0px 1px 2px #bbb;
			box-shadow: 0px 1px 2px #bbb;
		}
		.uc-nav-box {
    margin-bottom: 13px;
}

.uc-nav-box .box-hd {
    height: 52px;
}
.uc-nav-box .box-hd .title {
    margin: 0 48px;
    font-size: 16px;
    line-height: 52px;
    color: #333;
}

.uc-nav-box .uc-nav-list {
    padding: 0 48px;
}.uc-nav-list li {
    line-height: 28px;
    padding-bottom: 9px;
}
.uc-nav-list a {
    color: #757575;
}
	</style>
</head>

<body class="body">
    <div class="fly-header">
        <div class="layui-container">
            <a class="fly-logo" href="/">
              <img src="<?php echo config('web_site_logo'); ?>" alt="layui">
            </a>
            <ul class="layui-nav fly-nav layui-hide-xs">
			     
                <li class="layui-nav-item layui-this">
                    <a href="/">首页</a>
					<?php $cache = 3600;$cacheID = to_guid_string(array('module'=>'cms','action'=>'category','catid'=>'0','cache'=>'3600','order'=>'listorder ASC','num'=>'10','return'=>'data','page'=>'0',));if($cache && $_return = Cache::get($cacheID)):$data = $_return;else: $cmsTagLib =  \think\Container::get("\\app\\cms\\taglib\\CmsTagLib");if(method_exists($cmsTagLib, "category")):$data = $cmsTagLib->category(array('module'=>'cms','action'=>'category','catid'=>'0','cache'=>'3600','order'=>'listorder ASC','num'=>'10','return'=>'data','page'=>'0',));if($cache):Cache::set($cacheID, $data, $cache);endif;endif;endif; if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
					 <a href="<?php echo htmlentities($vo['url']); ?>" title="<?php echo htmlentities($vo['catname']); ?>"><?php echo htmlentities($vo['catname']); ?></a>
					<?php endforeach; endif; else: echo "" ;endif; ?>
					
                </li>
            </ul>
            <ul class="layui-nav fly-nav-user">
                <!-- 登入后的状态 -->
                <li class="layui-nav-item">
                    <a class="fly-nav-avatar" href="javascript:;">
                      <cite class="layui-hide-xs"><?php echo !empty($userinfo['nickname']) ? htmlentities($userinfo['nickname']) : htmlentities($userinfo['username']); ?></cite>
                      <?php if($userinfo['vip']): ?>
                      <i class="iconfont icon-vip1 layui-hide-xs" title="VIP会员"></i>
                      <?php endif; ?>
                      <i class="layui-badge fly-badge-vip layui-hide-xs"><?php echo htmlentities($userinfo['groupname']); ?></i>
                      <img src="<?php echo htmlentities($userinfo['avatar']); ?>">
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="<?php echo url('member/index/index'); ?>"><i class="layui-icon">&#xe612;</i>用户中心</a></dd>
                        <dd><a href="<?php echo url('member/index/profile'); ?>"><i class="layui-icon">&#xe620;</i>基本设置</a></dd>
                        <hr style="margin: 5px 0;">
                        <dd><a href="<?php echo url('member/index/logout'); ?>" style="text-align: center;">退出</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <div class="layui-container fly-marginTop fly-user-main">
	       
			<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
			<div class="uc-nav-box">
			<div class="box-hd"><h3 class="title">会员中心</h3></div>
			<div class="box-bd">
			<ul class="uc-nav-list">
				<li>
				<!-- 左侧VIP权限判断 -->
				<a href="<?php echo url('member/index/upgrade'); ?>">开通会员</a><!-- 左侧VIP权限判断 End -->
				</li>
				<li><a href="<?php echo url('pay/index/spend_list'); ?>">消费记录</a></li>
				<li><a href="<?php echo url('pay/index/pay'); ?>">在线充值</a></li>
				<li><a href="<?php echo url('pay/index/pay_list'); ?>">充值记录</a></li>
				<?php if(isModuleInstall('contribute')): ?>
				 <li><a href="<?php echo url('contribute/index/publish'); ?>">在线投稿</a></li>
				<?php endif; ?>
			</ul>
			</div>
			</div>

			<div class="uc-nav-box">
			<div class="box-hd"><h3 class="title">课程中心</h3></div>
			<div class="box-bd">
			<ul class="uc-nav-list">
				<li><a href="<?php echo url('pay/index/buy_list'); ?>">已购课程</a></li>
			</ul>
			</div>
			</div>

			<div class="uc-nav-box">
			<div class="box-hd"><h3 class="title">账号管理</h3></div>
			<div class="box-bd">
			<ul class="uc-nav-list">
				<li><a href="<?php echo url('member/index/index'); ?>">个人信息</a></li>
				<li><a href="<?php echo url('member/index/profile'); ?>">修改资料</a></li>
			</ul>
			</div>
			</div>
			</ul>
		
		<!--<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
            <li class="layui-nav-item <?php if(app('request')->action()=='index' && app('request')->controller()=='Index'): ?>layui-this<?php endif; ?>">
                <a href=""><i class="iconfont icon-user-line"></i>&nbsp;用户中心</a>
            </li>
            <li class="layui-nav-item <?php if(app('request')->action() == 'profile'): ?>layui-this<?php endif; ?>">
                <a href=""><i class="iconfont icon-setup"></i>&nbsp;基本设置</a>
            </li>
            <li class="layui-nav-item <?php if(app('request')->action() == 'upgrade'): ?>layui-this<?php endif; ?>">
                <a href="<?php echo url('member/index/upgrade'); ?>"><i class="iconfont icon-vip-line"></i>&nbsp;升级VIP</a>
            </li>
            <?php echo hook('user_sidenav_after'); ?>
        </ul>-->
        <div class="site-tree-mobile layui-hide">
            <i class="layui-icon">&#xe602;</i>
        </div>
        <div class="site-mobile-shade"></div>
        <div class="site-tree-mobile layui-hide">
            <i class="layui-icon">&#xe602;</i>
        </div>
        <div class="site-mobile-shade"></div>
        <div class="fly-panel fly-panel-user" pad20 style="padding-top:20px;">
<style>
.layui-table[lay-size=lg] td, .layui-table[lay-size=lg] th {
    padding: 15px 0px;
}
.layui-table tbody tr:hover {
    background: none;
}
.calendar {
    width: 100%;
    table-layout: fixed;
    border: 1px solid #d2d2d2;
    box-shadow: 0 2px 4px rgba(0,0,0,.12);
    background-color: #fff;
    color: #666;
}
.calendar-title{
    border-bottom: 1px solid #e2e2e2;
}
.calendar-title th {
    text-align: center;
    text-transform: uppercase;
}
.calendar-header th {
    padding: 10px;
    text-align: center;
}
.calendar-title th {
    font-weight: normal;
}
.calendar-title th a:hover i{
    color: #5FB878;
}
.calendar-title th span {
    margin: 0 5px;
    color: #666;
}
.calendar-title th a {
    margin: 0 5px;
    color: #666;
}
.calendar tbody tr td.pad {
    background: rgba(255, 255, 255, 0.1);
}
.calendar tbody tr td.day {}
.calendar tbody tr td.day:hover div:first-child{
    background-color: #eaeaea;
    color: #333;
}
.calendar tbody tr td.day div:first-child {
    text-align: center;
    height: 40px;
    display: block;
    width: 40px;
    margin: 0 auto;
    cursor: pointer;
    line-height: 40px;
    border-radius: 50%;
}
.calendar tbody tr td.signed div:first-child {
    background: #f7b82e !important;
    color: #fff !important;
}
.calendar tbody tr td.today > div:first-child {
    background: #17bc9b !important;
    color: #fff !important;
}
.signin-rank-table>tbody>tr>td {
    vertical-align: middle;
}
.layui-field-box p{
        margin-bottom: 5px;
}
</style>
<div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">
        <li class="layui-this">我的签到</li>
        <!--<li>签到积分规则</li>
        <li>排行榜</li>-->
    </ul>
    <div class="layui-tab-content" style="padding: 20px 0;">
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md7">
                <blockquote class="layui-elem-quote">
                    <?php if($signin): ?>
                    你当前已经连续签到 <b><?php echo htmlentities($successions); ?></b> 天,明天继续签到可获得 <b><?php echo htmlentities($score); ?></b> 积分
                    <?php else: ?>
                    今天签到可获得 <b><?php echo htmlentities($score); ?></b> 积分,请点击签到领取积分
                    <?php endif; ?>
                </blockquote>
                <?php echo $calendar->draw($date);; ?>
            </div>
            <div class="layui-col-md5">
                <?php if($config['isfillup']): ?>
                <fieldset class="layui-elem-field">
                    <legend>补签说明</legend>
                    <div class="layui-field-box">
                         <p>1. 补签消耗 <strong style="color:#FF5722;"><?php echo htmlentities($config['fillupscore']); ?></strong> 积分。</p>
                         <p>2. 漏签 <strong style="color:#FF5722;"><?php echo htmlentities($config['fillupdays']); ?></strong> 天内,可以补签。</p>
                         <p>3. 每月可补签 <strong style="color:#FF5722;"><?php echo htmlentities($config['fillupnumsinmonth']); ?></strong> 次。</p>
                    </div>
                </fieldset>
                <?php endif; ?>
                <fieldset class="layui-elem-field">
                    <legend>签到积分规则</legend>
                    <div class="layui-field-box">
                        <table class="layui-table">
                            <thead>
                                <tr>
                                    <th>连续签到天数</th>
                                    <th>获得积分</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php if(is_array($config['signinscore']) || $config['signinscore'] instanceof \think\Collection || $config['signinscore'] instanceof \think\Paginator): $i = 0; $__LIST__ = $config['signinscore'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
                                <tr>
                                    <th scope="row">第<?php echo htmlentities(str_replace('s','',$key)); ?>天</th>
                                    <td>+<?php echo htmlentities($item); ?></td>
                                </tr>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </tbody>
                        </table>
                    </div>
                </fieldset>
            </div>
        </div>
    </div>
</div>
<script>
layui.define(['layer', 'element'], function(exports) {
     var element = layer = layui.layer,
        $ = layui.jquery,
        element = layui.element;
    $(document).on("click", ".btn-signin,.today", function() {
        $.ajax({
            type: 'post',
            dataType: 'json',
            url: "<?php echo url('addons/signin/dosign'); ?>",
            success: function(res) {
                layer.msg(res.msg, {
                    time: 2500
                }, function() {
                    location.reload();
                });
            },
            error: function(e) {}
        })
        return false;
    });
    <?php if($fillupscore): ?>
        $(document).on("click", ".expired[data-date]:not(.today):not(.signed)", function() {
            var that = this;
            layer.confirm("确认进行补签日期:" + $(this).data("date") + "?<br>补签将消耗" + "<?php echo htmlentities($fillupscore); ?>积分", function() {
                $.ajax({
                    type: 'post',
                    dataType: 'json',
                    url: "<?php echo url('addons/signin/fillup'); ?>" + "?date=" + $(that).data("date"),
                    success: function(res) {
                        layer.msg(res.msg, {
                            time: 1500
                        }, function() {
                            location.reload();
                        });
                    },
                    error: function(e) {
                        layer.alert(ret.msg);
                    }
                })
            });
            return false;
        });
    <?php endif; ?>
});
</script>
    </div>
</div>
<div class="fly-footer">
    <p><?php echo config('web_site_icp'); ?></p>
</div>
</body>

</html>