<?php /*a:1:{s:64:"/www/wwwroot/666.u7u.top/application/index/view/index/index.html";i:1552757338;}*/ ?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title><?php echo htmlentities($ConfigInfo['webtitle']); ?></title>
    <meta name="description" content="<?php echo htmlentities($ConfigInfo['webdesc']); ?>" />
    <meta name="keywords" content="<?php echo htmlentities($ConfigInfo['webkey']); ?>" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"
    />
    <link rel="stylesheet" href="/public/static/layui/css/layui.css">
    <link rel="stylesheet" href="/public/static/skin/css/style.css">
</head>
    
<body>
<div class="layui-layout">
    <div class="layui-header">
        <div class="page-wb page-header">
            <div class="logo page-left">
                <a href="/">
                    <?php echo htmlentities($ConfigInfo['webftitle']); ?>
                </a>
            </div>
            <ul class="layui-nav page-left">
                <?php foreach($MenuData as $key=>$vo): ?>
                    <li class="layui-nav-item">
                        <a href="<?php if($vo['type'] == 1): if($vo['url']): ?><?php echo htmlentities($vo['url']); else: ?><?php echo url('index/menu/index',$vo['alias']?['name'=>$vo['alias']]:['mid'=>$vo['id']]); ?><?php endif; else: ?><?php echo url('index/menu/article',$vo['alias']?['name'=>$vo['alias']]:['mid'=>$vo['id']]); ?><?php endif; ?>">
                            <?php echo htmlentities($vo['name']); ?>
                        </a>
                    </li>
                <?php endforeach; ?>
            </ul>
			<ul class="layui-nav page-right top-user">
                <li class="layui-anim layui-anim-scaleSpring" style="position: relative;display: inline-block;vertical-align: middle;margin-right: 30px;">
                    <a href="<?php echo url('index/page/index',['name' => 'vip']); ?>" style="padding: 0;"><img src="/public/static/skin/img/vip.png" alt="VIP会员" height="23"></a>
                </li>
                <?php if(session('admin.tel')): ?>
			    <li class="layui-nav-item" lay-unselect="">
			        <a class="top-avatar" href="/member/">
			            <img src="<?php if($UserInfo['avatar']): ?><?php echo htmlentities($UserInfo['avatar']); else: ?>/public/static/skin/img/avatar.png<?php endif; ?>">
			            <cite class="layui-hide-xs">
			                <?php echo session('admin.tel'); ?>
			            </cite>
			            <span class="layui-nav-more">
			            </span>
			        </a>
			        <dl class="layui-nav-child">
			            <dd>
			                <a href="<?php echo url('index/member/contribute'); ?>?id=<?php echo htmlentities($MenuOneInfo['id']); ?>">
			                    <i class="layui-icon">
			                        
			                    </i>
			                    发布资源
			                </a>
			            </dd>
			            <dd>
			                <a href="<?php echo url('index/member/pay_integral'); ?>">
			                    <i class="layui-icon">
			                        
			                    </i>
			                    充值积分
			                </a>
			            </dd>
			            <dd>
			                <a href="<?php echo url('index/member/qiandao'); ?>">
			                    <i class="layui-icon">
			                        
			                    </i>
			                    每日签到
			                </a>
			            </dd>
			            <hr style="margin: 5px 0;">
			            <dd>
			                <a href="javascript:;" onclick="dr_loginout('退出成功')" style="text-align: center;">
			                    退出
			                </a>
			            </dd>
			        </dl>
			    </li>
                <?php else: ?>
                <i class="iz iz-user"></i>
                <li class="layui-nav-item" lay-unselect=""><a class="login" href="<?php echo url('index/member/login'); ?>">登陆</a></li>
                <li class="layui-nav-item" lay-unselect=""><a class="reg" href="<?php echo url('index/member/register'); ?>">注册</a></li>
                <?php endif; ?>
			</ul>
        </div>
    </div>
