Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/www/wp-content/themes/film-celebrity/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/www/wp-content/themes/film-celebrity/inc/common-inline.php
<?php

/*----------------------------------------------------------------------------------*/

$film_celebrity_common_inline_css = '';

$film_celebrity_scroll_top_alignment = get_theme_mod('film_celebrity_scroll_top_alignment', 'Right');

$film_celebrity_alignment_styles = [
    'Left' => 'left: 20px;',
    'Center' => 'right: 0; left: 0; margin: 0 auto;',
    'Right' => 'right: 20px;'
];

$alignment_style = $film_celebrity_alignment_styles[$film_celebrity_scroll_top_alignment] ?? $film_celebrity_alignment_styles['Right'];

$film_celebrity_common_inline_css .= "a.scrollup,button#scroll_2 { $alignment_style }";

/*----------------------------------------------------------------------------------*/

$film_celebrity_footer_background_color = get_theme_mod('film_celebrity_footer_background_color', '#333233');

if (!empty($film_celebrity_footer_background_color)) {
    $film_celebrity_common_inline_css .= ".footer-widgets { background: " . esc_attr($film_celebrity_footer_background_color) . "}";
}

/*----------------------------------------------------------------------------------*/

$film_celebrity_footer_background_image = get_theme_mod('film_celebrity_footer_background_image', '');

if (!empty($film_celebrity_footer_background_image)) {
    $film_celebrity_common_inline_css .= ".footer-widgets { background-image: url('" . esc_url($film_celebrity_footer_background_image) . "') !important; background-size: cover; background-repeat: no-repeat; }";
}

/*----------------------------------------------------------------------------------*/

$film_celebrity_copyright_alignment = get_theme_mod('film_celebrity_copyright_alignment', 'Center');

$film_celebrity_copyright_alignment_styles = [
    'Left' => 'text-align: left;',
    'Center' => 'text-align: center;',
    'Right' => 'text-align: right;'
];

$alignment_style = $film_celebrity_copyright_alignment_styles[$film_celebrity_copyright_alignment] ?? $film_celebrity_copyright_alignment_styles['Center'];

$film_celebrity_common_inline_css .= "#footer-copyright p { $alignment_style }";

/*----------------------------------------------------------------------------------*/

$film_celebrity_container_width = get_theme_mod('film_celebrity_container_width');

if (!empty($film_celebrity_container_width)) {
    $film_celebrity_common_inline_css .= "@media (min-width: 1024px) { 
        body, .navbar-area.header-fixed, .admin-bar .header-fixed,.loading { 
            width: " . esc_attr($film_celebrity_container_width) . "%; 
            margin: 0 auto; 
        } 
        .admin-bar .header-fixed { 
            margin-top: 32px; 
        } 
    }";
}

/*----------------------------------------------------------------------------------*/   

$film_celebrity_responsive_scroll_to_top_setting = get_theme_mod( 'film_celebrity_responsive_scroll_to_top_setting', true );

if ( $film_celebrity_responsive_scroll_to_top_setting == true && get_theme_mod( 'film_celebrity_scroll_to_top_setting', true ) != true ) {
    $film_celebrity_common_inline_css .= "a.scrollup,button#scroll_2 {
        display: none !important;
    }";
}

if ( $film_celebrity_responsive_scroll_to_top_setting == true ) {
    $film_celebrity_common_inline_css .= "@media screen and (max-width: 768px) {
        a.scrollup,button#scroll_2 {
            display: block !important;
        }
    }";
} elseif ( $film_celebrity_responsive_scroll_to_top_setting == false ) {
    $film_celebrity_common_inline_css .= "@media screen and (max-width: 768px) {
        a.scrollup,button#scroll_2 {
            display: none !important;
        }
    }";
}

/*----------------------------------------------------------------------------------*/ 

$film_celebrity_responsive_preloader_setting = get_theme_mod( 'film_celebrity_responsive_preloader_setting', false );

if ( $film_celebrity_responsive_preloader_setting == true && get_theme_mod( 'film_celebrity_preloader_setting', false ) == false ) {
    $film_celebrity_common_inline_css .= "@media screen and (min-width: 768px) {
        .loading {
            display: none !important;
        }
    }";
}

if ( $film_celebrity_responsive_preloader_setting == false ) {
    $film_celebrity_common_inline_css .= "@media screen and (max-width: 768px) {
        .loading {
            display: none !important;
        }
    }";
}

/*----------------------------------------------------------------------------------*/  

ZeroDay Forums Mini