Warning: Undefined array key "yPBFjS" in /home/ic3/domains/ic3.info/public_html/wp-includes/kses.php on line 1
HEX
HEX
Server: LiteSpeed
System: Linux control5.webnow.vn 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: ic3 (1169)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/ic3/public_html/wp-content/themes/flatsome/inc/shortcodes/commons/shape-divider.php
<?php // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable

$shape_dividers = require get_template_directory() . '/inc/builder/shortcodes/values/dividers.php';

if ( ! empty( $atts['divider_top'] ) && array_key_exists( $atts['divider_top'], $shape_dividers ) ) :
	$classes_divider_top = array(
		'ux-shape-divider',
		'ux-shape-divider--top',
		'ux-shape-divider--style-' . $atts['divider_top'],
	);

	if ( $atts['divider_top_flip'] === 'true' ) $classes_divider_top[]     = 'ux-shape-divider--flip';
	if ( $atts['divider_top_to_front'] === 'true' ) $classes_divider_top[] = 'ux-shape-divider--to-front';
	?>
	<div class="<?php echo esc_attr( implode( ' ', $classes_divider_top ) ); ?>">
		<?php echo file_get_contents( get_template_directory() . '/assets/img/dividers/' . $atts['divider_top'] . '.svg' ); // phpcs:ignore WordPress.WP.AlternativeFunctions, WordPress.Security.EscapeOutput ?>
	</div>
<?php endif; ?>

<?php
if ( ! empty( $atts['divider'] ) && array_key_exists( $atts['divider'], $shape_dividers ) ) :
	$classes_divider = array(
		'ux-shape-divider',
		'ux-shape-divider--bottom',
		'ux-shape-divider--style-' . $atts['divider'],
	);

	if ( $atts['divider_flip'] === 'true' ) $classes_divider[]     = 'ux-shape-divider--flip';
	if ( $atts['divider_to_front'] === 'true' ) $classes_divider[] = 'ux-shape-divider--to-front';
	?>
	<div class="<?php echo esc_attr( implode( ' ', $classes_divider ) ); ?>">
		<?php echo file_get_contents( get_template_directory() . '/assets/img/dividers/' . $atts['divider'] . '.svg' ); // phpcs:ignore WordPress.WP.AlternativeFunctions, WordPress.Security.EscapeOutput ?>
	</div>
<?php endif; // phpcs:enable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable ?>