<?php /*a:6:{s:82:"F:\htdocs\EduYouKe\public/../\public/template\website\default\vod/index\index.html";i:1589169808;s:87:"F:\htdocs\EduYouKe\public/../\public/template\website\default\vod/..\public\header.html";i:1588850788;s:84:"F:\htdocs\EduYouKe\public/../\public/template\website\default\vod/..\public\nav.html";i:1588772272;s:86:"F:\htdocs\EduYouKe\public/../\public/template\website\default\vod/..\public\slide.html";i:1588772179;s:87:"F:\htdocs\EduYouKe\public/../\public/template\website\default\vod/..\public\footer.html";i:1588772178;s:87:"F:\htdocs\EduYouKe\public/../\public/template\website\default\vod/..\public\script.html";i:1588922082;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <title><?php echo htmlentities((isset($site_info['seoTitle']) && ($site_info['seoTitle'] !== '')?$site_info['seoTitle']:'eduYouke在线教育点播系统')); ?></title>
    <meta name="keywords" content="<?php echo htmlentities((isset($site_info['seoKeywords']) && ($site_info['seoKeywords'] !== '')?$site_info['seoKeywords']:'eduYouke在线教育点播系统')); ?>" />
    <meta name="description" content="<?php echo htmlentities((isset($site_info['seoDescription']) && ($site_info['seoDescription'] !== '')?$site_info['seoDescription']:'eduYouke在线教育点播系统')); ?>">
    <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!-- HTML5 shim for IE8 support of HTML5 elements -->
<!-- [if lt IE 9]> -->
<!-- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> -->
<!-- <![endif] -->


<link href="/static/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/static/common/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="/static/css/wangEditor.css" rel="stylesheet" type="text/css">
<link href="/static/css/adminlte.min.css" rel="stylesheet" type="text/css">



<!-- <link href="/static/web/detault/css/common.css" rel="stylesheet"> -->

<link href="/template\website\default\public/static/css/common.css" rel="stylesheet">

</head>

<body class="hold-transition layout-top-nav">
    <div class="wrapper">
        <nav class="main-header navbar navbar-expand-md navbar-light navbar-white">
    <div class="container">
        <a href="/" class="navbar-brand">
            <img src="<?php echo !empty($site_info['logoImage']) ? getUrlPath($site_info['logoImage']) : '/static/img/logo.png'; ?> " alt="<?php echo htmlentities($site_info['seoTitle']); ?> Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
            <span class="brand-text font-weight-light"><?php echo htmlentities($site_info['webSiteName']); ?></span>
        </a>
        <button class="navbar-toggler order-1" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse order-3" id="navbarCollapse">
            <!-- Left navbar links -->
            <ul class="navbar-nav">
                <?php echo html_entity_decode($nav); ?>
            </ul>
            <!-- SEARCH FORM -->
            <form class="form-inline ml-0 ml-md-3" action="/index/search">
                <div class="input-group input-group-sm">
                    <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search" name="keywords">
                    <div class="input-group-append">
                        <button class="btn btn-navbar" type="submit">
                            <i class="fa fa-search"></i>
                        </button>
                    </div>
                </div>
            </form>
        </div>
        <!-- Right navbar links -->
        <ul class="order-1 order-md-3 navbar-nav navbar-no-expand ml-auto">

            <li class="nav-item">
                <a class="nav-link mb-2" href="<?php echo url('/vip/index'); ?>">
                    <img alt="35x35"  src="/static/img/vip.png" width="35" height="35">
                </a>
            </li>
            <!-- Messages Dropdown Menu -->
            <!-- Notifications Dropdown Menu -->
            <li class="nav-item dropdown">
                <?php if(app('request')->session('UserInfo')): ?>
                <a class="nav-link mb-2" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <img alt="35x35" class="rounded" src="<?php echo getUserAvatarUrl() ? getUserAvatarUrl() :'/static/img/user4-128x128.jpg'; ?>" data-holder-rendered="true" width="35" height="35">
                </a>
                <?php else: ?>
                <a class="nav-link mb-2" href="javascript:void(0);" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <img alt="35x35" class="rounded" src="/static/img/avatar.png" data-holder-rendered="true" width="35" height="35">
                </a>
                <?php endif; ?>
                <div class="dropdown-menu dropdown-menu-right">
                    <?php if(app('request')->session('UserInfo')): ?>
                    <a class="dropdown-item" href="<?php echo url('/user/user/centor'); ?>"><i class="fa fa-user" aria-hidden="true"></i> </i><?php echo getUserInfoData(0,'nickname'); ?></a>
                    <!-- <a class="dropdown-item" href="<?php echo url('/user/message'); ?>"><i class="fa fa-bell" aria-hidden="true"></i> 消息</a> -->
                    <a class="dropdown-item" href="<?php echo url('/user/login/logout'); ?>"><i class="fa fa-sign-out" aria-hidden="true"></i> </i>退出</a>
                    <?php else: ?>
                    <a class="dropdown-item" href="<?php echo url('/user/login/login'); ?>"><i class="fa fa-user" aria-hidden="true"></i> </i>登陆</a>
                    <?php endif; ?>
                </div>
            </li>
        </ul>
    </div>
</nav>
        <div class="content-wrapper">
            <div class="content">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-12 h-75">
                            <div id="slideCard" class="carousel slide mt-2 mb-2" data-ride="carousel">
    <ol class="carousel-indicators">
        <?php if(is_array($bannerlist) || $bannerlist instanceof \think\Collection || $bannerlist instanceof \think\Paginator): $k = 0; $__LIST__ = $bannerlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
        <li data-target="#slideCard" data-slide-to="<?php echo htmlentities($k); ?>" class="<?php echo $k==1 ? 'active'  :  ''; ?>"></li>
        <?php endforeach; endif; else: echo "" ;endif; ?>

    </ol>
    <div class="carousel-inner">
        <?php if(is_array($bannerlist) || $bannerlist instanceof \think\Collection || $bannerlist instanceof \think\Paginator): $k = 0; $__LIST__ = $bannerlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
        <div class="carousel-item <?php echo $k==1 ? 'active'  :  ''; ?>">
            <a href="<?php echo htmlentities($vo['link_url']); ?>"  target="_blank">
                <img class="d-block w-100 rounded" src="<?php echo getUrlPath($vo['image_url']); ?>">
            </a>
        </div>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
    <a class="carousel-control-prev" href="#slideCard" role="button" data-slide="prev">
        <span class="carousel-control-prev-icon" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
    </a>
    <a class="carousel-control-next" href="#slideCard" role="button" data-slide="next">
        <span class="carousel-control-next-icon" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
    </a>
</div>
                        </div>
                    </div>
                    <h3> <i class="fa fa-bookmark-o text-warning" aria-hidden="true"></i> 精品推荐</h3>
                    <hr>
                    <div class="row">
                        <?php if(is_array($recommendcourse) || $recommendcourse instanceof \think\Collection || $recommendcourse instanceof \think\Paginator): $k = 0; $__LIST__ = $recommendcourse;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
                        <div class="col-md-4">
                            <div class="card card-widget widget-user wider">
                                <a href="<?php echo url('/course',['id'=>$vo['id']]); ?>">
                                    <div class="widget-user-header text-white" style="background: url('<?php echo htmlentities($vo['cource_image_url']); ?>') center center;">
                                    </div>
                                </a>
                                <div id="course-title">
                                    <p class="card-text p-2 d-inline-block text-truncate">
                                        <a href="<?php echo url('/course',['id'=>$vo['id']]); ?>" class="text-muted">
                                            <?php echo htmlentities($vo['title']); ?>
                                        </a>
                                    </p>
                                </div>
                                <div class="mb-2">
                                    <span class="text-black-50 ml-2"> <small>
                                            <?php if($vo['sell_status']): ?>
                                            <span class="badge badge-danger">
                                                ￥<?php echo htmlentities($vo['sell_price']); ?>
                                            </span>
                                            <?php else: ?>
                                            <span class="badge badge-info">
                                                免费
                                            </span>
                                            <?php endif; ?>
                                            <span class="badge badge-secondary">
                                                <?php switch($vo['level_status']): case "1": ?>初级
                                                <?php break; case "2": ?>中级
                                                <?php break; default: ?>高级
                                                <?php endswitch; ?>
                                            </span>
                                        </small></span>
                                    <span class=" float-right text-black-50 mr-2"><small><i class="fa fa-user-o" aria-hidden="true"></i> <?php echo htmlentities($vo['views']); ?></small></span>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                    <h3> <i class="fa fa-bookmark-o text-danger" aria-hidden="true"></i> 新上好课</h3>
                    <hr>
                    <div class="row">
                        <?php if(is_array($newcourse) || $newcourse instanceof \think\Collection || $newcourse instanceof \think\Paginator): $k = 0; $__LIST__ = $newcourse;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
                        <div class="col-md-3">
                            <div class="card card-widget widget-user wider">
                                <a href="<?php echo url('/course',['id'=>$vo['id']]); ?>">
                                    <div class="widget-user-header text-white" style="background: url('<?php echo htmlentities($vo['cource_image_url']); ?>') center center;">
                                    </div>
                                </a>
                                <div id="course-title">
                                    <p class="card-text p-2 d-inline-block text-truncate">
                                        <a href="<?php echo url('/course',['id'=>$vo['id']]); ?>" class="text-muted">
                                            <?php echo htmlentities($vo['title']); ?>
                                        </a>
                                    </p>
                                </div>
                                <div class="mb-2">
                                    <span class="text-black-50 ml-2"> <small><?php if($vo['sell_status']): ?>
                                            <span class="badge badge-danger">
                                                ￥<?php echo htmlentities($vo['sell_price']); ?>
                                            </span>
                                            <?php else: ?>
                                            <span class="badge badge-info">
                                                免费
                                            </span>
                                            <?php endif; ?>
                                            <span class="badge badge-secondary">
                                                <?php switch($vo['level_status']): case "1": ?>初级
                                                <?php break; case "2": ?>中级
                                                <?php break; default: ?>高级
                                                <?php endswitch; ?>
                                            </span>
                                        </small></span>
                                    <span class=" float-right text-black-50 mr-2"><small><i class="fa fa-user-o" aria-hidden="true"></i> <?php echo htmlentities($vo['views']); ?></small></span>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                    <h3> <i class="fa fa-bookmark-o text-primary" aria-hidden="true"></i> 热门课程</h3>
                    <hr>
                    <div class="row">
                        <?php if(is_array($hotcourse) || $hotcourse instanceof \think\Collection || $hotcourse instanceof \think\Paginator): $k = 0; $__LIST__ = $hotcourse;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
                        <div class="col-md-3">
                            <div class="card card-widget widget-user wider">
                                <a href="<?php echo url('/course',['id'=>$vo['id']]); ?>">
                                    <div class="widget-user-header text-white" style="background: url('<?php echo htmlentities($vo['cource_image_url']); ?>') center center;">
                                    </div>
                                </a>
                                <div id="course-title">
                                    <p class="card-text p-2 d-inline-block text-truncate">
                                        <a href="<?php echo url('/course',['id'=>$vo['id']]); ?>" class="text-muted">
                                            <?php echo htmlentities($vo['title']); ?>
                                        </a>
                                    </p>
                                </div>
                                <div class="mb-2">
                                    <span class="text-black-50 ml-2"> <small><?php if($vo['sell_status']): ?>
                                            <span class="badge badge-danger">
                                                ￥<?php echo htmlentities($vo['sell_price']); ?>
                                            </span>
                                            <?php else: ?>
                                            <span class="badge badge-info">
                                                免费
                                            </span>
                                            <?php endif; ?>
                                            <span class="badge badge-secondary">
                                                <?php switch($vo['level_status']): case "1": ?>初级
                                                <?php break; case "2": ?>中级
                                                <?php break; default: ?>高级
                                                <?php endswitch; ?>
                                            </span>
                                        </small></span>
                                    <span class=" float-right text-black-50 mr-2"><small><i class="fa fa-user-o" aria-hidden="true"></i> <?php echo htmlentities($vo['views']); ?></small></span>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                    <h3> <i class="fa fa-bookmark-o text-success" aria-hidden="true"></i> 猜你喜欢</h3>
                    <hr>
                    <div class="row">
                        <?php if(is_array($conjecturecourse) || $conjecturecourse instanceof \think\Collection || $conjecturecourse instanceof \think\Paginator): $k = 0; $__LIST__ = $conjecturecourse;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
                        <div class="col-md-3">
                            <div class="card card-widget widget-user wider">
                                <a href="<?php echo url('/course',['id'=>$vo['id']]); ?>">
                                    <div class="widget-user-header text-white" style="background: url('<?php echo htmlentities($vo['cource_image_url']); ?>') center center;">
                                    </div>
                                </a>
                                <div id="course-title">
                                    <p class="card-text p-2 d-inline-block text-truncate">
                                        <a href="<?php echo url('/course',['id'=>$vo['id']]); ?>" class="text-muted">
                                            <?php echo htmlentities($vo['title']); ?>
                                        </a>
                                    </p>
                                </div>
                                <div class="mb-2">
                                    <span class="text-black-50 ml-2"> <small><?php if($vo['sell_status']): ?>
                                            <span class="badge badge-danger">
                                                ￥<?php echo htmlentities($vo['sell_price']); ?>
                                            </span>
                                            <?php else: ?>
                                            <span class="badge badge-info">
                                                免费
                                            </span>
                                            <?php endif; ?>
                                            <span class="badge badge-secondary">
                                                <?php switch($vo['level_status']): case "1": ?>初级
                                                <?php break; case "2": ?>中级
                                                <?php break; default: ?>高级
                                                <?php endswitch; ?>
                                            </span>
                                        </small></span>
                                    <span class=" float-right text-black-50 mr-2"><small><i class="fa fa-user-o" aria-hidden="true"></i> <?php echo htmlentities($vo['views']); ?></small></span>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                </div>
                <div class="container">
                    <br>
                    <h3> <i class="fa fa-link text-muted" aria-hidden="true"></i> 合作伙伴</h3>
                    <hr>
                    <div class="row">
                        <?php if(is_array($linklist) || $linklist instanceof \think\Collection || $linklist instanceof \think\Paginator): $k = 0; $__LIST__ = $linklist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>
                        <div class="col-md-3" id="info-box">
                            <div class="info-box text-center">
                                <a href="<?php echo htmlentities($vo['link_url']); ?>">
                                    <img class="rounded-lg imgcolor" src="<?php echo getUrlPath($vo['image_url']); ?>" width="100%" height="80px">
                                </a>
                            </div>
                        </div>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <footer class="main-footer">
    <!-- To the right -->
    <div class="float-right d-none d-sm-inline">
        <strong>
        	<?php echo htmlentities((isset($site_info['icpString']) && ($site_info['icpString'] !== '')?$site_info['icpString']:'京ICP证888888号')); ?>
        </strong>
    </div>
    <!-- Default to the left -->
    <strong>Copyright &copy; 2014-<?php echo date('Y',time()); ?> <a href="https://edu.lixuqi.com/">eduYouKe.com</a>.</strong> All rights reserved.
</footer>
<?php echo html_entity_decode($site_info['countCode']); ?>
    </div>
    <!-- ------公共js start------- -->
<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/popper.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/wangEditor.min.js"></script>
<script src="/static/js/adminlte.min.js"></script>
<!-- ------公共js end------- -->
<!-- ------模板js start------- -->
<script src="/template\website\default\public/static/js/modal_dialog.js"></script>
<script type="text/javascript">
$(function() {
    $('.pagination').addClass("pagination-sm m-0");
    $('.pagination li').addClass("page-item");
    $('.pagination li span').addClass("page-link");
    $('.pagination li a').addClass("page-link");
})


function success(message = 'success', timeout = 2000) {


    $modal({
        type: 'message',
        icon: 'success',
        timeout: timeout,
        content: message,
        center: false,
        top: 100,
        transition: 300,
        closable: true,
    })
}


function error(message = 'error', timeout = 2000) {

    $modal({

        type: 'message',
        icon: 'error',
        content: '验证码发送成功,请注意查收',
        content: message,
        center: false,
        top: 100,
        transition: 300,
        closable: true,
    })
}

function CheckMobile(mobile) {

    if (!mobile) {
        return 0;
    }
    var reg = /[a-zA-Z0-9]{1,10}@[a-zA-Z0-9]{1,5}\.[a-zA-Z0-9]{1,5}|^1[3578]\d{9}$|^[\u4e00-\u9fa5]{2,4}$/;
    if (!reg.test(mobile)) {
        return 2;
    } else {
        return mobile;
    }

}

$(".rounded-lg").hover(function() {
    $(this).toggleClass("imgcolor");
});


//播放器快捷键
$(window).keydown(function(e) {
    e == e || Window.event;
    var Code = e.keyCode || e.which || e.charCode;
    if (Code == "32") { //空格键(暂停，播放)
        e.preventDefault();
        var videoplay = $('input[name="videoplay"]').val(); //定义一个隐藏域 来区分播放状态
        if (videoplay == 0) {
            player.pause();
            $('input[name="videoplay"]').val(1);
        } else {
            player.play();
            $('input[name="videoplay"]').val(0);
        }
    } else if (Code == "37") { //左箭头（后退）
        var videotimes = player.getDuration();
        var playnum = player.getCurrentTime();
        playnum = parseInt(playnum - 10);
        if (playnum <= (videotimes - 30)) {
            player.seek(playnum);
        }
    } else if (Code == "39") { //right（快进）
        var videotimes = player.getDuration();
        var playnum = player.getCurrentTime();
        playnum = parseInt(playnum + 10);
        if (playnum <= (videotimes + 30)) {
            player.seek(playnum);
        }
    } else if (Code == "38") { //up(音量+)
        e.preventDefault();
        var nowvioce = player.getVolume();
        if (nowvioce >= 1) {
            player.setVolume(1);
        } else {
            player.setVolume(nowvioce + 0.05);
        }
    } else if (Code == "40") { //down（音量-）
        e.preventDefault();
        var nowvioce = player.getVolume();
        if (nowvioce <= 0) {
            player.setVolume(0);
        } else {
            player.setVolume(nowvioce - 0.05);
        }
    }
});


</script>
</body>

</html>