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/vc_templates/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/l/u/d/ludmqhh/www/hotel-forum/wp-content/themes/hotello/vc_templates/stm_separator.php
<?php
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
extract($atts);


hotello_add_element_style('separator', $style);

$style = empty($style) ? 'style_1' : $style;

$classes = array('stm_separator');
$classes[] = $color;
$classes[] = apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, vc_shortcode_custom_css_class($css, ' '));

$styles = array();
$styles[] = (!empty($custom_color)) ? "background-color: {$custom_color}" : '';
$styles[] = 'max-width: 100% !important';

if (!empty($sep_width)) {
    if (strpos($sep_width, '%') !== false) {
        $sep_width = intval($sep_width) . '%';
    } else {
        $sep_width = intval($sep_width) . 'px';
    }
    $styles[] = "width: {$sep_width}";
}

if (!empty($sep_height)) {
    if (strpos($sep_height, '%') !== false) {
        $sep_height = intval($sep_height) . '%';
    } else {
        $sep_height = intval($sep_height) . 'px';
    }

    $styles[] = "height: {$sep_height} ";
}

if (!empty($align)) {
    switch ($align) {
        case 'center' :
            $styles[] = "margin: 0 auto";
            break;
        case 'right' :
            $styles[] = "margin-left: auto";
            break;
    }
}
$atts['classes'] = $classes;
$atts['styles'] = $styles;

hotello_load_vc_element('stm_separator', $atts, $style);

AnonSec - 2021