</div>
<div class="layui-banner">
    <div class="rainbow">
        <div class="red">
        </div>
        <div class="orange">
        </div>
        <div class="yellow">
        </div>
        <div class="green">
        </div>
        <div class="cyan">
        </div>
        <div class="blue">
        </div>
        <div class="purple">
        </div>
    </div>
    <div class="banner-img">
        <div class="banner-ad layui-clear">
            <div class="banner-ad1">
            </div>
        </div>
    </div>
    <div class="searchBox">
        <div class="vip">
        <a href="<?php echo url('index/member/upgrade'); ?>" target="_blank" class="layui-btn layui-btn-success">
            开通会员
        </a>
        </div>
        <i class="iz iz-search">
        </i>
        <input type="text" class="searchInput search-inp" autocomplete="off" placeholder="请输入搜索内容"
        />
        <input type="hidden" class="searchid" value="<?php echo htmlentities($MenuOneInfo['id']); ?>" />
        <input type="button" value="搜 索" class="layui-btn layui-btn-danger searchBtn">
        <div>
            <a href="<?php echo url('index/member/contribute'); ?>?id=<?php echo htmlentities($MenuOneInfo['id']); ?>" target="_blank" class="layui-btn layui-btn-warm">
                上传资源
            </a>
        </div>
    </div>
</div>
<div class="layui-tab layui-tab-brief layui-hot">
        <ul class="layui-tab-title">
            <li class="layui-this">
                最新上传
            </li>
            <li>
                最新下载
            </li>
        </ul>
        <div class="layui-tab-content page-wb">
            <div class="layui-tab-item layui-show index-gun">
                <ul class="index-down" style="overflow: hidden;height: 204px;">
                    <?php foreach($Scodeupload as $k=>$v): ?>
                    <li class="layui-col-md6 layui-col-xs12">
                        <div class="down-list">
                            <div class="layui-col-md3 down-user">
                                <a target="_blank">
                                    <img class="img-rounded img-responsive" src="<?php if($v['avatar']): ?><?php echo htmlentities($v['avatar']); else: ?>/public/static/skin/img/avatar.png<?php endif; ?>"
                                    alt="<?php echo htmlentities($v['user']); ?>" title="<?php echo htmlentities($v['user']); ?>">
                                </a>
                                <span>
                                    上传了
                                </span>
                            </div>
                            <div class="layui-col-md7 down-title">
                                <a href="<?php echo url('index/scode/index',['id'=>$v['id']]); ?>" target="_blank">
                                    <?php echo htmlentities($v['title']); ?>
                                </a>
                            </div>
                            <div class="layui-col-md2 down-time">
                                <i class="iz iz-time">
                                </i>
                                审核通过
                            </div>
                        </div>
                    </li>
                    <?php endforeach; ?>
                </ul>
            </div>
            <div class="layui-tab-item index-gun">
                <ul class="index-down" style="overflow: hidden;height: 204px;">
                    <?php foreach($Scodedown as $k=>$v): ?>
                    <li class="layui-col-md6">
                        <div class="down-list">
                            <div class="layui-col-md3 down-user">
                                <a target="_blank">
                                    <img class="img-rounded img-responsive" src="<?php if($v['avatar']): ?><?php echo htmlentities($v['avatar']); else: ?>/public/static/skin/img/avatar.png<?php endif; ?>"
                                    alt="<?php echo htmlentities($v['user']); ?>" title="<?php echo htmlentities($v['user']); ?>">
                                </a>
                                <span>
                                    下载了
                                </span>
                            </div>
                            <div class="layui-col-md7 down-title">
                                <a href="<?php echo url('index/scode/index',['id'=>$v['id']]); ?>" target="_blank">
                                    <?php echo htmlentities($v['title']); ?>
                                </a>
                            </div>
                            <div class="layui-col-md2 down-time">
                                <i class="iz iz-time">
                                </i>
                                <?php echo htmlentities(time_ago($v['time'])); ?>
                            </div>
                        </div>
                    </li>
                    <?php endforeach; ?>
                </ul>
            </div>
        </div>
