AnonSec Team
Server IP : 10.131.40.8  /  Your IP : 216.73.216.37
Web Server : Apache
System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : ludmqhh ( 137773)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/l/u/d/ludmqhh/www/hotel-forum/wp-content/themes/hotello/inc/skin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/l/u/d/ludmqhh/www/hotel-forum/wp-content/themes/hotello/inc/skin/responsive.php
<?php

/*Default layout styles*/
$default = hotello_get_layout_config();


$form_style = hotello_get_option('forms_global_style', 'style_1');

/*Colors*/
$main_color = hotello_get_option('main_color', $default['main_color']);
$secondary_color = hotello_get_option('secondary_color', $default['secondary_color']);
$third_color = hotello_get_option('third_color', $default['third_color']);

$loader_color = hotello_get_option('preloader_color', $main_color);

$breakpoints = array(480, 768, 1024, 1200);


$colors = array(
    'main_color' => array(),
    'secondary_color' => array(),
    'third_color' => array()
);

$bg_colors = array(
    1024 => array(
        'main_color' => array(),
        'secondary_color' => array(),
        'third_color' => array(
            '.stm_header_style_1 .stm-header',
        )
    )
);

$border_colors = array(
    'main_color' => array(),
    'secondary_color' => array(),
    'third_color' => array()
);


foreach ($breakpoints as $breakpoint) {
    if (empty($bg_colors[$breakpoint])) continue;
    echo sanitize_text_field("@media (max-width: {$breakpoint}px) {");

    foreach ($bg_colors[$breakpoint] as $bg_color => $elements) { ?>
        <?php
        echo implode(',', $elements) ?> {background-color: <?php echo sanitize_text_field(${$bg_color}); ?> !important}
    <?php }
    echo sanitize_text_field('}');
}


AnonSec - 2021