add_new_instructor.php
7 years ago
addons.php
7 years ago
answer.php
7 years ago
enable_disable_addons.php
7 years ago
get-pro.php
7 years ago
instructors.php
7 years ago
question_answer.php
7 years ago
quiz_attempts.php
7 years ago
status.php
7 years ago
students.php
7 years ago
tutor-pro-addons.php
7 years ago
uninstall.php
7 years ago
view_attempt.php
7 years ago
withdraw_requests.php
7 years ago
question_answer.php
26 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package @TUTOR |
| 4 | * @since v.1.0.0 |
| 5 | */ |
| 6 | |
| 7 | if (isset($_GET['sub_page'])){ |
| 8 | $page = sanitize_text_field($_GET['sub_page']); |
| 9 | include_once tutor()->path."views/pages/{$page}.php"; |
| 10 | return; |
| 11 | } |
| 12 | |
| 13 | $instructorList = new \TUTOR\Question_Answers_List(); |
| 14 | $instructorList->prepare_items(); |
| 15 | ?> |
| 16 | |
| 17 | <div class="wrap"> |
| 18 | <h2><?php _e('Question & Answer', 'tutor'); ?></h2> |
| 19 | |
| 20 | <form id="question_answers-filter" method="get"> |
| 21 | <input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" /> |
| 22 | <?php |
| 23 | $instructorList->search_box(__('Search', 'tutor'), 'question_answers'); |
| 24 | $instructorList->display(); ?> |
| 25 | </form> |
| 26 | </div> |