HEX
Server: LiteSpeed
System: Linux spg20.cloudpowerdns.com 5.14.0-611.35.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 25 03:46:09 EST 2026 x86_64
User: carrerup (3153)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/carrerup/.trash/techland/vc_templates/vc_column_inner.php
<?php
if (! defined('ABSPATH')) {
    die('-1');
}

/**
 * Shortcode attributes
 * @var $atts
 * @var $el_class
 * @var $width
 * @var $css
 * @var $offset
 * @var $content - shortcode content
 * Shortcode class
 * @var $this WPBakeryShortCode_VC_Column_Inner
 */
$el_class = $width = $css = $offset = '';

//extra inner_column atts

$techland_lg_bgpos = $techland_md_bgpos = $techland_sm_bgpos  = $techland_xs_bgpos = '';

$techland_lg_custom_bgpos = $techland_md_custom_bgpos = $techland_sm_custom_bgpos = $techland_xs_custom_bgpos = '';

$techland_md_hidebg = $techland_sm_hidebg = $techland_xs_hidebg = '';

$techland_md_css = $techland_sm_css = $techland_xs_css = '';

$techland_premartop = $techland_premarbot = $techland_prepadtop = $techland_prepadbot = '';

$ex_gradient_toggle = $techland_row_grad1 = $techland_row_grad2 = '';

$techland_disable_column = '';

// colummn content text alignment
$techland_alignment = $techland_lg_alignment = $techland_md_alignment = $techland_sm_alignment = $techland_xs_alignment = '';

// display flex
$techland_column_flex = '';

//extra inner_column atts

$output = '';
$atts = vc_map_get_attributes($this->getShortcode(), $atts);
extract($atts);

$width = wpb_translateColumnWidthToSpan($width);
$width = vc_column_offset_class_merge($offset, $width);

$width = $techland_disable_column == 'yes' ? '' : $width;

$css_classes = array(
    $this->getExtraClass($el_class),
    'nt-column',
    $width,
    $techland_column_flex,
    $techland_alignment,
    $techland_lg_alignment,
    $techland_md_alignment,
    $techland_sm_alignment,
    $techland_xs_alignment,
    $techland_prepadtop,
    $techland_prepadbot,
    $techland_premartop,
    $techland_premarbot,
);

if ('yes' === $techland_md_hidebg) {
    $css_classes[] = 'md-bg-image-hide';
}
if ('yes' === $techland_sm_hidebg) {
    $css_classes[] = 'sm-bg-image-hide';
}
if ('yes' === $techland_xs_hidebg) {
    $css_classes[] = 'xs-image-hide';
}

if (vc_shortcode_custom_css_has_property($css, array(
    'border',
    'background',
))) {
    $css_classes[] = 'nt-col-has-fill';
}

$unique_class = 'nt_column_1'.mt_rand(5, 1000);

$wrapper_attributes = array();
$css_class = preg_replace('/\s+/', ' ', apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode(' ', array_filter($css_classes)), $this->settings['base'], $atts));

$wrapper_attributes[] = 'class="' . esc_attr( trim( $css_class ) ) . '"';
if ( ! empty( $el_id ) ) {
	$wrapper_attributes[] = 'id="' . esc_attr( $el_id ) . '"';
}

$inner_attributes = array();
$res_css = '';

	$techland_extra = array();
	$techland_extra[] = $ex_gradient_toggle == 'yes' && $techland_row_grad1 && $techland_row_grad2 ? '.'.$unique_class.'{background: linear-gradient(90deg, '.$techland_row_grad1.' 0%, '.$techland_row_grad2.' 100%);}' : '';

if (function_exists('techland_vc_extra_css')) {
    $res_css = techland_vc_extra_css( $atts, $unique_class, $techland_extra, $bg_options=true );
    $unique_class = false != $res_css ? ' '.$unique_class : '';
    if (vc_shortcode_custom_css_class($css) || $res_css) {
        $inner_attributes[] = 'class="nt-shortcode-wrapper '. esc_attr(trim(vc_shortcode_custom_css_class($css)) . $unique_class ) .'"';
        $inner_attributes[] = $res_css;
    }
}

?>

    <div <?php echo implode(' ', $wrapper_attributes); ?>>
        <?php if (vc_shortcode_custom_css_class($css) || $res_css) { ?>
        <div <?php echo implode(' ', $inner_attributes); ?>>
        <?php } ?>

            <?php echo wpb_js_remove_wpautop($content); ?>

        <?php if (vc_shortcode_custom_css_class($css) || $res_css) { ?>
        </div>
        <?php } ?>
    </div>

<?php