</div>
<div class="layui-tab layui-tab-brief layui-index page-wb">
    <h2>
        热门推荐
    </h2>
    <ul class="layui-tab-title li-title this">
        <?php foreach($MenuData as $key=>$vo): ?>
            <li class="<?php if(input('id') == $vo['id']): ?>layui-this<?php endif; ?>">
                <a href="<?php echo url('index/index/index',['id'=>$vo['id']]); ?>"><?php echo htmlentities($vo['name']); ?></a>
            </li>
        <?php endforeach; ?>
    </ul>
    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
            <ul class="fly-case-list layui-main">
                <?php foreach($scodedata as $key=>$vo): ?>
                    <li>
                        <a class="fly-case-img" href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                            <img lay-src="<?php echo htmlentities($vo['thumb']); ?>"
                            alt="<?php echo htmlentities($vo['title']); ?>">
                            <i class="iz iz-search">
                            </i>
                        </a>
                        <h2 class="layui-elip">
                            <a href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                                <?php echo htmlentities($vo['title']); ?>
                            </a>
                        </h2>
                        <p class="fly-case-desc">
                            <?php echo htmlentities(mb_substr(htmltotxt($vo['content']),0,20,'utf-8')); ?>
                        </p>
                        <div class="fly-case-info">
                            <p class="layui-elip">
                                <?php if($vo['essence'] == 1): ?>
                                    <span style="color:#ff5722;font-weight:bold;">
                                    <i class="layui-icon">
                                        &#xe756;
                                    </i>
                                    精华
                                </span>
                                <?php else: ?>
                                    <span style="color:#666;"><?php echo htmlentities(time_ago($vo['create_time'])); ?></span>
                                <?php endif; ?>
                                <i class="iz iz-chakan">
                                </i>
                                <?php echo htmlentities($vo['browser']); ?> &nbsp;
                                <i class="iz iz-pinglun">
                                </i>
                                <span class="cy_cmt_count">
                                    <?php echo htmlentities($vo['comment']); ?>
                                </span>
                            </p>
                        </div>
                    </li>
                <?php endforeach; ?>
            </ul>
        </div>
        <div class="layui-tab-item ">
            <ul class="fly-case-list layui-main">
                <?php foreach($scodedata as $key=>$vo): ?>
                    <li>
                        <a class="fly-case-img" href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                            <img lay-src="<?php echo htmlentities($vo['thumb']); ?>"
                            alt="<?php echo htmlentities($vo['title']); ?>">
                            <i class="iz iz-search">
                            </i>
                        </a>
                        <h2 class="layui-elip">
                            <a href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                                <?php echo htmlentities($vo['title']); ?>
                            </a>
                        </h2>
                        <p class="fly-case-desc">
                            <?php echo htmlentities(mb_substr(htmltotxt($vo['content']),0,20,'utf-8')); ?>
                        </p>
                        <div class="fly-case-info">
                            <p class="layui-elip">
                                <?php if($vo['essence'] == 1): ?>
                                <span style="color:#ff5722;font-weight:bold;">
                                    <i class="layui-icon">
                                        &#xe756;
                                    </i>
                                    精华
                                </span>
                                <?php else: ?>
                                    <span style="color:#666;"><?php echo htmlentities(time_ago($vo['create_time'])); ?></span>
                                <?php endif; ?>
                                <i class="iz iz-chakan">
                                </i>
                                <?php echo htmlentities($vo['browser']); ?> &nbsp;
                                <i class="iz iz-pinglun">
                                </i>
                                <span class="cy_cmt_count">
                                    <?php echo htmlentities($vo['comment']); ?>
                                </span>
                            </p>
                        </div>
                    </li>
                <?php endforeach; ?>
            </ul>
        </div>
        <div class="layui-tab-item ">
            <ul class="fly-case-list layui-main">
                <?php foreach($scodedata as $key=>$vo): ?>
                    <li>
                        <a class="fly-case-img" href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                            <img lay-src="<?php echo htmlentities($vo['thumb']); ?>"
                            alt="<?php echo htmlentities($vo['title']); ?>">
                            <i class="iz iz-search">
                            </i>
                        </a>
                        <h2 class="layui-elip">
                            <a href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                                <?php echo htmlentities($vo['title']); ?>
                            </a>
                        </h2>
                        <p class="fly-case-desc">
                            <?php echo htmlentities(mb_substr(htmltotxt($vo['content']),0,20,'utf-8')); ?>
                        </p>
                        <div class="fly-case-info">
                            <p class="layui-elip">
                                <?php if($vo['essence'] == 1): ?>
                                <span style="color:#ff5722;font-weight:bold;">
                                    <i class="layui-icon">
                                        &#xe756;
                                    </i>
                                    精华
                                </span>
                                <?php else: ?>
                                    <span style="color:#666;"><?php echo htmlentities(time_ago($vo['create_time'])); ?></span>
                                <?php endif; ?>
                                <i class="iz iz-chakan">
                                </i>
                                <?php echo htmlentities($vo['browser']); ?> &nbsp;
                                <i class="iz iz-pinglun">
                                </i>
                                <span class="cy_cmt_count">
                                    <?php echo htmlentities($vo['comment']); ?>
                                </span>
                            </p>
                        </div>
                    </li>
                <?php endforeach; ?>
            </ul>
        </div>
        <div class="layui-tab-item ">
            <ul class="fly-case-list layui-main">
                <?php foreach($scodedata as $key=>$vo): ?>
                    <li>
                        <a class="fly-case-img" href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                            <img lay-src="<?php echo htmlentities($vo['thumb']); ?>"
                            alt="<?php echo htmlentities($vo['title']); ?>">
                            <i class="iz iz-search">
                            </i>
                        </a>
                        <h2 class="layui-elip">
                            <a href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                                <?php echo htmlentities($vo['title']); ?>
                            </a>
                        </h2>
                        <p class="fly-case-desc">
                            <?php echo htmlentities(mb_substr(htmltotxt($vo['content']),0,20,'utf-8')); ?>
                        </p>
                        <div class="fly-case-info">
                            <p class="layui-elip">
                                <?php if($vo['essence'] == 1): ?>
                                <span style="color:#ff5722;font-weight:bold;">
                                    <i class="layui-icon">
                                        &#xe756;
                                    </i>
                                    精华
                                </span>
                                <?php else: ?>
                                    <span style="color:#666;"><?php echo htmlentities(time_ago($vo['create_time'])); ?></span>
                                <?php endif; ?>
                                <i class="iz iz-chakan">
                                </i>
                                <?php echo htmlentities($vo['browser']); ?> &nbsp;
                                <i class="iz iz-pinglun">
                                </i>
                                <span class="cy_cmt_count">
                                    <?php echo htmlentities($vo['comment']); ?>
                                </span>
                            </p>
                        </div>
                    </li>
                <?php endforeach; ?>
            </ul>
        </div>
        <div class="layui-tab-item ">
            <ul class="fly-case-list layui-main">
                <?php foreach($scodedata as $key=>$vo): ?>
                    <li>
                        <a class="fly-case-img" href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                            <img lay-src="<?php echo htmlentities($vo['thumb']); ?>"
                            alt="<?php echo htmlentities($vo['title']); ?>">
                            <i class="iz iz-search">
                            </i>
                        </a>
                        <h2 class="layui-elip">
                            <a href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                                <?php echo htmlentities($vo['title']); ?>
                            </a>
                        </h2>
                        <p class="fly-case-desc">
                            <?php echo htmlentities(mb_substr(htmltotxt($vo['content']),0,20,'utf-8')); ?>
                        </p>
                        <div class="fly-case-info">
                            <p class="layui-elip">
                                <?php if($vo['essence'] == 1): ?>
                                <span style="color:#ff5722;font-weight:bold;">
                                    <i class="layui-icon">
                                        &#xe756;
                                    </i>
                                    精华
                                </span>
                                <?php else: ?>
                                    <span style="color:#666;"><?php echo htmlentities(time_ago($vo['create_time'])); ?></span>
                                <?php endif; ?>
                                <i class="iz iz-chakan">
                                </i>
                                <?php echo htmlentities($vo['browser']); ?> &nbsp;
                                <i class="iz iz-pinglun">
                                </i>
                                <span class="cy_cmt_count">
                                    <?php echo htmlentities($vo['comment']); ?>
                                </span>
                            </p>
                        </div>
                    </li>
                <?php endforeach; ?>
            </ul>
        </div>
        <div class="layui-tab-item ">
            <ul class="fly-case-list layui-main">
                <?php foreach($scodedata as $key=>$vo): ?>
                    <li>
                        <a class="fly-case-img" href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                            <img lay-src="<?php echo htmlentities($vo['thumb']); ?>"
                            alt="<?php echo htmlentities($vo['title']); ?>">
                            <i class="iz iz-search">
                            </i>
                        </a>
                        <h2 class="layui-elip">
                            <a href="<?php echo url('index/scode/index',['id'=>$vo['id']]); ?>" target="_blank">
                                <?php echo htmlentities($vo['title']); ?>
                            </a>
                        </h2>
                        <p class="fly-case-desc">
                            <?php echo htmlentities(mb_substr(htmltotxt($vo['content']),0,20,'utf-8')); ?>
                        </p>
                        <div class="fly-case-info">
                            <p class="layui-elip">
                                <?php if($vo['essence'] == 1): ?>
                                <span style="color:#ff5722;font-weight:bold;">
                                    <i class="layui-icon">
                                        &#xe756;
                                    </i>
                                    精华
                                </span>
                                <?php else: ?>
                                    <span style="color:#666;"><?php echo htmlentities(time_ago($vo['create_time'])); ?></span>
                                <?php endif; ?>
                                <i class="iz iz-chakan">
                                </i>
                                <?php echo htmlentities($vo['browser']); ?> &nbsp;
                                <i class="iz iz-pinglun">
                                </i>
                                <span class="cy_cmt_count">
                                    <?php echo htmlentities($vo['comment']); ?>
                                </span>
                            </p>
                        </div>
                    </li>
                <?php endforeach; ?>
            </ul>
        </div>
    </div>
