HEX
Server: Apache
System: Linux 66-116-199-115.webhostbox.net 5.14.0-427.31.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 15 14:47:52 EDT 2024 x86_64
User: blushinc (1003)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/blushinc/loleverywhere.com/wp-content/plugins/td-composer/includes/shortcodes/vc_raw_html.php
<?php
/**
 * Created by PhpStorm.
 * User: tagdiv
 * Date: 16.02.2016
 * Time: 14:31
 */

class vc_raw_html extends tdc_composer_block {

	function render($atts, $content = null) {
		parent::render($atts);

		$atts = shortcode_atts(
			array(
				'content' => base64_encode( __('Html code here! Replace this with any non empty raw html code and that\'s it.', 'td_composer' ) ),
				'el_class' => '',
			), $atts, 'vc_raw_html' );

		if ( is_null( $content ) || empty( $content ) ) {
			$content = $atts[ 'content' ];
		}

		$content = rawurldecode( base64_decode( strip_tags( $content ) ) );


        $buffy = '<div class="wpb_wrapper ' . $this->get_wrapper_class() . ' ' . $this->get_block_classes( array( $atts['el_class'] ) ) . '">';

            //get the block css
            $buffy .= $this->get_block_css();


            //td-fix-index class to fix background color z-index
            $buffy .= '<div class="td-fix-index">' . $content . '</div>';

        $buffy .= '</div>';
        return $buffy;
	}
}