403Webshell
Server IP : 143.20.199.11  /  Your IP : 216.73.216.116
Web Server : LiteSpeed
System : Linux srv12 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : ruangsat ( 2493)
PHP Version : 8.3.31
Disable Function : exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ruangsat/domains/ruangsatu.com/public_html/wp-content/themes/covernews/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ruangsat/domains/ruangsatu.com/public_html/wp-content/themes/covernews/sidebar.php
<?php
/**
 * The sidebar containing the main widget area
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package CoverNews
 */

if (!is_active_sidebar('sidebar-1')) {
    return;
}

$global_layout = covernews_get_option('global_content_alignment');
$page_layout = $global_layout;

$frontpage_layout = covernews_get_option('frontpage_content_alignment');
if (is_front_page() && is_home()) {

    if (!empty($frontpage_layout)) {
        $page_layout = $frontpage_layout;
    }
    else {
        $page_layout = $global_layout;
    }
} elseif (is_front_page()) {
    $page_layout = $frontpage_layout;
} else {

    if (is_singular()) {
        $post_options = get_post_meta($post->ID, 'covernews-meta-content-alignment', true);
        if (!empty($post_options)) {
            $page_layout = $post_options;
        } else {
            $page_layout = $global_layout;
        }
    }else{
        $page_layout = $global_layout;
    }
    
}

if ($page_layout == 'full-width-content') {
    return;
}

?>
<?php
$sticky_sidebar_class = '';
$sticky_sidebar = covernews_get_option('frontpage_sticky_sidebar');
if ($sticky_sidebar) {
    $sticky_sidebar_class = covernews_get_option('frontpage_sticky_sidebar_position');
}
?>
<aside id="secondary" class="widget-area <?php echo esc_attr($sticky_sidebar_class); ?>">
	<?php dynamic_sidebar('sidebar-1'); ?>
</aside><!-- #secondary -->

Youez - 2016 - github.com/yon3zu
LinuXploit