</div>
<div class="page-wb layui-link">
    <h2>
        <span>
            友情链接
        </span>
    </h2>
    <?php foreach($LinkInfo as $k=>$v): ?>
        <a href="<?php echo htmlentities($v['url']); ?>" target="_blank">
            <?php echo htmlentities($v['name']); ?>
        </a>
    <?php endforeach; ?>
</div>
<div class="layui-footer layui-mt20" id="footer">
    <div class="page-wb layui-clear">
        <div class="page-left layui-mt5">
            <div class="subLogo layui-clear">
                <a href="/">
                    <img src="<?php echo htmlentities($ConfigInfo['weblogo']); ?>" height="18" class="page-left"
                    />
                </a>
                <h2>
                    专业的网络资源分享平台
                </h2>
            </div>
            <p class="layui-mt10">
                <?php echo htmlentities($ConfigInfo['copyrightw']); ?>
            </p>
        </div>
        <div class="page-right">
            <ul class="footerUl">
                <li>
                    <?php if(is_array($PageInfo) || $PageInfo instanceof \think\Collection || $PageInfo instanceof \think\Paginator): $i = 0; $__LIST__ = $PageInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                    <a href="<?php echo url('index/page/index',$v['alias']?['name'=>$v['alias']]:['id'=>$v['id']]); ?>"><?php echo htmlentities($v['title']); ?></a><?php if($i != count($PageInfo)): ?>&nbsp;｜&nbsp;<?php endif; ?>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </li>
                <p class="layui-mt10">
                    <?php echo htmlentities($ConfigInfo['copyright']); ?>
                </p>
            </ul>
        </div>
    </div>
</div>
<script src="/public/static/skin/js/jquery.min.js"></script>
<script src="/public/static/layui/layui.js"></script>
<script src="/public/static/skin/js/common.js"></script>
<script>
layui.use('element', function(){
  var element = layui.element;
});
</script>
</body>
</html>