403Webshell
Server IP : 167.235.67.158  /  Your IP : 216.73.216.95
Web Server : Apache
System : Linux ubuntu-8gb-nbg1-1 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/vinfinity.co.uk/wp-content/themes/dine/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vinfinity.co.uk/wp-content/themes/dine/woocommerce.php
<?php get_header();
    // Start the loop.
    if ( have_posts() ) :
?>

<?php
if ( is_shop() || is_product_category() || is_product_tag() ) :

if ( is_shop() && ! is_search() ) {
    $shop_id = get_option( 'woocommerce_shop_page_id' );
    $show_header = ! $shop_id ||  'true' !== get_post_meta( $shop_id, '_dine_disable_title', true );
    $subtitle = trim( get_post_meta( $shop_id, '_dine_subtitle', true ) );
    
    if ( has_post_thumbnail( $shop_id ) ) {
        $tb = get_the_post_thumbnail_url( $shop_id, 'full' );
        $bg = ' style="background-image:url(' . esc_url( $tb ) .')"';
        $header_class = 'dine-parallax';
    } else {
        $bg = '';
        $header_class = '';
    }
    
} else {
    $show_header = true;
    $bg = '';
    $header_class = '';
    $subtitle = '';
}

if ( $show_header ) : ?>

<header id="page-header"<?php echo $bg;?> class="<?php echo esc_attr( $header_class ); ?>">
    
    <div class="container">
    
        <div class="dine-parallax-element">
        
            <h1 id="page-title"><?php woocommerce_page_title(); ?></h1>
            
        </div>

        <?php if ( $subtitle ) : ?>

        <div class="dine-parallax-element">
            
            <h2 id="page-subtitle"><?php echo wp_kses( $subtitle, dine_allowed_html() ); ?></h2>
            
        </div>

        <?php endif; ?>
        
        <?php if ( 'false' !== get_theme_mod ( 'page_star_icon', 'true' ) ) : ?>
        
        <div class="dine-parallax-element">
        
            <div class="dine-divider type-icon divider-icon has-animation" data-delay="200">

                <div class="divider-inner">

                    <div class="divider-line line-left"></div>

                        <div class="icon-wrapper">

                    <?php if ( $image = get_theme_mod( 'page_star_icon_image' ) ) {
                        $width = absint( get_theme_mod( 'page_star_icon_image_width', 24 ) );
        $img = '<img src="' . esc_url( $image ) . '" alt="' . esc_html__( 'Separator Icon', 'dine' ). '"';
    if ( $width ) $img .= ' width="' . $width . '"';
    $img .= ' />';
                    ?>
                  
                    <span class="icon type-image"><?php echo $img; ?></span>
                    
                    <?php } else { ?>
                    
                        <?php if ( $icon = trim( get_theme_mod( 'page_star_icon_replacement' ) ) ) $fa = dine_icon_to_fa( $icon ); else $fa = 'fas fa-star'; ?>

                        <span class="icon type-icon"><i class="<?php echo esc_attr( $fa ); ?>"></i></span>
                    
                    <?php } // type image or icon ?>

                        </div><!-- .icon-wrapper -->

                    <div class="divider-line line-right"></div>

                </div><!-- .divider-inner -->

            </div>
            
        </div><!-- .dine-parallax-element -->
        
        <?php endif; ?>
        
    </div><!-- .container -->
    
    <div class="row-overlay"></div>

</header><!-- #page-header -->

<?php endif; ?>

<?php endif; // is_shop() ?>

<div class="page-wrapper" id="page-wrapper">
    
    <div class="container">

        <div id="primary" class="content-area">

                <?php
                    woocommerce_content();
                ?>
                <div class="clearfix"></div>

        </div><!-- #primary -->
        
        <?php dine_maybe_sidebar( 'shop' ); ?>
        
    </div><!-- .container -->
    
</div><!-- #page-wrapper -->
    
<?php
// End the loop.
endif;

get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit