403Webshell
Server IP : 207.244.250.86  /  Your IP : 216.73.216.10
Web Server : Apache
System : Linux plesk1.codeponents.com 4.18.0-240.10.1.el8_3.x86_64 #1 SMP Mon Jan 18 17:05:51 UTC 2021 x86_64
User : motionave ( 10025)
PHP Version : 8.0.15
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/motionave.com/devsite.motionave.com/wp-content/themes/brooklyn/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/motionave.com/devsite.motionave.com/wp-content/themes/brooklyn//sidebar-footer.php
<?php

/**
 * Default Sidebar
 * by www.unitedthemes.com
 */

// count the active sidebars to determine column sizes
$sidebars = is_active_sidebar( 'first-footer-widget-area' ) + is_active_sidebar( 'second-footer-widget-area' ) + is_active_sidebar( 'third-footer-widget-area' ) + is_active_sidebar( 'fourth-footer-widget-area' );
$sidebargrid = "grid-25";

if ($sidebars == "1") {
	
	// if only one - fullwidth
	$sidebargrid = "grid-100 tablet-grid-100 mobile-grid-100";

} elseif ($sidebars == "2") {
	
	// if two, split in half
	$sidebargrid = "grid-50 tablet-grid-50 mobile-grid-100";
	
} elseif ($sidebars == "3") {
	
	// if three, divide in thirds
	$sidebargrid = "grid-33 tablet-grid-33 mobile-grid-100";

} elseif ($sidebars == "4") {
	
	// if four, split in fourths
	$sidebargrid = "grid-25 tablet-grid-50 mobile-grid-100";
	
} ?>

<?php if ($sidebars) : ?>
    
    <div class="ut-footer-area">
     
        <div class="grid-container">
            
        <?php if (is_active_sidebar( 'first-footer-widget-area' )) : ?>
        
        <div class="<?php echo $sidebargrid;?>">
            <ul class="sidebar">
                <?php dynamic_sidebar( 'first-footer-widget-area' ); ?>
            </ul>
        </div>
        
        <?php endif;?>
        
        <?php if (is_active_sidebar( 'second-footer-widget-area' )) :?>
        
        <div class="<?php echo $sidebargrid;?>">
            <ul class="sidebar">
                <?php dynamic_sidebar( 'second-footer-widget-area' ); ?>
            </ul>
        </div>
        
        <?php endif;?>
        
        <?php if( $sidebars == "4" ) { echo '<div class="clear hide-on-desktop hide-on-mobile"></div>'; } ?>
        
        <?php if (is_active_sidebar( 'third-footer-widget-area' )) : ?>
        
        <div class="<?php echo $sidebargrid;?>">
            <ul class="sidebar">
                <?php dynamic_sidebar( 'third-footer-widget-area' ); ?>
            </ul>
        </div>
        
        <?php endif;?>
        
        <?php if (is_active_sidebar( 'fourth-footer-widget-area' )) : ?>
        
        <div class="<?php echo $sidebargrid;?>">
            <ul class="sidebar">
                <?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?>
            </ul>
        </div>
        
        <?php endif;?>
        
        </div>
    
    </div>
    
    <div class="clear"></div>
    
<?php endif;?>

Youez - 2016 - github.com/yon3zu
LinuXploit