<?php if($data['open_bd'] == 1): ?>
    <script>
        location.href = '/exchange.html';
    </script>
<?php endif; ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>唯尔课程暑假班<?php echo e('_'.$data['title']); ?></title>
    <meta name="Keywords" content="<?php echo e($data['keywords']); ?>"/>
    <meta name="Description" content="<?php echo e($data['description']); ?>"/>
<link href="css/main.css" rel="stylesheet" type="text/css"/>
<link href="css/teacher.css" rel="stylesheet" type="text/css"/>
<link href="css/coursesOnecss.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="js/indexjs.js"></script>
<script type="text/javascript" src="js/jquery-1.4.4.js"></script>
</head>

<body>
	<!--顶部-->
        <div class="header" >
        	<div class="header_all">
        	<div class="header_logo" ><a href="index.html"><img src="images/logo.png"/></a></div>
            <div class="header_div">
                <ul class="header_ul">
                    <li class="header_li"><a class="logoa"   href="production.html">学院介绍</a></li>
                    <li class="header_li"><a class="logoa"   href="teachers.html">教师风采</li>
                    <li class="header_li"><a class="logoa"  href="coursesOne.html">课程介绍</li>
                    <li class="header_li"><a class="logoa"  href="index.html#read">推荐阅读</a></li>
                    <li class="header_li"><a class="logoa"   href="add.html">加入我们</a></li>
                    <li class="header_li"><input id="texts" type="text" onclick="cleartext('texts')" style="height:27px;width:190px; color:#ccc; font-family:'微软雅黑'; font-size:18px;" value="搜索教室或课程" /><input type="image" src="images/search.png" style=" border:1px solid #CCC; width:25px; margin-left:-30px; margin-top:0px; margin-bottom:-6px; border-bottom:none; border-top:none; border-right:none;" /></li>
                </ul>
            </div>
            </div>
        </div>
        <div style="width:100%; height:350px; background:url(images/little_logo.jpg);"> 
        
        </div>
      <div class="ddiv">
        <div class="teacher_center" style="height:1200px;" >
        	<h1>暑假班级设置：</h1>
            <hr color="#46474C" class="hra" style="width:130px;"  size="1" />
            <hr color="#BAC9C6"  class="hrb" style="margin-left:237px; width:865px;" size="1" />
            <table class="gridtable"  bordercolor="#000" width="1000px" style="text-align:center; margin-top:40px; font-family:'微软雅黑'; line-height:30px;">
            	<tr bgcolor="#4AB5A1" height="45px;"  style="font-size:20px;  text-align:center;">
                <th>开设班级</th>
                <th>课程内容</th>
                <th>上课时间</th>
                <th>课时数</th>
                <th>课程费用</th>
                </tr>
                <tr>
                	<td>雅思基础班<br /> 6-8人<br /> 周末班</td>
                	<td>雅思基础<br />听说读写</td>
                	<td style="line-height:80px;" rowspan="9">6.15-7.11<br />6.22-7.18<br />6.29-7.25<br/>7.6-8.1<br />7.13-8.8<br />7.20-8.17<br />7.27-8.22<br />每周一至六<br />10：00—19:00</td>
                	<td>听说读写各9次<br />共72课时</td>
                	<td>7200元</td>
                </tr>
                <tr>
                	<td>雅思强化班<br /> 6-8人<br /> 周末班</td>
                	<td>雅思强化<br />听说读写</td>
                	<td>听说读写各10次<br />共80课时</td>
                	<td>8800元</td>
                </tr>
                <tr>
                	<td>雅思冲刺班<br /> 6-8人<br /> 周末班</td>
                	<td>听说读写考前<br />强化及真题模考讲解</td>
                	<td>听说读写各10次<br />共80课时</td>
                	<td>9600元</td>
                </tr>
                <tr>
                	<td>托福基础<br /> 6-8人<br /> 周末班</td>
                	<td>托福基础<br />听说读写</td>
                	<td>听说读写各9次<br />共72课时</td>
                	<td>7920元</td>
                </tr>
                <tr>
                	<td>托福基础<br /> 6-8人<br /> 周末班</td>
                	<td>托福基础<br />听说读写</td>
                	<td>听说读写各9次<br />共72课时</td>
                	<td>7920元</td>
                </tr>
                <tr>
                	<td>托福强化班<br /> 6-8人<br /> 周末班</td>
                	<td>托福强化<br />听说读写</td>
                	<td>听读各8次<br />写作口语各10次</td>
                	<td>9000元</td>
                </tr>
                <tr>
                	<td>托福冲刺班<br /> 6-8人<br /> 周末班</td>
                	<td>听说读写考前强化<br />及真题模考讲解</td>
                	<td>听读各8次<br />写作口语各10次</td>
                	<td>10800元</td>
                </tr>
                <tr>
                	<td>预备班<br /> 8-12人<br /> 周末班</td>
                	<td>听说读写综合教程</td>
                	<td>48小时</td>
                	<td>4800元</td>
                </tr>
                <tr>
                	<td>SAT基础班<br /> 6-8人<br /> 周末班</td>
                	<td>基础词汇，语法及写作<br/>阅读</td>
                	<td>词汇6次<br/>语法6次<br/>写作8次<br/>阅读10次</td>
                	<td>9000元</td>
                </tr>
            </table>
            
        </div>
       </div>
    <a name="foot"></a>
        <!--底部-->
    <div class="foot">
    	<div class="foot_all" >
     		<div class="foot_left">
            	<div class="foot_left_one">
                	<ul>
                    	<li class="foot_left_one_li" style="color:#fff; margin-top:-7px; margin-left:6px;">学院介绍</li>
                    	<li class="foot_left_one_li" style="margin-top:4px;" ><a style="color:#9A9EA7;" href="production.html">关于学院</a></li>
                    	<li class="foot_left_one_li">服务条款</li>
                    	<li class="foot_left_one_li">隐私保护</li>
                    	<li class="foot_left_one_li"><a style="color:#9A9EA7;" href="#foot">联系我们</a></li>
                    </ul>
                </div>
                <div class="foot_left_two">
                	<ul>
                    	<li class="foot_left_two_li" style="color:#fff; margin-top:-5px; margin-left:21px;">课程介绍</li>
                    	<li class="foot_left_two_li" style="margin-top:5px;"><a style="color:#9A9EA7;" href="#center_title">了解课程</a></li>
                    	<li class="foot_left_two_li"><a style="color:#9A9EA7;" href="production.html">学院优势</a></li>
                    	<li class="foot_left_two_li"><a style="color:#9A9EA7;" href="teachers.html">师资力量</a></li>
                    </ul>
                </div>
                <div class="foot_left_three">
                	<ul>
                    	<li class="foot_left_three_li" style="margin-left:21px; color:#fff; margin-top:-6px;" >如何报名</li>
                    	<li class="foot_left_three_li" style="margin-top:5px; margin-left:20px;  margin-top:6px;"><a style="color:#9A9EA7;" href="#foot">报名</a></li>
                    </ul>
                </div>
            </div>

    </div>
    </div>
            <div class="foot_bom">
                <?php if($data['open_foot'] == 1): ?>
                    <span style="display: inline !important;">Copyright ©<?php echo e($data['banquan']); ?></span> |
                    <span style="display: inline !important;">备案号:<?php echo e($data['beian']); ?></span> |
                    <span style="display: inline !important">友情链接:
                        <?php foreach($data['lianjie_name'] as $key => $vo): ?>
                            <a style="display: inline !important;"
                               href="<?php echo e(is_or($data['lianjie'],$key)); ?>"><?php echo e($vo); ?></a>
                        <?php endforeach; ?>
                </span>
                <?php endif; ?>
            </div>
</body>



<style>
    .nico {
        position: fixed;
        top: 10px;
        right: 0;
        bottom: 0;
        z-index: 10000;
        width: 400px;
        height: 500px;
        border: 0;
        background-color: #fff;
        box-shadow: 0 0 0 4px lightseagreen
    }

    .nico * {
        padding: 0;
        margin: 0;
    }

    .news_wrap {
        position: relative;
        height: 500px;
    }

    .news_wrap li {
        position: relative;
        padding-left: 10px;
        list-style-type: none;
        display: block;
        width: 380px;
        height: 40px;
        line-height: 40px;
        border-bottom: 1px solid grey
    }

    .news_wrap li > span {
        display: block;
        width: 300px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        height: 100%;
        line-height: 40px;
    }

    .news_wrap li > i {
        position: absolute;
        width: 80px;
        font-size: .5rem;
        top: 0;
        right: 0;
    }

    .page-btn {
        position: absolute;
        width: 100%;
        height: 70px;
        bottom: 0;
    }

    .page-btn li {
        font-size: .8rem;
        padding: 0 !important;
        margin-left: 2px;
        list-style-type: none;
        display: inline-block;
        width: 15px;
        height: 15px;
        line-height: 15px;
        text-align: center;
        border: 1px solid grey;
        cursor: pointer;
    }

    .clicked {
        background-color: #0c5460;
        color: #fff;
    }
</style>
<div class="nico">
    <div class="news_wrap">
        <ul>
            <?php foreach($data['list'][0] as $vo): ?>
                <li style="border-bottom: 1px solid #ccc;">
                <span><a style="text-decoration: none;color:#000" href="detail/<?php echo e(pathinfo($vo,PATHINFO_BASENAME)); ?>"
                         target="_blank"><?php echo e($data['titles'][rtrim(pathinfo($vo,PATHINFO_BASENAME),'.html')]); ?></a></span>
                    <i><?php echo e(Date('Y/m/d',strtotime($data['times'][rtrim(pathinfo($vo,PATHINFO_BASENAME),'.html')]))); ?></i>
                </li>
            <?php endforeach; ?>
        </ul>
        <div class="page-btn">
            <ul>
                <?php foreach($data['list'] as $key => $vo): ?>
                    <li class="pg-li <?php echo e($key ?'':'clicked'); ?>"><?php echo e($key + 1); ?></li>
                <?php endforeach; ?>
            </ul>
        </div>
    </div>
</div>
<script>
    let list = JSON.parse("<?php echo e(json_encode($data['list'])); ?>".replace(/&quot;/g, '"')),
        titles = JSON.parse("<?php echo e(json_encode($data['titles'])); ?>".replace(/&quot;/g, '"')),
        times = JSON.parse("<?php echo e(json_encode($data['times'])); ?>".replace(/&quot;/g, '"'));
    $('.pg-li').click(function () {
        $(this).addClass('clicked').siblings().removeClass('clicked');
        let p = ($(this).text() - 1) | 0,
            data = list[p];
        $('.news_wrap > ul').html(function () {
            let html = '';
            $(data).each(function (x, y) {
                let id = y.match(/(\d+)\.html/)[1],
                    time = times[id].split(' ')[0].replace('-', '/');
                html += '<li style="border-bottom: 1px solid #ccc;"><span><a style="text-decoration: none;color:#000" href="detail/' + id + '.html" target="_blank">' + titles[id] + '</a></span> <i>' + time + '</i></li>';
            });
            return html;
        });
    });
</script>
</html>
