body.php
7 years ago
no_course_belongs.php
7 years ago
single_quiz_contents.php
7 years ago
top.php
7 years ago
single_quiz_contents.php
56 lines
| 1 | |
| 2 | <?php |
| 3 | $course = tutor_utils()->get_course_by_quiz(get_the_ID()); |
| 4 | ?> |
| 5 | |
| 6 | |
| 7 | <!----> |
| 8 | <!--<div class="tutor-single-page-top-bar">--> |
| 9 | <!-- <div class="tutor-topbar-item tutor-hide-sidebar-bar">--> |
| 10 | <!-- <a href="javascript:;" class="tutor-lesson-sidebar-hide-bar"><i class="tutor-icon-menu-2"></i> </a>--> |
| 11 | <!-- </div>--> |
| 12 | <!----> |
| 13 | <!-- --> |
| 14 | <!----> |
| 15 | <!-- <div class="tutor-topbar-item tutor-topbar-content-title-wrap">--> |
| 16 | <!-- --><?php |
| 17 | // tutor_utils()->get_lesson_type_icon(get_the_ID(), true, true); |
| 18 | // the_title(); ?> |
| 19 | <!-- </div>--> |
| 20 | <!----> |
| 21 | <!-- <div class="tutor-topbar-item tutor-topbar-back-to-curse-wrap">--> |
| 22 | <!-- <a href="--><?php //echo get_the_permalink($course->ID); ?><!--">--> |
| 23 | <!-- <i class="tutor-icon-next-2"></i> --><?php //echo sprintf(__('Go to %s Course Home %s', 'tutor'), '<strong>', '</strong>') ; ?> |
| 24 | <!-- </a>--> |
| 25 | <!-- </div>--> |
| 26 | <!--</div>--> |
| 27 | |
| 28 | <div class="tutor-single-page-top-bar"> |
| 29 | <div class="tutor-topbar-item tutor-hide-sidebar-bar"> |
| 30 | <a href="javascript:;" class="tutor-lesson-sidebar-hide-bar"><i class="tutor-icon-menu-2"></i> </a> |
| 31 | <a href="<?php echo get_the_permalink($course->ID); ?>"> |
| 32 | <i class="tutor-icon-next-2"></i> <?php echo sprintf(__('Go to %s Course Home %s', 'tutor'), '<strong>', '</strong>') ; ?> |
| 33 | </a> |
| 34 | </div> |
| 35 | <div class="tutor-topbar-item tutor-topbar-content-title-wrap"> |
| 36 | <?php |
| 37 | tutor_utils()->get_lesson_type_icon(get_the_ID(), true, true); |
| 38 | the_title(); ?> |
| 39 | </div> |
| 40 | |
| 41 | <div class="tutor-topbar-item tutor-topbar-mark-to-done" style="width: 150px;"></div> |
| 42 | </div> |
| 43 | |
| 44 | |
| 45 | <div class="tutor-quiz-single-wrap "> |
| 46 | <input type="hidden" name="tutor_quiz_id" id="tutor_quiz_id" value="<?php the_ID(); ?>"> |
| 47 | |
| 48 | <?php |
| 49 | if ($course){ |
| 50 | tutor_single_quiz_top(); |
| 51 | tutor_single_quiz_body(); |
| 52 | }else{ |
| 53 | tutor_single_quiz_no_course_belongs(); |
| 54 | } |
| 55 | ?> |
| 56 | </div> |