<!-- END / INTRODUCTION --> <!-- OUTLINE --> <div class="tab-pane fade in active" id="outline"> <div class="section-outline"> <h4 class="tit-section xsm"><?php the_title(); ?> </h4> <ul class="section-list"> <?php foreach ($sections as $index => $section) { ?> <li<?php if (current_user_has_learned(get_the_ID() . '-' . $index)) { ?> class="o-view"<?php } ?> > <div class="count"><span><?php echo $index + 1; ?> </span></div> <div class="list-body"> <i class="icon md-camera"></i> <p><a href="<?php echo site_url(); ?> /learn/?course_id=<?php
<section id="learning-section" class="learning-section learn-section"> <div class="container"> <div class="title-ct"> <h3><?php echo $section->title; ?> </h3> <div class="tt-right"> <input type="checkbox" id="markaslearned" value="<?php echo $course->ID; ?> -<?php echo $_GET['section_id']; ?> "<?php if (current_user_has_learned($course->ID . '-' . $_GET['section_id'])) { ?> checked="checked"<?php } ?> > <label for="markaslearned"> 标记为已学 <i class="icon md-check-2"></i> </label> </div> </div> <div class="abc"> <div class="video embed-responsive embed-responsive-16by9"> <?php if (!$section->videos[0]) {