403Webshell
Server IP : 5.129.245.98  /  Your IP : 216.73.217.19
Web Server : Apache/2.4.66 (Debian)
System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/themes/rehub-theme/inc/parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/rehub-theme/inc/parts/newswrap.php
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php global $post;?>
<?php $secondtype = (isset($secondtype)) ? $secondtype : '';?>
<?php $thirdtype = (isset($thirdtype)) ? $thirdtype : '';?>
<?php $colfclass = (!$thirdtype || $thirdtype=='no') ? 'wpsm-one-half' : 'wpsm-two-fifth';?>
<?php $colsecclass = (!$thirdtype || $thirdtype=='no') ? 'wpsm-one-half' : 'news_sec_col';?>

    <?php if($i == 1):?>
        <div class="news_first_col mobileblockdisplay mr0 ml0 mb30 <?php echo ''.$colfclass;?>">
            <?php $small = false;?>
            <?php include(rh_locate_template('inc/parts/newsblock.php')); ?>
        </div>
    <?php endif;?>
    <?php if($i == $secstart):?>
        <div class="mr0 ml0 mb30 mobileblockdisplay <?php echo ''.$colsecclass;?>">
    <?php endif;?>
        <?php if($i >= $secstart && $i <= $secend):?>
            <?php if($secondtype == '1'):?>
                <?php $image = true;?>
                <?php include(rh_locate_template('inc/parts/simplepostlist.php')); ?>
            <?php elseif($secondtype == '2'):?>
                <?php $image = false;?>
                <?php include(rh_locate_template('inc/parts/simplepostlist.php')); ?>
            <?php elseif($secondtype == '3'):?>
                <?php $small = true;?>
                <?php include(rh_locate_template('inc/parts/newsblock.php')); ?>
            <?php else:?> 
                <?php $image = true;?>   
                <?php include(rh_locate_template('inc/parts/simplepostlist.php')); ?>
            <?php endif;?>
        <?php endif;?>
    <?php if($i == $secend):?>
        </div>
    <?php endif;?>
    <?php if($thirdtype && $thirdtype!='no'):?>
        <?php if($i == $thirdstart):?>
            <div class="news_third_col mobileblockdisplay mr0 ml0 <?php echo ''.$colsecclass;?>">
        <?php endif;?>
            <?php if($i >= $thirdstart && $i <= $thirdend):?>
                <?php if($thirdtype == '1'):?>
                    <?php $image = true;?>
                    <?php include(rh_locate_template('inc/parts/simplepostlist.php')); ?>
                <?php elseif($thirdtype == '2'):?>
                    <?php $image = false;?>
                    <?php include(rh_locate_template('inc/parts/simplepostlist.php')); ?>
                <?php elseif($thirdtype == '3'):?>
                    <?php $small = true;?>
                    <?php include(rh_locate_template('inc/parts/newsblock.php')); ?>
                <?php else:?> 
                    <?php $image = true;?>   
                    <?php include(rh_locate_template('inc/parts/simplepostlist.php')); ?>
                <?php endif;?>
            <?php endif;?>
        <?php if($i == $thirdend):?>
            </div>
        <?php endif;?>
    <?php endif;?>

Youez - 2016 - github.com/yon3zu
LinuXploit