<?php /*a:1:{s:63:"/www/wwwroot/666.u7u.top/application/index/view/menu/index.html";i:1552692552;}*/ ?>

<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <title><?php echo htmlentities($menuinfo['name']); ?> - <?php echo htmlentities($ConfigInfo['webftitle']); ?></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 <?php if(input('id') == $vo['id']): ?>layui-this<?php endif; if(input('name') == $vo['alias']): ?>layui-this<?php endif; ?>">
                        <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="page-wb">
    <div class="type-list">
        <form id="filterForm" action="" method="get">
        <?php foreach($data as $k=>$vo): ?>
        <dl class="layui-clear">
            <dt><i class="iz iz-type"></i> <?php echo htmlentities($vo['name']); ?>：<a class="<?php if(!input($vo['alianc'])): ?>on<?php endif; ?>" href="<?php echo url('index/menu/index',$menuinfo['alias']?['name'=>$menuinfo['alias']]:['id'=>$menuinfo['id']]); ?>">不限</a></dt>
            <dd>
                <input get="filter" type="hidden" id="<?php echo htmlentities($vo['alianc']); ?>" name="<?php echo htmlentities($vo['alianc']); ?>" value="<?php echo input($vo['alianc']); ?>" />
                <?php if(is_array(assortmentInfo($vo['id'])) || assortmentInfo($vo['id']) instanceof \think\Collection || assortmentInfo($vo['id']) instanceof \think\Paginator): $i = 0; $__LIST__ = assortmentInfo($vo['id']);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                    <a class="<?php if(input($vo['alianc']) == $v['id']): ?>on<?php endif; ?>" href="javascript:;" onclick="Filter('<?php echo htmlentities($vo['alianc']); ?>','<?php echo htmlentities($v['id']); ?>')"><?php echo htmlentities($v['name']); ?></a>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </dd>
        </dl>
        <?php endforeach; ?>
        <dl class="sort">
            <input get="filter" type="hidden" id="popularity" name="popularity" value="<?php echo input('popularity'); ?>" />
            <a <?php if(!input('popularity')): ?>class="on"<?php endif; ?> href="<?php echo url('index/menu/index',$menuinfo['alias']?['name'=>$menuinfo['alias']]:['id'=>$menuinfo['id']]); ?>">最新 <i class="iz iz-sort"></i></a>
            <a <?php if(input('popularity') == 1): ?>class="on"<?php endif; ?> href="javascript:;" onclick="Filter('popularity','1')">人气 <i class="iz iz-sort"></i></a>
            <a <?php if(input('popularity') == 2): ?>class="on"<?php endif; ?> href="javascript:;" onclick="Filter('popularity','2')">评论 <i class="iz iz-sort"></i></a>
            <a <?php if(input('popularity') == 3): ?>class="on"<?php endif; ?> href="javascript:;" onclick="Filter('popularity','3')">精华 <i class="iz iz-sort"></i></a>
        </dl>
        </form>
    </div>
    <ul class="fly-case-list layui-main">
        <?php foreach($scodedata as $k=>$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 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 class="layui-box layui-laypage layui-laypage-default" id="pages">
    	<div>
            <?php echo $scodedata; ?>
        </div>
    </div>
</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>
</body>
</html>